Bug#719578: libcdk-perl: FTBFS with Perl 5.18: error: too few arguments to function 'sv2dtype'

Niko Tyni ntyni at debian.org
Tue Aug 13 09:11:43 UTC 2013


Package: libcdk-perl
Version: 20130717-1 
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.18-transition

This package fails to build on Perl 5.18 (currently in experimental):

  /usr/bin/perl /usr/share/perl/5.18/ExtUtils/xsubpp  -typemap /usr/share/perl/5.18/ExtUtils/typemap -typemap typemap  Cdk.xs > Cdk.xsc && mv Cdk.xsc Cdk.c
  gcc  -c  -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/cdk -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -DVERSION=\"5.20130717\" -DXS_VERSION=\"5.20130717\" -fPIC "-I/usr/lib/perl/5.18/CORE"   Cdk.c
  Cdk.xs: In function 'XS_Cdk__Menu_New':
  Cdk.xs:2378:5: warning: passing argument 2 of 'newCDKMenu' from incompatible pointer type [enabled by default]
       subtitleattr);
       ^
  In file included from /usr/include/cdk/cdk.h:298:0,
                   from Cdk.xs:15:
  /usr/include/cdk/menu.h:92:10: note: expected 'char * (*)[98]' but argument is of type 'const char * (*)[98]'
   CDKMENU *newCDKMenu (
            ^
  Cdk.c: In function 'XS_Cdk__Entry_New':
  Cdk.c:5576:2: error: too few arguments to function 'sv2dtype'
    int int_disptype = sv2dtype (/* not a parameter */);
    ^
  Cdk.xs:666:1: note: declared here
   sv2dtype(SV * sv)
   ^
  Cdk.c: In function 'XS_Cdk__Mentry_New':
  Cdk.c:6497:2: error: too few arguments to function 'sv2dtype'
    int int_disptype = sv2dtype (/* not a parameter */);
    ^
  Cdk.xs:666:1: note: declared here
   sv2dtype(SV * sv)
   ^
  make[1]: *** [Cdk.o] Error 1

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list