• Bug#1065789: libdbd-sybase-perl: FTBFS on arm{el,hf}: Sybase.xs:83:32:

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 22:30:01 2024
    Source: libdbd-sybase-perl
    Version: 1.14-1.1
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=libdbd-sybase-perl&arch=armhf&ver=1.14-1.1%2Bb2&stamp=1709894119&raw=0

    arm-linux-gnueabihf-gcc -c -I/usr/include -DNO_BLK=1 -I/usr/lib/arm-linux-gnueabihf/perl5/5.38/auto/DBI -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=
    implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"
    1.14\" -DXS_VERSION=\"1.14\" -fPIC "-I/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE" Sybase.c
    In file included from /usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/perl.h:6227,
    from /usr/lib/arm-linux-gnueabihf/perl5/5.38/auto/DBI/DBIXS.h:23,
    from Sybase.h:16,
    from Sybase.xs:14:
    Sybase.xs: In function ‘XS_DBD__Sybase__db_ping’:
    Sybase.xs:83:32: error: implicit declaration of function ‘syb_ping’ [-Werror=implicit-function-declaration]
    83 | ST(0) = sv_2mortal(newSViv(syb_ping(dbh, imp_dbh)));
    | ^~~~~~~~ /usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/embed.h:612:71: note: in definition of macro ‘sv_2mortal’
    612 | # define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
    | ^ Sybase.xs:83:24: note: in expansion of macro ‘newSViv’
    83 | ST(0) = sv_2mortal(newSViv(syb_ping(dbh, imp_dbh)));
    | ^~~~~~~
    Sybase.xs: In function ‘XS_DBD__Sybase__st_cancel’:
    Sybase.xs:95:13: error: implicit declaration of function ‘syb_st_cancel’ [-Werror=implicit-function-declaration]
    95 | ST(0) = syb_st_cancel(sth, imp_sth) ? &PL_sv_yes : &PL_sv_no;
    | ^~~~~~~~~~~~~
    ./Sybase.xsi: In function ‘XS_DBD__Sybase__db_selectrow_arrayref’: ./Sybase.xsi:234:9: warning: ‘Perl_dowantarray’ is deprecated [-Wdeprecated-declarations]
    234 | if (GIMME == G_SCALAR)
    | ^~
    In file included from /usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/perl.h:6188: /usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/proto.h:1019:1: note: declared here
    1019 | Perl_dowantarray(pTHX)
    | ^~~~~~~~~~~~~~~~
    ./Sybase.xsi:240:9: warning: ‘Perl_dowantarray’ is deprecated [-Wdeprecated-declarations]
    240 | if (GIMME == G_SCALAR)
    | ^~
    /usr/lib/arm-linux-gnueabihf/perl/5.38/CORE/proto.h:1019:1: note: declared here
    1019 | Perl_dowantarray(pTHX)
    | ^~~~~~~~~~~~~~~~
    cc1: some warnings being treated as errors
    make[1]: *** [Makefile:350: Sybase.o] Error 1

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)