Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Authentication-Credential-OpenID CPAN distribution.

Report information
The Basics
Id: 104656
Status: rejected
Priority: 0/
Queue: Catalyst-Plugin-Authentication-Credential-OpenID

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

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



From: gregoa [...] cpan.org
Subject: libcatalyst-plugin-authentication-credential-openid-perl: FTBFS: Bareword "use_test_base" not allowed
We have the following bug reported to the Debian package of Catalyst-Plugin-Authentication-Credential-OpenID (https://bugs.debian.org/786667): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- Package: libcatalyst-plugin-authentication-credential-openid-perl Version: 0.03+rp-2 Severity: serious User: debian-perl@lists.debian.org Usertags: bcn2015 As noticed by the reproducible builds team, this package fails to build on current sid. perl Makefile.PL INSTALLDIRS=vendor Bareword "use_test_base" not allowed while "strict subs" in use at Makefile.PL line 10. Execution of Makefile.PL aborted due to compilation errors. include /«BUILDDIR»/libcatalyst-plugin-authentication-credential-openid-perl-0.03+rp/inc/Module/Install.pm dh_auto_configure: perl Makefile.PL INSTALLDIRS=vendor returned exit code 255 make: *** [build] Error 2 debian/rules:4: recipe for target 'build' failed -- Niko Tyni ntyni@debian.org ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group
The following seems to work: --- a/Makefile.PL +++ b/Makefile.PL @@ -7,6 +7,6 @@ requires 'UNIVERSAL::require'; build_requires 'Test::More'; -use_test_base; +build_requires 'Test::Base'; auto_include; WriteAll;
Subject: Re: [rt.cpan.org #104656] libcatalyst-plugin-authentication-credential-openid-perl: FTBFS: Bareword "use_test_base" not allowed
Date: Sun, 24 May 2015 11:27:16 +0000
To: bug-Catalyst-Plugin-Authentication-Credential-OpenID [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
No, they're included in inc/ and it should be pushed via using inc::Module::Install. You're running Makefile.PL in a way that is not supposed (running from a git checkout?) and hence the error. On Sun, May 24, 2015 at 7:55 PM gregor herrmann via RT < bug-Catalyst-Plugin-Authentication-Credential-OpenID@rt.cpan.org> wrote: Show quoted text
> Queue: Catalyst-Plugin-Authentication-Credential-OpenID > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=104656 > > > The following seems to work: > > --- a/Makefile.PL > +++ b/Makefile.PL > @@ -7,6 +7,6 @@ > requires 'UNIVERSAL::require'; > > build_requires 'Test::More'; > -use_test_base; > +build_requires 'Test::Base'; > auto_include; > WriteAll; > >
As discussed on IRC, that's because we're messing with inc/ in the package in Debian. Sorry for the noise; marking as rejected. Cheers, gregor