Your message dated Sun, 14 Apr 2024 02:38:01 +0000
with message-id <e1rvpkn-006r7o...@fasolo.debian.org>
and subject line Bug#1066670: fixed in ldap2dns 0.3.1-6
has caused the Debian Bug report #1066670,
regarding ldap2dns: FTBFS: ldap2dns.c:477:25: error: implicit declaration of 
function ‘ldap_search_s’; did you mean ‘ldap_search_ext’? 
[-Werror=implicit-function-declaration]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1066670: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066670
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ldap2dns
Version: 0.3.1-5
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):
> gcc -g -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  
> -DVERSION='"0.3.1"' -Wdate-time -D_FORTIFY_SOURCE=2 -c ldap2dns.c -o 
> ldap2dns.o-dbg
> ldap2dns.c: In function ‘read_resourcerecords’:
> ldap2dns.c:477:25: error: implicit declaration of function ‘ldap_search_s’; 
> did you mean ‘ldap_search_ext’? [-Werror=implicit-function-declaration]
>   477 |         if ( (ldaperr = ldap_search_s(ldap_con, dn, 
> LDAP_SCOPE_SUBTREE, "objectclass=DNSrrset", NULL, 0, &res))!=LDAP_SUCCESS )
>       |                         ^~~~~~~~~~~~~
>       |                         ldap_search_ext
> ldap2dns.c:558:82: warning: format ‘%s’ expects argument of type ‘char *’, 
> but argument 3 has type ‘char (*)[20]’ [-Wformat=]
>   558 |                                                 if 
> (sscanf(bvals[0]->bv_val, "%16s", &rr.timestamp)!=1)
>       |                                                                       
>         ~~~^   ~~~~~~~~~~~~~
>       |                                                                       
>            |   |
>       |                                                                       
>            |   char (*)[20]
>       |                                                                       
>            char *
> ldap2dns.c: In function ‘read_dnszones’:
> ldap2dns.c:714:98: warning: format ‘%s’ expects argument of type ‘char *’, 
> but argument 3 has type ‘char (*)[64]’ [-Wformat=]
>   714 |                                                         if 
> (sscanf(bvals[zonenames]->bv_val, "%64s", &zdn[zonenames])!=1)
>       |                                                                       
>                         ~~~^   ~~~~~~~~~~~~~~~
>       |                                                                       
>                            |   |
>       |                                                                       
>                            |   char (*)[64]
>       |                                                                       
>                            char *
> ldap2dns.c: In function ‘connect’:
> ldap2dns.c:801:28: error: implicit declaration of function ‘ldap_init’ 
> [-Werror=implicit-function-declaration]
>   801 |                 ldap_con = ldap_init(options.hostname[i], 
> options.port[i]);
>       |                            ^~~~~~~~~
> ldap2dns.c:801:26: warning: assignment to ‘LDAP *’ {aka ‘struct ldap *’} from 
> ‘int’ makes pointer from integer without a cast [-Wint-conversion]
>   801 |                 ldap_con = ldap_init(options.hostname[i], 
> options.port[i]);
>       |                          ^
> ldap2dns.c:802:21: error: implicit declaration of function 
> ‘ldap_simple_bind_s’; did you mean ‘ldap_sasl_bind_s’? 
> [-Werror=implicit-function-declaration]
>   802 |                 if (ldap_simple_bind_s(ldap_con, options.binddn, 
> options.password)==LDAP_SUCCESS) {
>       |                     ^~~~~~~~~~~~~~~~~~
>       |                     ldap_sasl_bind_s
> ldap2dns.c: In function ‘main’:
> ldap2dns.c:818:9: error: implicit declaration of function ‘umask’ 
> [-Werror=implicit-function-declaration]
>   818 |         umask(022);
>       |         ^~~~~
> ldap2dns.c:858:17: error: implicit declaration of function ‘time’ 
> [-Werror=implicit-function-declaration]
>   858 |                 time(&time_now);
>       |                 ^~~~
> ldap2dns.c:15:1: note: ‘time’ is defined in header ‘<time.h>’; did you forget 
> to ‘#include <time.h>’?
>    14 | #include <unistd.h>
>   +++ |+#include <time.h>
>    15 | 
> ldap2dns.c:878:33: error: implicit declaration of function ‘ldap_unbind_s’; 
> did you mean ‘ldap_unbind_ext’? [-Werror=implicit-function-declaration]
>   878 |                 if ( (ldaperr = 
> ldap_unbind_s(ldap_con))!=LDAP_SUCCESS )
>       |                                 ^~~~~~~~~~~~~
>       |                                 ldap_unbind_ext
> ldap2dns.c:826:17: warning: ignoring return value of ‘nice’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   826 |                 nice(19);
>       |                 ^~~~~~~~
> ldap2dns.c:876:25: warning: ignoring return value of ‘system’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   876 |                         system(options.exec_command);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ldap2dns.c: In function ‘read_resourcerecords’:
> ldap2dns.c:477:25: error: implicit declaration of function ‘ldap_search_s’; 
> did you mean ‘ldap_search_ext’? [-Werror=implicit-function-declaration]
>   477 |         if ( (ldaperr = ldap_search_s(ldap_con, dn, 
> LDAP_SCOPE_SUBTREE, "objectclass=DNSrrset", NULL, 0, &res))!=LDAP_SUCCESS )
>       |                         ^~~~~~~~~~~~~
>       |                         ldap_search_ext
> ldap2dns.c:558:82: warning: format ‘%s’ expects argument of type ‘char *’, 
> but argument 3 has type ‘char (*)[20]’ [-Wformat=]
>   558 |                                                 if 
> (sscanf(bvals[0]->bv_val, "%16s", &rr.timestamp)!=1)
>       |                                                                       
>         ~~~^   ~~~~~~~~~~~~~
>       |                                                                       
>            |   |
>       |                                                                       
>            |   char (*)[20]
>       |                                                                       
>            char *
> ldap2dns.c: In function ‘read_dnszones’:
> ldap2dns.c:714:98: warning: format ‘%s’ expects argument of type ‘char *’, 
> but argument 3 has type ‘char (*)[64]’ [-Wformat=]
>   714 |                                                         if 
> (sscanf(bvals[zonenames]->bv_val, "%64s", &zdn[zonenames])!=1)
>       |                                                                       
>                         ~~~^   ~~~~~~~~~~~~~~~
>       |                                                                       
>                            |   |
>       |                                                                       
>                            |   char (*)[64]
>       |                                                                       
>                            char *
> ldap2dns.c: In function ‘connect’:
> ldap2dns.c:801:28: error: implicit declaration of function ‘ldap_init’ 
> [-Werror=implicit-function-declaration]
>   801 |                 ldap_con = ldap_init(options.hostname[i], 
> options.port[i]);
>       |                            ^~~~~~~~~
> ldap2dns.c:801:26: warning: assignment to ‘LDAP *’ {aka ‘struct ldap *’} from 
> ‘int’ makes pointer from integer without a cast [-Wint-conversion]
>   801 |                 ldap_con = ldap_init(options.hostname[i], 
> options.port[i]);
>       |                          ^
> ldap2dns.c:802:21: error: implicit declaration of function 
> ‘ldap_simple_bind_s’; did you mean ‘ldap_sasl_bind_s’? 
> [-Werror=implicit-function-declaration]
>   802 |                 if (ldap_simple_bind_s(ldap_con, options.binddn, 
> options.password)==LDAP_SUCCESS) {
>       |                     ^~~~~~~~~~~~~~~~~~
>       |                     ldap_sasl_bind_s
> ldap2dns.c: In function ‘main’:
> ldap2dns.c:818:9: error: implicit declaration of function ‘umask’ 
> [-Werror=implicit-function-declaration]
>   818 |         umask(022);
>       |         ^~~~~
> ldap2dns.c:858:17: error: implicit declaration of function ‘time’ 
> [-Werror=implicit-function-declaration]
>   858 |                 time(&time_now);
>       |                 ^~~~
> ldap2dns.c:15:1: note: ‘time’ is defined in header ‘<time.h>’; did you forget 
> to ‘#include <time.h>’?
>    14 | #include <unistd.h>
>   +++ |+#include <time.h>
>    15 | 
> ldap2dns.c:878:33: error: implicit declaration of function ‘ldap_unbind_s’; 
> did you mean ‘ldap_unbind_ext’? [-Werror=implicit-function-declaration]
>   878 |                 if ( (ldaperr = 
> ldap_unbind_s(ldap_con))!=LDAP_SUCCESS )
>       |                                 ^~~~~~~~~~~~~
>       |                                 ldap_unbind_ext
> ldap2dns.c:826:17: warning: ignoring return value of ‘nice’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   826 |                 nice(19);
>       |                 ^~~~~~~~
> ldap2dns.c:876:25: warning: ignoring return value of ‘system’ declared with 
> attribute ‘warn_unused_result’ [-Wunused-result]
>   876 |                         system(options.exec_command);
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> cc1: some warnings being treated as errors
> make[1]: *** [Makefile:30: ldap2dns.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/ldap2dns_0.3.1-5_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.

--- End Message ---
--- Begin Message ---
Source: ldap2dns
Source-Version: 0.3.1-6
Done: Andreas Beckmann <a...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ldap2dns, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1066...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <a...@debian.org> (supplier of updated ldap2dns package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 14 Apr 2024 03:57:23 +0200
Source: ldap2dns
Architecture: source
Version: 0.3.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Andreas Beckmann <a...@debian.org>
Closes: 1066670
Changes:
 ldap2dns (0.3.1-6) unstable; urgency=medium
 .
   * QA upload.
   * Fix building with -Werror=implicit-function-declaration.
     (Closes: #1066670)
Checksums-Sha1:
 4a42bb8eee3311fdc7cef26a0221208f0b47725a 1873 ldap2dns_0.3.1-6.dsc
 73b8266f235b3d51b75b5e0dbd02a86364f2f32c 8772 ldap2dns_0.3.1-6.debian.tar.xz
 57924e07832aac3d85aeb8cd9e78fbcb4cd6d433 6087 ldap2dns_0.3.1-6_source.buildinfo
Checksums-Sha256:
 9701690994c550c4dc245b089737eba5d12a8568a13de9ea85d4d9b5e116c558 1873 
ldap2dns_0.3.1-6.dsc
 ee0460e6af9bb388846f80190c2a6b5068d4273b92d4f7e22289cfe018412958 8772 
ldap2dns_0.3.1-6.debian.tar.xz
 f29f9365d62a336ab31f455d3398dbd4b42c3685e72f781e1bcbab5efd64530a 6087 
ldap2dns_0.3.1-6_source.buildinfo
Files:
 192caa4c3f2064f924b76edf734954ae 1873 admin optional ldap2dns_0.3.1-6.dsc
 a7aa224d744ae8feeadb16489bfce555 8772 admin optional 
ldap2dns_0.3.1-6.debian.tar.xz
 74dab86b05b86fb38b20060bb3949c03 6087 admin optional 
ldap2dns_0.3.1-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmYbONsQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCJspD/oDrpvLDYSJcWifTc6CAXN0jzAO7RKpZ9Rr
vkIb8AHI/opoSxhRuD5dnNuIjwM4HBjm1peu0Gv4Pc4+YKmO74huGPYkqrp4+0vv
SST1wQoPOjVO+VbUvAK6y53HXnr0mROtAt5qvdLbl3s7IA9fHZlcCRHqUnI/REbR
j0GztgH3o7hHgRuCBRlK9Q6YgVfoQQJLIxS0edY+uxm24HTw6QNgsiBMH/gZjQ8e
Oht5a8ITXPGnvNz/GsxWpgwcSEwEVRL5O/+3F6s9NoxDvOpuFcXgCmJfA5qSM8hV
L0xKDb1sPbEviRcIeSlIET62W6XpnM7biNoa3Kmu+rQ5o7+mSA2f52y3bmN9BFGG
QXaypl7GWXUHv3m9RaERxNdVXPujCWQl8tC4UfI5JvvVLKJe25Fb5DuA4I5iWNDP
kTyux1SDa6y0wK1qykXeKtGBI8hRqcwRwxLEX3URVNV6eSK3ABzXyR9BGx0p3sJD
Mql4X+14gOHugqFi779n+B5nxMbL/+a+hKWHgFqwH43JJPZ7gc6kGfGJW8UH0AXI
G1IyAodbfRjNrb04b75TMQ8/dqvA7FocpFj9fu2cVG9i87oBZKFvA/lMGB+nOHWN
G2xkjqk6dx4iR9OYuBrnxSt1kM6vzQ2kcjr3QU4yYGF4g6tR/U7phhU+7n/O33/g
pMdVW6Kvng==
=6TRJ
-----END PGP SIGNATURE-----

Attachment: pgpQi3nvuVObZ.pgp
Description: PGP signature


--- End Message ---

Reply via email to