develooper Front page | perl.perl5.porters | Postings from July 2018

[perl #133411] Cross-compilation of dist/Storable fails

Thread Previous
From:
Tony Cook via RT
Date:
July 30, 2018 11:01
Subject:
[perl #133411] Cross-compilation of dist/Storable fails
Message ID:
rt-4.0.24-26589-1532948509-762.133411-15-0@perl.org
On Sun, 29 Jul 2018 21:10:00 -0700, philipp@cpan.org wrote:
> I’m the package maintainer for Perl on OpenWrt.
> 
> We’re trying to ship 5.28.0 since 5.26.2 and below have the
> Archive::Tar CVE-2018-12015.
> 
> Unfortunately, dist/Storable/stacksize is not a cross-compilation
> friendly script, since it assumes that one is never cross-compiling.
> Clearly that’s not the case.
> 
> The bug manifests as:
> 
> cd dist/Storable ;
> LD_LIBRARY_PATH=/home/philipp/lede/build_dir/target-
> x86_64_musl/perl/perl-5.28.0 make lib/Storable/Limit.pm
> make[4]: Entering directory '/home/philipp/lede/build_dir/target-
> x86_64_musl/perl/perl-5.28.0/dist/Storable'
> /home/philipp/lede/build_dir/target-x86_64_musl/perl/perl-
> 5.28.0/dist/Storable/../../../../../../staging_dir/hostpkg/usr/bin/perl
> "-I../../lib" -MExtUtils::Command -e 'mkpath' -- ../../lib
> "../../../../../../staging_dir/hostpkg/usr/bin/perl" "-I../../lib" "-
> I../../lib" stacksize --core
> Should not run during miniperl

Please try the attached.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=133411

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About