Source: libnet-ldapapi-perl
Version: 3.0.7-3
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 -I/usr/include/sasl -I/usr/include 
> -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=\"3.0.7\" -DXS_VERSION=\"3.0.7\" -fPIC 
> "-I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE"  -DOPENLDAP LDAPapi.c
> LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_bind_s’:
> LDAPapi.c:624:18: error: implicit declaration of function ‘ldap_bind_s’ 
> [-Werror=implicit-function-declaration]
>   624 |         RETVAL = ldap_bind_s(ldp, dn, passwd, authmethod);
>       |                  ^~~~~~~~~~~
> LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_search_s’:
> LDAPapi.xs:487:17: error: implicit declaration of function ‘ldap_search_s’; 
> did you mean ‘ldap_search_ext’? [-Werror=implicit-function-declaration]
>   487 |        RETVAL = ldap_search_s(ldp, base, scope, filter, attrs, 
> attrsonly, &res);
>       |                 ^~~~~~~~~~~~~
>       |                 ldap_search_ext
> LDAPapi.c: In function ‘XS_Net__LDAPapi_ldap_perror’:
> LDAPapi.c:2402:9: error: implicit declaration of function ‘ldap_perror’; did 
> you mean ‘ldap_destroy’? [-Werror=implicit-function-declaration]
>  2402 |         ldap_perror(ld, s);
>       |         ^~~~~~~~~~~
>       |         ldap_destroy
> LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_explode_dn’:
> LDAPapi.xs:1349:11: error: implicit declaration of function 
> ‘ldap_value_free’; did you mean ‘ldap_value_free_len’? 
> [-Werror=implicit-function-declaration]
>  1349 |           ldap_value_free(LDAPGETVAL);
>       |           ^~~~~~~~~~~~~~~
>       |           ldap_value_free_len
> LDAPapi.xs: In function ‘XS_Net__LDAPapi_ldap_sort_entries’:
> LDAPapi.xs:1674:17: error: implicit declaration of function 
> ‘ldap_sort_entries’; did you mean ‘ldap_count_entries’? 
> [-Werror=implicit-function-declaration]
>  1674 |        RETVAL = ldap_sort_entries(ld,&chain,attr,StrCaseCmp);
>       |                 ^~~~~~~~~~~~~~~~~
>       |                 ldap_count_entries
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:343: LDAPapi.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/libnet-ldapapi-perl_3.0.7-3_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