Bug#578547: libdata-alias-perl: FTBFS with Perl 5.12: 'Nullsv' undeclared

Niko Tyni ntyni at debian.org
Thu Apr 22 18:12:22 UTC 2010


On Thu, Apr 22, 2010 at 06:15:47PM +0300, Damyan Ivanov wrote:
> -=| Niko Tyni, Tue, Apr 20, 2010 at 08:42:45PM +0300 |=-
> > Package: libdata-alias-perl
> > Version: 1.07-1
> > Severity: important
> > User: debian-perl at lists.debian.org
> > Usertags: perl-5.12-transition
> > Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=36165
> > 
> > This package fails to build with Perl 5.12.0 (currently in experimental):

> That ticket only talks about NullXX being replaced with NULL, which 
> seems to fix only part of the problem. There are also SVt_RV, 
> PL_no_symref and OP_SETSTATE missing.

I got as far as getting it to compile (patch attached) without breaking
5.10.1, but the tests segfault on 5.12.

SVt_RV can be #define'd to SVt_IV on >= 5.11.0. See
/usr/lib/perl/5.12/CORE/sv.h, which would take care of compatibility if
Alias.xs didn't #define PERL_CORE. (I understand this is very much frowned
upon for CPAN modules.)

OP_SETSTATE was disabled before 5.6.0 AFAICS and finally removed
in the 5.11 series.
 http://perl5.git.perl.org/perl.git/commit/38a230cb455fb1aca316039ba1d4aed58c0c60d5

The set of reverse dependencies is rather big, so this is going to be
something of a blocker.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 578547-partial.patch
Type: text/x-diff
Size: 1752 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100422/b25fc143/attachment.patch>


More information about the pkg-perl-maintainers mailing list