* [Buildroot] [git commit] support/dependencies/dependencies.sh: libopenssl needs perl Math::BigInt on s390 @ 2024-01-10 20:22 Thomas Petazzoni via buildroot 2024-02-07 7:12 ` Thomas Petazzoni via buildroot 0 siblings, 1 reply; 2+ messages in thread From: Thomas Petazzoni via buildroot @ 2024-01-10 20:22 UTC (permalink / raw) To: buildroot commit: https://git.buildroot.net/buildroot/commit/?id=7ea38660e01a87ab70c02e38c78a49202e8e5c21 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master libopenssl needs perl Math::BigInt for s390x asm to avoid the following build failure since commit a5cacb63082b9e58194c4b9f8b2af2c3e38ff15c: Can't locate bigint.pm in @INC (you may need to install the bigint module) (@INC contains: /home/buildroot/autobuild/instance-0/output-1/build/libopenssl-3.2.0/crypto/poly1305/asm/../.. /home/buildroot/autobuild/instance-0/output-1/host/lib/perl /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /home/buildroot/autobuild/instance-0/output-1/build/libopenssl-3.2.0/crypto/poly1305/asm/../../perlasm/s390x.pm line 16. BEGIN failed--compilation aborted at /home/buildroot/autobuild/instance-0/output-1/build/libopenssl-3.2.0/crypto/poly1305/asm/../../perlasm/s390x.pm line 16. Fixes: - http://autobuild.buildroot.org/results/986cb07d368c7214ffbc9d60c378e7ac00797f00 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- support/dependencies/dependencies.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh index 6e7d067ccd..3d83cb3285 100755 --- a/support/dependencies/dependencies.sh +++ b/support/dependencies/dependencies.sh @@ -282,6 +282,10 @@ required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-auto required_perl_modules="$required_perl_modules FindBin" # Used by (host-)libopenssl required_perl_modules="$required_perl_modules IPC::Cmd" # Used by (host-)libopenssl +if grep -q ^BR2_PACKAGE_LIBOPENSSL=y $BR2_CONFIG && grep -q ^BR2_s390x=y $BR2_CONFIG ; then + required_perl_modules="$required_perl_modules Math::BigInt" +fi + if grep -q ^BR2_PACKAGE_MOSH=y $BR2_CONFIG ; then required_perl_modules="$required_perl_modules diagnostics" fi _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [git commit] support/dependencies/dependencies.sh: libopenssl needs perl Math::BigInt on s390 2024-01-10 20:22 [Buildroot] [git commit] support/dependencies/dependencies.sh: libopenssl needs perl Math::BigInt on s390 Thomas Petazzoni via buildroot @ 2024-02-07 7:12 ` Thomas Petazzoni via buildroot 0 siblings, 0 replies; 2+ messages in thread From: Thomas Petazzoni via buildroot @ 2024-02-07 7:12 UTC (permalink / raw) To: Thomas Petazzoni via buildroot; +Cc: Fabrice Fontaine Hello Fabrice, It looks like this patch isn't sufficient (or there is some other issue?) because the issue pops up in the autobuilders: http://autobuild.buildroot.net/results/dfd/dfdb7c1892f7ee7889496d28957a7a61b19571aa/build-end.log Could you have a look? Thomas On Wed, 10 Jan 2024 21:22:57 +0100 Thomas Petazzoni via buildroot <buildroot@buildroot.org> wrote: > commit: https://git.buildroot.net/buildroot/commit/?id=7ea38660e01a87ab70c02e38c78a49202e8e5c21 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master > > libopenssl needs perl Math::BigInt for s390x asm to avoid the following > build failure since commit a5cacb63082b9e58194c4b9f8b2af2c3e38ff15c: > > Can't locate bigint.pm in @INC (you may need to install the bigint module) (@INC contains: /home/buildroot/autobuild/instance-0/output-1/build/libopenssl-3.2.0/crypto/poly1305/asm/../.. /home/buildroot/autobuild/instance-0/output-1/host/lib/perl /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /home/buildroot/autobuild/instance-0/output-1/build/libopenssl-3.2.0/crypto/poly1305/asm/../../perlasm/s390x.pm line 16. > BEGIN failed--compilation aborted at /home/buildroot/autobuild/instance-0/output-1/build/libopenssl-3.2.0/crypto/poly1305/asm/../../perlasm/s390x.pm line 16. > > Fixes: > - http://autobuild.buildroot.org/results/986cb07d368c7214ffbc9d60c378e7ac00797f00 > > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> > --- > support/dependencies/dependencies.sh | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/support/dependencies/dependencies.sh b/support/dependencies/dependencies.sh > index 6e7d067ccd..3d83cb3285 100755 > --- a/support/dependencies/dependencies.sh > +++ b/support/dependencies/dependencies.sh > @@ -282,6 +282,10 @@ required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-auto > required_perl_modules="$required_perl_modules FindBin" # Used by (host-)libopenssl > required_perl_modules="$required_perl_modules IPC::Cmd" # Used by (host-)libopenssl > > +if grep -q ^BR2_PACKAGE_LIBOPENSSL=y $BR2_CONFIG && grep -q ^BR2_s390x=y $BR2_CONFIG ; then > + required_perl_modules="$required_perl_modules Math::BigInt" > +fi > + > if grep -q ^BR2_PACKAGE_MOSH=y $BR2_CONFIG ; then > required_perl_modules="$required_perl_modules diagnostics" > fi > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-07 7:12 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-01-10 20:22 [Buildroot] [git commit] support/dependencies/dependencies.sh: libopenssl needs perl Math::BigInt on s390 Thomas Petazzoni via buildroot 2024-02-07 7:12 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.