Skip Menu |

This queue is for tickets about the App-FatPacker CPAN distribution.

Report information
The Basics
Id: 94395
Status: open
Priority: 0/
Queue: App-FatPacker

People
Owner: Nobody in particular
Requestors: sharyanto [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.010001
Fixed in: (no value)



Subject: doesn't work with perlbrew?
Or is is that perlbrew doesn't work with fatpacker? :) The packlists-for command will simply output nothing under perlbrew. Example: $ perlbrew switch 5.18.2 $ which perl /home/s1/perl5/perlbrew/perls/perl-5.18.2/bin/perl $ fatpack packlists-for Perinci/CmdLine.pm $ find | grep \.packlist | grep Perinci/CmdLine ./perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux/auto/Perinci/CmdLine/.packlist ./perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/auto/Perinci/CmdLine/.packlist ./perlbrew/perls/perl-5.12.5/lib/site_perl/5.12.5/x86_64-linux/auto/Perinci/CmdLine/.packlist ./lib/perl5/x86_64-linux/auto/Perinci/CmdLine/.packlist ./lib/perl5/x86_64-linux-gnu-thread-multi/auto/Perinci/CmdLine/.packlist $ fatpack packlists-for Perinci/CmdLine.pm $ perlbrew off perlbrew is turned off. $ fatpack packlists-for Perinci/CmdLine.pm /usr/local/lib/perl/5.18.2/auto/Perinci/CmdLine/.packlist Regards, Steven
I've hit the same bug.
On Wed Mar 30 07:25:53 2016, ABRAXXA wrote: Show quoted text
> I've hit the same bug.
Hm. FatPacker does - my @search = grep -d $_, map catdir($_, 'auto'), @INC; so the question is, why isn't the relevant directory in @INC, and does that mean we need to manually add the archdir onto @INC entries or should they already exist? (is fatpacker seeing the perlbrewed perl?)
I haven't been able to reproduce this. Using a fresh perlbrew install of 5.18.2, I installed App::FatPacker and Perinci::CmdLine. Running `fatpack packlists-for Perinci/CmdLine.pm` gives the correct .packlist file.