Skip Menu |

This queue is for tickets about the XML-Chain CPAN distribution.

Report information
The Basics
Id: 127733
Status: resolved
Priority: 0/
Queue: XML-Chain

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

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



Subject: Undeclared configure_requires dependency Path::Class
If Path::Class is not installed, then automatical build fails: ... Output from '/usr/local/bin/perl5 Build.PL': Can't locate Path/Class.pm in @INC (you may need to install the Path::Class module) (@INC contains: /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05-EtE4Ie/_build/lib /var/tmp/cpansmoker-1023/2018111822/CPAN-Reporter-lib-bnZk /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24 .) at /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05-EtE4Ie/_build/lib/XML/Chain/MB_Builder.pm line 5. BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05-EtE4Ie/_build/lib/XML/Chain/MB_Builder.pm line 5. Compilation failed in require at (eval 13) line 2. BEGIN failed--compilation aborted at (eval 13) line 2. ... It should be declared as configure_requires.
Hi, Path::Class is in build_requires since 2ff8c761 (Feb 25 15:38:20 2017). How/When did you got that error? Best regards Jozef On Sun Nov 18 17:21:30 2018, SREZIC wrote: Show quoted text
> If Path::Class is not installed, then automatical build fails: > > ... > Output from '/usr/local/bin/perl5 Build.PL': > > Can't locate Path/Class.pm in @INC (you may need to install the > Path::Class module) (@INC contains: > /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05-EtE4Ie/_build/lib > /var/tmp/cpansmoker-1023/2018111822/CPAN-Reporter-lib-bnZk > /usr/local/lib/perl5/site_perl/mach/5.24 > /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach > /usr/local/lib/perl5/5.24 .) at > /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05- > EtE4Ie/_build/lib/XML/Chain/MB_Builder.pm line 5. > BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05- > EtE4Ie/_build/lib/XML/Chain/MB_Builder.pm line 5. > Compilation failed in require at (eval 13) line 2. > BEGIN failed--compilation aborted at (eval 13) line 2. > ... > > > It should be declared as configure_requires.
build_requires is not enough --- as you see below, it's already Build.PL which needs Path::Class, so it has to be in configure_requires. It should be easily reproducible in a fresh perl installation without any CPAN modules installed. On 2018-11-20 13:11:05, JKUTEJ wrote: Show quoted text
> Hi, > > Path::Class is in build_requires since 2ff8c761 (Feb 25 15:38:20 2017). > > How/When did you got that error? > > Best regards > Jozef > > > On Sun Nov 18 17:21:30 2018, SREZIC wrote:
> > If Path::Class is not installed, then automatical build fails: > > > > ... > > Output from '/usr/local/bin/perl5 Build.PL': > > > > Can't locate Path/Class.pm in @INC (you may need to install the > > Path::Class module) (@INC contains: > > /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05-EtE4Ie/_build/lib > > /var/tmp/cpansmoker-1023/2018111822/CPAN-Reporter-lib-bnZk > > /usr/local/lib/perl5/site_perl/mach/5.24 > > /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach > > /usr/local/lib/perl5/5.24 .) at > > /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05- > > EtE4Ie/_build/lib/XML/Chain/MB_Builder.pm line 5. > > BEGIN failed--compilation aborted at > > /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05- > > EtE4Ie/_build/lib/XML/Chain/MB_Builder.pm line 5. > > Compilation failed in require at (eval 13) line 2. > > BEGIN failed--compilation aborted at (eval 13) line 2. > > ... > > > > > > It should be declared as configure_requires.
> >
Oh ic. Thanks! Is now fixed in 0.06. Both Path::Class and Pod::Simple::Text are needed only to create README file at configure_requires time, needed only by me when creating distribution, so I solved it by string eval block and uploaded 0.06 version to CPAN. Best regards Jozef On Sun Nov 18 17:21:30 2018, SREZIC wrote: Show quoted text
> If Path::Class is not installed, then automatical build fails: > > ... > Output from '/usr/local/bin/perl5 Build.PL': > > Can't locate Path/Class.pm in @INC (you may need to install the > Path::Class module) (@INC contains: > /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05-EtE4Ie/_build/lib > /var/tmp/cpansmoker-1023/2018111822/CPAN-Reporter-lib-bnZk > /usr/local/lib/perl5/site_perl/mach/5.24 > /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.24/mach > /usr/local/lib/perl5/5.24 .) at > /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05- > EtE4Ie/_build/lib/XML/Chain/MB_Builder.pm line 5. > BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2018111822/XML-Chain-0.05- > EtE4Ie/_build/lib/XML/Chain/MB_Builder.pm line 5. > Compilation failed in require at (eval 13) line 2. > BEGIN failed--compilation aborted at (eval 13) line 2. > ... > > > It should be declared as configure_requires.