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.