Source: libdbd-sybase-perl
Version: 1.14-1.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> x86_64-linux-gnu-gcc -c  -I/usr/include -DSYB_LP64 -DNO_BLK=1 
> -I/usr/lib/x86_64-linux-gnu/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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   
> -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\" -fPIC 
> "-I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE"   Sybase.c
> In file included from /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:6227,
>                  from 
> /usr/lib/x86_64-linux-gnu/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/x86_64-linux-gnu/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/x86_64-linux-gnu/perl/5.38/CORE/perl.h:6188:
> /usr/lib/x86_64-linux-gnu/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/x86_64-linux-gnu/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


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/libdbd-sybase-perl_1.14-1.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to