Skip Menu |

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

Report information
The Basics
Id: 132641
Status: open
Priority: 0/
Queue: Apache-DB

People
Owner: Nobody in particular
Requestors: ntyni [...] debian.org
Cc:
AdminCc:

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



Subject: Fails to build with Perl >= 5.31.6 due to Sighandler_t changes
Hi, as seen in for instance http://www.cpantesters.org/cpan/report/17cbd852-1b45-11ea-972b-ef706694f557 Apache-DB fails to build with recent Perl versions with cc -c -pthread -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.16\" -DXS_VERSION=\"0.16\" -DPIC -fPIC "-I/home/vegeta/perl5/perlbrew/perls/perl-blead/lib/5.31.7/OpenBSD.amd64-openbsd-thread-multi/CORE" DB.c DB.xs:46:47: error: too many arguments to function call, expected 1, have 3 if (ApacheSIGINT) (*ApacheSIGINT)(SIGINT, NULL, NULL); This is probably due to this change in 5.31.6 (quoting perl5136delta.pod): * The OS-level signal handlers and type (Sighandler_t) used by the perl core were declared as having three parameters, but the OS was always told to call them with one argument. This has been fixed by declaring them to have one parameter. See the merge commit "v5.31.5-346-g116e19abbf" for full details. -- Niko Tyni ntyni@debian.org
Hi, I tried to fix this. I will keep this bug open until perl 5.31 is no longer a developer release. You could TRY VERSION 0.18 or useecthe maintained version 5.30. The changes for details.