Bug#825424: libdist-zilla-plugin-test-podspelling-perl: FTBFS: Can't locate Path/Class.pm in @INC

gregor herrmann gregoa at debian.org
Thu May 26 21:37:30 UTC 2016


On Thu, 26 May 2016 22:57:49 +0300, Niko Tyni wrote:

> Package: libdist-zilla-plugin-test-podspelling-perl
> Version: 2.007000-2
> Severity: serious
> 
> This package fails to build from source on current sid/amd64:
> 
>   t/00-report-prereqs.t .. 
>   1..1
>   ok 1
>   ok
>   ->subdir called on a Dist::Zilla::Path object; this will cease to work in Dist::Zilla v7; downstream code should be updated to use Path::Tiny API, not Path::Class at t/attributes.t line 40.
>   Can't locate Path/Class.pm in @INC (you may need to install the Path::Class module) (@INC contains: /<<PKGBUILDDIR>>/blib/arch /<<PKGBUILDDIR>>/blib/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.2 /usr/local/share/perl/5.22.2 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Dist/Zilla/Path.pm line 47, <DATA> line 13.
>   t/attributes.t ......... 

Interesting bug. My findings so far:
- libdist-zilla-plugin-test-podspelling-perl doesn't use Path::Class
- Dist::Zilla::Path issues the above warning and then tries to load
  Path::Class (called from t/attributes.t with ->subdir here)
- Dist::Zilla has dropped (upstream and in Debian) the Path::Class
  dependency

Forwarding the issue upstream for a proper fix.


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Element Of Crime: Bring den Vorschlaghammer mit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160526/5c396843/attachment.sig>


More information about the pkg-perl-maintainers mailing list