Skip Menu |

This queue is for tickets about the Apache-DB CPAN distribution.

Report information
The Basics
Id: 33475
Status: resolved
Priority: 0/
Queue: Apache-DB

People
Owner: Nobody in particular
Requestors: ivan-debian [...] 420.am
Cc:
AdminCc:

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



Subject: [ntyni@debian.org: Bug#466734: libapache-db-perl: FTBFS with Perl 5.10]
Date: Wed, 20 Feb 2008 14:59:03 -0800
To: bug-Apache-DB [...] rt.cpan.org
From: Ivan Kohler <ivan-debian [...] 420.am>
Hi, I'm the maintainer of the Debian Apache::DB package. Folks are now testing building all modules we distribute against perl 5.10. Apache::DB 0.13 does not build with Perl 5.10 on Debian sid (unstable). /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap DB.xs > DB.xsc && mv DB.xsc DB.c cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC "-I/usr/lib/perl/5.10/CORE" DB.c DB.xs: In function 'XS_DB_ApacheSIGINT': DB.xs:59: error: too few arguments to function 'ApacheSIGINT' make[1]: *** [DB.o] Error 1 -- _ivan
Subject: Re: [rt.cpan.org #33475] [ntyni@debian.org: Bug#466734: libapache-db-perl: FTBFS with Perl 5.10]
Date: Thu, 21 Feb 2008 12:08:58 -0600
To: bug-Apache-DB [...] rt.cpan.org
From: Frank Wiles <frank [...] wiles.org>
On Wed, 20 Feb 2008 18:00:05 -0500 "ivan-debian@420.am via RT" <bug-Apache-DB@rt.cpan.org> wrote: Show quoted text
> > Wed Feb 20 18:00:03 2008: Request 33475 was acted upon. > Transaction: Ticket created by ivan-debian@420.am > Queue: Apache-DB > Subject: [ntyni@debian.org: Bug#466734: libapache-db-perl: FTBFS > with Perl 5.10] Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: ivan-debian@420.am > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=33475 > > > > Hi, > > I'm the maintainer of the Debian Apache::DB package. Folks are now > testing building all modules we distribute against perl 5.10. > > Apache::DB 0.13 does not build with Perl 5.10 on Debian sid > (unstable). > > /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp > -typemap /usr/share/perl/5.10/ExtUtils/typemap DB.xs > DB.xsc && mv > DB.xsc DB.c cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O2 -Wall -DVERSION=\"0.10\" -DXS_VERSION= > \"0.10\" -fPIC "-I/usr/lib/perl/5.10/CORE" DB.c DB.xs: In function > 'XS_DB_ApacheSIGINT': DB.xs:59: error: too few arguments to function > 'ApacheSIGINT' make[1]: *** [DB.o] Error 1
Hi Ivan, Yeah there is a bug with Apache::DB on 5.10, it's been reported to me. I just haven't had a spare moment to look into it yet. I hope to have time next week to get it figured out. ------------------------------------------------------- Frank Wiles, Revolution Systems, LLC. Personal : frank@wiles.org http://www.wiles.org Work : frank@revsys.com http://www.revsys.com
From: ivan-pause [...] 420.am
On Thu Feb 21 13:09:53 2008, frank@wiles.org wrote: Show quoted text
> > Yeah there is a bug with Apache::DB on 5.10, it's been reported to > me. I just haven't had a spare moment to look into it yet. I > hope to have time next week to get it figured out.
Small patch from Niko Tyni follows; please review at your convenience. diff --git a/DB.xs b/DB.xs index 151b1ca..6e2f128 100644 --- a/DB.xs +++ b/DB.xs @@ -56,4 +56,8 @@ void ApacheSIGINT(...) CODE: +#if ((PERL_REVISION == 5) && (PERL_VERSION >= 10)) + if (ApacheSIGINT) (*ApacheSIGINT)(SIGINT, NULL, NULL); +#else if (ApacheSIGINT) (*ApacheSIGINT)(SIGINT); +#endif
Patch added to support Perl 5.10. Thanks!