Skip Menu |

This queue is for tickets about the Apache2-Controller CPAN distribution.

Report information
The Basics
Id: 86473
Status: resolved
Priority: 0/
Queue: Apache2-Controller

People
Owner: Nobody in particular
Requestors: john [...] lariat.co
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: v1.1.0



Subject: Apache2 startup error
Date: Wed, 26 Jun 2013 18:05:09 -0700
To: bug-Apache2-Controller [...] rt.cpan.org
From: John Dunlap <john [...] lariat.co>
Debian 7 64 bit Apache2 2.2.22-13 mod_perl 2.0.7-3 perl 5.14.2-21 [Wed Jun 26 17:40:52 2013] [error] UNIVERSAL->import is deprecated and will be removed in a future perl at /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line 44.\nBEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line 44.\nCompilation failed in require at /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line 64.\nBEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line 64.\nCompilation failed in require at (eval 22) line 2.\n\t...propagated at /usr/share/perl/5.14/base.pm line 93.\nBEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Apache2/Controller/Session.pm line 279.\nCompilation failed in require at /etc/apache2/startup.pl line 21.\nBEGIN failed--compilation aborted at /etc/apache2/startup.pl line 21.\nCompilation failed in require at (eval 2) line 1.\n This didn't happen on Debian 6. The difference appears to be the perl version. Debian 6 was v5.10.1 and Debian 7 is v5.14.2. Any thoughts on how I should proceed?
Try commenting out line 44 in Funk.pm. Does that help? I need to upload a bugfix release I've been meaning to get to. If that helps, please let me know. Any chance you want to write a control file and help me package this for Debian? Mark On Wed Jun 26 21:05:26 2013, john@lariat.co wrote: Show quoted text
> [Wed Jun 26 17:40:52 2013] [error] UNIVERSAL->import is deprecated and will > be removed in a future perl at > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line 44.\nBEGIN > failed--compilation aborted at > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line > 44.\nCompilation failed in require at > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line > 64.\nBEGIN failed--compilation aborted at > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line > 64.\nCompilation failed in require at (eval 22) line 2.
Subject: Re: [rt.cpan.org #86473] Apache2 startup error
Date: Thu, 27 Jun 2013 22:20:40 -0700
To: bug-Apache2-Controller [...] rt.cpan.org
From: John Dunlap <john [...] lariat.co>
I worked around it, for the time being by adding the following just after use base on line 37 use 5.012; no warnings 'deprecated'; I'm open to the idea of writing a control file but I've never done it before now am I entirely sure what they are. Where would I find reference material? On Thu, Jun 27, 2013 at 10:08 PM, Mark Hedges via RT < bug-Apache2-Controller@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=86473 > > > Try commenting out line 44 in Funk.pm. Does that help? > > I need to upload a bugfix release I've been meaning to get to. If that > helps, please let me know. > > Any chance you want to write a control file and help me package this for > Debian? > > Mark > > On Wed Jun 26 21:05:26 2013, john@lariat.co wrote:
> > [Wed Jun 26 17:40:52 2013] [error] UNIVERSAL->import is deprecated and
> will
> > be removed in a future perl at > > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line 44.\nBEGIN > > failed--compilation aborted at > > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line > > 44.\nCompilation failed in require at > > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line > > 64.\nBEGIN failed--compilation aborted at > > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line > > 64.\nCompilation failed in require at (eval 22) line 2.
>
Subject: Re: [rt.cpan.org #86473] Apache2 startup error
Date: Thu, 27 Jun 2013 22:21:17 -0700
To: bug-Apache2-Controller [...] rt.cpan.org
From: John Dunlap <john [...] lariat.co>
*nor am I entirely sure what they are On Thu, Jun 27, 2013 at 10:20 PM, John Dunlap <john@lariat.co> wrote: Show quoted text
> I worked around it, for the time being by adding the following just after > use base on line 37 > > use 5.012; > no warnings 'deprecated'; > > I'm open to the idea of writing a control file but I've never done it > before now am I entirely sure what they are. Where would I find reference > material? > > > > On Thu, Jun 27, 2013 at 10:08 PM, Mark Hedges via RT < > bug-Apache2-Controller@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=86473 > >> >> Try commenting out line 44 in Funk.pm. Does that help? >> >> I need to upload a bugfix release I've been meaning to get to. If that >> helps, please let me know. >> >> Any chance you want to write a control file and help me package this for >> Debian? >> >> Mark >> >> On Wed Jun 26 21:05:26 2013, john@lariat.co wrote:
>> > [Wed Jun 26 17:40:52 2013] [error] UNIVERSAL->import is deprecated and
>> will
>> > be removed in a future perl at >> > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line 44.\nBEGIN >> > failed--compilation aborted at >> > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line >> > 44.\nCompilation failed in require at >> > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line >> > 64.\nBEGIN failed--compilation aborted at >> > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line >> > 64.\nCompilation failed in require at (eval 22) line 2.
>>
> >
What happens if you comment out "use UNIVERSAL qw( isa )" instead? I think this is cruft and not necessary. Please try this. Thank you. To package for Debian, we would create a directory 'debian' in the top of the source dir, and add files 'control' and 'changelog'. control contains the definition of the debian package. changelog has a standard format. Then use `debuild` from the 'devscripts' package to build the source, and it will produce a .deb package. Mark On Fri Jun 28 01:20:54 2013, john@lariat.co wrote: Show quoted text
> I worked around it, for the time being by adding the following just after > use base on line 37 > > use 5.012; > no warnings 'deprecated'; > > I'm open to the idea of writing a control file but I've never done it > before now am I entirely sure what they are. Where would I find reference > material? > > > > On Thu, Jun 27, 2013 at 10:08 PM, Mark Hedges via RT < > bug-Apache2-Controller@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=86473 > > > > > Try commenting out line 44 in Funk.pm. Does that help? > > > > I need to upload a bugfix release I've been meaning to get to. If that > > helps, please let me know. > > > > Any chance you want to write a control file and help me package this for > > Debian? > > > > Mark > > > > On Wed Jun 26 21:05:26 2013, john@lariat.co wrote:
> > > [Wed Jun 26 17:40:52 2013] [error] UNIVERSAL->import is deprecated and
> > will
> > > be removed in a future perl at > > > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line 44.\nBEGIN > > > failed--compilation aborted at > > > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line > > > 44.\nCompilation failed in require at > > > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line > > > 64.\nBEGIN failed--compilation aborted at > > > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm line > > > 64.\nCompilation failed in require at (eval 22) line 2.
> >
Subject: Re: [rt.cpan.org #86473] Apache2 startup error
Date: Wed, 3 Jul 2013 06:29:16 -0700
To: bug-Apache2-Controller [...] rt.cpan.org
From: John Dunlap <john [...] lariat.co>
Yes, commenting out the "use UNIVERSAL qw( isa )" worked! On Fri, Jun 28, 2013 at 8:16 AM, Mark Hedges via RT < bug-Apache2-Controller@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=86473 > > > What happens if you comment out "use UNIVERSAL qw( isa )" instead? I > think this is cruft and not necessary. Please try this. Thank you. > > To package for Debian, we would create a directory 'debian' in the top of > the source dir, and add files 'control' and 'changelog'. control contains > the definition of the debian package. changelog has a standard format. > Then use `debuild` from the 'devscripts' package to build the source, and > it will produce a .deb package. > > Mark > > > On Fri Jun 28 01:20:54 2013, john@lariat.co wrote:
> > I worked around it, for the time being by adding the following just after > > use base on line 37 > > > > use 5.012; > > no warnings 'deprecated'; > > > > I'm open to the idea of writing a control file but I've never done it > > before now am I entirely sure what they are. Where would I find reference > > material? > > > > > > > > On Thu, Jun 27, 2013 at 10:08 PM, Mark Hedges via RT < > > bug-Apache2-Controller@rt.cpan.org> wrote: > >
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=86473 > > > > > > > Try commenting out line 44 in Funk.pm. Does that help? > > > > > > I need to upload a bugfix release I've been meaning to get to. If that > > > helps, please let me know. > > > > > > Any chance you want to write a control file and help me package this
> for
> > > Debian? > > > > > > Mark > > > > > > On Wed Jun 26 21:05:26 2013, john@lariat.co wrote:
> > > > [Wed Jun 26 17:40:52 2013] [error] UNIVERSAL->import is deprecated
> and
> > > will
> > > > be removed in a future perl at > > > > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line
> 44.\nBEGIN
> > > > failed--compilation aborted at > > > > /usr/local/share/perl/5.14.2/Apache2/Controller/Funk.pm line > > > > 44.\nCompilation failed in require at > > > > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm
> line
> > > > 64.\nBEGIN failed--compilation aborted at > > > > /usr/local/share/perl/5.14.2/Apache2/Controller/NonResponseBase.pm
> line
> > > > 64.\nCompilation failed in require at (eval 22) line 2.
> > >
> > > >
Resolved in 1.1.0 by commenting out the line.