Skip Menu |

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

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

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

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



Subject: fatpack fails if a path in @INC contains symlinks
Date: Sun, 29 Sep 2013 09:49:18 +0200
To: bug-App-FatPacker [...] rt.cpan.org
From: Danijel Tasov <data [...] cpan.org>
Hi, mentioned that in #toolchain already, so before it get lost: <DaTa> mst: any hint what could be wrong when "fatpack packlists-for `cat fatpacker.trace`" doesn't print anything? <DaTa> well, it's not missing .packlist files, i have a lot of them <DaTa> ah, the problem is, that /home is a symlink to /export/home <DaTa> perl was built with prefix /home/... but Cwd::abs_path results in /export/home/... so, %found is empty <DaTa> withouth Cwd::abs_path it works for me <DaTa> mst: i believe that should fix it: http://data.rbfh.de/p/2013-09-27YcNGuveO-0001-compare-abs_path-with-abs_path.patch <mst> DaTa: huh. you had relative paths in @INC ? <DaTa> mst: i've installed with prefix /home/danielt/... but /home is a symlink to /export/home <DaTa> s/installed/$& perl/ <mst> ahh <mst> that can fail via EACCES though <mst> so I think you actually want abs_path($_)||$_ Well, i'm unsure about that EACCES thing, so I leave it open, the old code already uses abs_path, so that could fail with EACCES too? Danijel Tasov <data@cpan.org>

Message body is not shown because sender requested not to inline it.

This bug also impacts Carton and probably any tip of the toolchain tools using FatPack. Cross filing the bug I just entered for Carton which is most certainly related. https://github.com/miyagawa/carton/issues/155 It's probably not common to install FatPacked toolchain tools into symlinked locations, but not uncommon as /tmp is often symlinked some where else to save space on dev systems where lots of "stuff" get's downloaded and installed by things like cpanm.
Subject: [rt.cpan.org #89022] fatpack fails if a path in @INC contains symlinks
Date: Tue, 9 Aug 2016 21:10:47 +1200
To: bug-App-FatPacker [...] rt.cpan.org
From: Roy Storey <kiwiroy [...] gmail.com>
Hit this bug and have prepared an extended patch (adds testing) to the one already presented. https://github.com/kiwiroy/App-FatPacker/compare/f/89022.patch Kind regards