[OpenWrt-Devel] Fwd: Issues porting 5.28.0 to Openwrt

Philip Prindeville philipp_subx at redfish-solutions.com
Tue Jul 3 16:59:49 EDT 2018

Anyone got any insight into this one?

One of the characteristics of Perl versus other OpenWrt projects is each new version is guaranteed to break in an entirely different way you’ve never seen before.

I’ve reached out to the Storable author but haven’t heard back yet.

Maybe someone in the community has an idea that’s not occurred to me?


> Begin forwarded message:
> From: Philip Prindeville <philipp at cpan.org>
> Subject: Re: Issues porting 5.28.0 to Openwrt
> Date: July 1, 2018 at 10:07:09 PM MDT
> To: Karl Williamson <public at khwilliamson.com>
> Cc: perl5-porters at perl.org
>> On Jul 1, 2018, at 7:26 PM, Karl Williamson <public at khwilliamson.com> wrote:
>> On 07/01/2018 03:12 PM, Philip Prindeville wrote:
>>> Hi.
>>> I’m one of the two maintainers for Perl on Openwrt.
>>> I’m trying to update to 5.28.0, and encountered a couple of issues, and sent some patches for those issues a little while ago.
>>> But even with those changes, plus the updates here:
>>> https://github.com/openwrt/packages/compare/master...pprindeville:perl-5.28.0
>>> I’m still seeing the following breakage:
>> I'm thinking if you try the latest blead, as of d36adde059ed1c4f7af210b4f9fc3a7bd2d7d343
>> these problems will disappear.
> Hi Karl,
> Alas, we’re required to stick to numbered releases, even if patched.
> But I captured the patch you mentioned, applied it, and now things are building.
> Since we’re cross building, will build a host miniperl, and that use that during the target build phases.
> Getting a little further.
> Now I’m seeing:
> 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
> Makefile:283: recipe for target 'lib/Storable/Limit.pm' failed
> make[4]: *** [lib/Storable/Limit.pm] Error 255
> make[4]: Leaving directory '/home/philipp/lede/build_dir/target-x86_64_musl/perl/perl-5.28.0/dist/Storable'
> Makefile:446: recipe for target 'dist/Storable/lib/Storable/Limit.pm' failed
> make[3]: *** [dist/Storable/lib/Storable/Limit.pm] Error 2
> I’ll dig at this more tomorrow.
> Thanks for helping me get past the compilation issues.
> -Philip
>> This should also make your first patch moot.
>>> [snip]

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list