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

Damyan Ivanov dmn at debian.org
Thu Apr 22 15:15:47 UTC 2010


-=| 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):
> 
>  cc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/incl
>  ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" -fPIC "-I
>  /usr/lib/perl/5.12/CORE"   Alias.c
>  Alias.xs: In function 'da_localize_gvar':
>  Alias.xs:369: error: 'Nullsv' undeclared (first use in this function)
>  Alias.xs:369: error: (Each undeclared identifier is reported only once
>  Alias.xs:369: error: for each function it appears in.)
>  Alias.xs: In function 'da_refgen':
>  Alias.xs:376: error: 'SVt_RV' undeclared (first use in this function)
>  Alias.xs: In function 'DataAlias_pp_rv2sv':
>  Alias.xs:690: warning: 'PL_no_symref' is deprecated (declared at /usr/lib/perl/5.12/CORE/perl.h:4241)
>  Alias.xs: In function 'DataAlias_pp_rv2gv':
>  Alias.xs:747: warning: 'PL_no_symref' is deprecated (declared at /usr/lib/perl/5.12/CORE/perl.h:4241)
>  Alias.xs: In function 'DataAlias_pp_return':
>  Alias.xs:1251: error: 'Nullsv' undeclared (first use in this function)
>  Alias.xs: In function 'da_transform':
>  Alias.xs:1436: error: 'Nullop' undeclared (first use in this function)
>  Alias.xs:1450: error: 'OP_SETSTATE' undeclared (first use in this function)
>  Alias.xs: In function 'da_peep2':
>  Alias.xs:1589: error: 'OP_SETSTATE' undeclared (first use in this function)
>  Alias.xs: In function 'da_ck_entersub':
>  Alias.xs:1767: error: 'Nullop' undeclared (first use in this function)
>  make[1]: *** [Alias.o] Error 1
>  
> This is also [rt.cpan.org #36165] with no action since May 2008.
> As mentioned in the ticket, the fix may well be quite easy.

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 tried replacing SVt_RV with SVt_IV, but the tests failed under 
5.10.1. Perhaps I misunderstood perl5120delta.

No idea what to replace the other two with.





More information about the pkg-perl-maintainers mailing list