Bug#787456: libimager-perl: FTBFS with perl 5.22
Dominic Hargreaves
dom at earth.li
Mon Jun 1 19:24:34 UTC 2015
Source: libimager-perl
Version: 1.000+dfsg-2
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.22-transition
Tags: fixed-upstream
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=98234
This package FTBFS with perl 5.22:
x86_64-linux-gnu-gcc -c -I/usr/include/freetype2 -D_REENTRANT -D_GNU_SOURCE -DD
EBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURC
E -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector-strong -Wformat -Werror=format
-security -D_FORTIFY_SOURCE=2 -DVERSION=\"1.000\" -DXS_VERSION=\"1.000\" -fPIC
"-I/usr/lib/x86_64-linux-gnu/perl/5.22.0/CORE" -DOS_linux perlio.c
In file included from /usr/lib/x86_64-linux-gnu/perl/5.22.0/CORE/perl.h:5541:0,
from perlio.c:7:
/usr/lib/x86_64-linux-gnu/perl/5.22.0/CORE/perl.h:164:16: error: expected ')' be
fore 'PerlInterpreter'
# define tTHX PerlInterpreter*
^
/usr/lib/x86_64-linux-gnu/perl/5.22.0/CORE/embed.h:355:48: note: in definition o
f macro 'my_strerror'
#define my_strerror(a) Perl_my_strerror(aTHX_ a)
^
/usr/lib/x86_64-linux-gnu/perl/5.22.0/CORE/perl.h:165:17: note: in expansion of
macro 'tTHX'
# define pTHX tTHX my_perl PERL_UNUSED_DECL
^
/usr/lib/x86_64-linux-gnu/perl/5.22.0/CORE/perl.h:178:18: note: in expansion of
macro 'pTHX'
# define pTHX_ pTHX,
^
perlio.c:21:32: note: in expansion of macro 'pTHX_'
static const char *my_strerror(pTHX_ int err);
^
perlio.c: In function 'perlio_reader':
/usr/lib/x86_64-linux-gnu/perl/5.22.0/CORE/perl.h:166:16: warning: passing argum
ent 2 of 'Perl_my_strerror' makes integer from pointer without a cast
# define aTHX my_perl
^
/usr/lib/x86_64-linux-gnu/perl/5.22.0/CORE/embed.h:355:48: note: in definition o
f macro 'my_strerror'
#define my_strerror(a) Perl_my_strerror(aTHX_ a)
^
/usr/lib/x86_64-linux-gnu/perl/5.22.0/CORE/perl.h:179:18: note: in expansion of macro 'aTHX'
# define aTHX_ aTHX,
..
This is fixed in 1.001 and above.
Cheers,
Dominic.
More information about the pkg-perl-maintainers
mailing list