Skip Menu |

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

Report information
The Basics
Id: 84414
Status: resolved
Priority: 0/
Queue: App-FatPacker

Owner: ether [...]
Requestors: miyagawa [...]

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

From miyagawa [...] Wed Apr 3 17: 52:28 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-5.396 tagged_above=-99.9 required=10 tests=[AWL=0.824, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <CADGpoaOPZ9EjQyzSGsqCQ20wea3o4WmFhd6v7OLazz1zrAH=GA [...]>
X-Received: by with SMTP id lz7mr5452486wjb.10.1365025933248; Wed, 03 Apr 2013 14:52:13 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -5.396
Received: from localhost (localhost []) by (Postfix) with ESMTP id 5DA45240BE6 for <cpan-bug+app-fatpacker [...]>; Wed, 3 Apr 2013 17:52:28 -0400 (EDT)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id oeUUqiCqTelA for <cpan-bug+app-fatpacker [...]>; Wed, 3 Apr 2013 17:52:26 -0400 (EDT)
Received: from ( []) by (Postfix) with SMTP id B98F1240B63 for <bug-app-fatpacker [...]>; Wed, 3 Apr 2013 17:52:25 -0400 (EDT)
Received: (qmail 17885 invoked by uid 103); 3 Apr 2013 21:52:24 -0000
Received: from ( by with QMQP; 3 Apr 2013 21:52:24 -0000
Received: from (HELO ( by (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Wed, 03 Apr 2013 14:52:16 -0700
Received: by with SMTP id hm14so2003419wib.16 for <bug-app-fatpacker [...]>; Wed, 03 Apr 2013 14:52:13 -0700 (PDT)
Received: by with HTTP; Wed, 3 Apr 2013 14:45:48 -0700 (PDT)
Authentication-Results: (amavisd-new); dkim=pass header.i= [...]
Delivered-To: cpan-bug+app-fatpacker [...]
Subject: deal with relative paths in @INC
Return-Path: <miyagawa [...]>
X-RT-Mail-Extension: app-fatpacker
X-Original-To: cpan-bug+app-fatpacker [...]
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=8lUgnD4qepu8oTaRO7hznaxMn6H9fxN51NYKr16b0R4=; b=VhA+eWG/FfpFrEc3vYJfAFVvJRpMRotETYy6cLU/VCvBd4Cf26l6IjoVCijvVn6sGB Ia1uJvnGN7FlkmNG4IxS0tdxD0GRxaQ9KA4tNAO7OTiKkCYpZMhuc8heaMl5MQ2PIiCb T+DcTcsb6/neWK299oy0KYKVrLRC+PgMkOJ6n54zOWkFzKK3cMXVdh7AHYLGwO5/u0+q TV5yaJDcl5KJ6daU9mODpOrZGNZdYU2GpDpV/8Ticf3xZHlmrrmg12xxUUvC+y1CsKDK K1XmxUPkJMZEGp3QcW92HDU3V89jInxnustWLESbEJp7EXWaRy5Pp24U2QVFke5wDhDU ztGg==
Date: Wed, 3 Apr 2013 14:45:48 -0700
To: bug-app-fatpacker <bug-app-fatpacker [...]>
From: Tatsuhiko Miyagawa <miyagawa [...]>
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 1140
Download (untitled) / with headers
text/plain 1.1k
When there's a relative path in @INC (e.g. with -Mlib=./local/lib/perl5), FatPacker died with `Can't open local/lib/perl5/.../.packlist` even if the file exists, because of File::Find's chdir, and $File::Find::name is yet relative. This patch adds 'no_chdir' option to File::Find to stop chdir'ing to the directories, and then expand the %INC entries to fullpath with Cwd::abs_path, so that it will hopefully match with what you have in .packlist content. Reproduce: cpanm -l local Plack perl -Mlib=local/lib/perl5 -S fatpack packlists-for Before this patch: Can't open local/lib/perl5/darwin-2level/auto/Plack/.packlist: No such file or directory at /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/App/ line 32. BEGIN failed--compilation aborted at /Users/miyagawa/perl5/perlbrew/perls/perl-5.16.2/bin/fatpack line 3. After this patch: local/lib/perl5/darwin-2level/auto/Plack/.packlist Patch: Merge: git pull packlist-abs -- Tatsuhiko Miyagawa
MIME-Version: 1.0
In-Reply-To: <CADGpoaOPZ9EjQyzSGsqCQ20wea3o4WmFhd6v7OLazz1zrAH=GA [...]>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CADGpoaOPZ9EjQyzSGsqCQ20wea3o4WmFhd6v7OLazz1zrAH=GA [...]>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.14-699-1374894493-1005.84414-0-0 [...]>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 29
applied and released, thanks!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to