[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1017146: marked as done (ncap: FTBFS: ncap_dns.c:791:33: error: ‘ns_sprintrr’ is deprecated [-Werror=deprecated-declarations])



Your message dated Mon, 12 Sep 2022 04:48:45 +0000
with message-id <E1oXbNF-0097pb-Jt@fasolo.debian.org>
and subject line Bug#1017146: fixed in ncap 1.9.2-8
has caused the Debian Bug report #1017146,
regarding ncap: FTBFS: ncap_dns.c:791:33: error: ‘ns_sprintrr’ is deprecated [-Werror=deprecated-declarations]
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 owner@bugs.debian.org
immediately.)


-- 
1017146: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017146
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ncap
Version: 1.9.2-7
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -Dlint -Wall -Werror -Wunused -Wshadow -Wcast-qual -Wpointer-arith -Wwrite-strings -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wbad-function-cast -Wbad-function-cast -Wformat-nonliteral -Wextra -Wswitch-enum -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -c -o mod_test.lo mod_test.c
> ncap_dns.c: In function ‘match_regex’:
> ncap_dns.c:791:33: error: ‘ns_sprintrr’ is deprecated [-Werror=deprecated-declarations]
>   791 |                                 if (ns_sprintrr(&msg, &rr, NULL, ".",
>       |                                 ^~
> In file included from ncap_port_net.h:65,
>                  from ncap_dns.c:32:
> /usr/include/arpa/nameser.h:408:17: note: declared here
>   408 | int             ns_sprintrr (const ns_msg *, const ns_rr *,
>       |                 ^~~~~~~~~~~
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Dlint -Wall -Werror -Wunused -Wshadow -Wcast-qual -Wpointer-arith -Wwrite-strings -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wbad-function-cast -Wbad-function-cast -Wformat-nonliteral -Wextra -Wswitch-enum -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c mod_test.c  -fPIC -DPIC -o .libs/mod_test.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Dlint -Wall -Werror -Wunused -Wshadow -Wcast-qual -Wpointer-arith -Wwrite-strings -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wbad-function-cast -Wbad-function-cast -Wformat-nonliteral -Wextra -Wswitch-enum -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c ncap_icmp.c -o libncap_la-ncap_icmp.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Dlint -Wall -Werror -Wunused -Wshadow -Wcast-qual -Wpointer-arith -Wwrite-strings -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wbad-function-cast -Wbad-function-cast -Wformat-nonliteral -Wextra -Wswitch-enum -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c mod_test.c -o mod_test.o >/dev/null 2>&1
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Dlint -Wall -Werror -Wunused -Wshadow -Wcast-qual -Wpointer-arith -Wwrite-strings -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wbad-function-cast -Wbad-function-cast -Wformat-nonliteral -Wextra -Wswitch-enum -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c ipreasm.c -o libncap_la-ipreasm.o >/dev/null 2>&1
> cc1: all warnings being treated as errors
> make[2]: *** [Makefile:678: libncap_la-ncap_dns.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/ncap_1.9.2-7_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@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 marking 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: ncap
Source-Version: 1.9.2-8
Done: Adrian Bunk <bunk@debian.org>

We believe that the bug you reported is fixed in the latest version of
ncap, 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 1017146@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated ncap 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 12 Sep 2022 07:28:32 +0300
Source: ncap
Architecture: source
Version: 1.9.2-8
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1017146
Changes:
 ncap (1.9.2-8) unstable; urgency=medium
 .
   * QA upload.
   * Don't build with -Werror. (Closes: #1017146)
Checksums-Sha1:
 08eb783053bf5bfa61abff5d68c452eba462783e 1948 ncap_1.9.2-8.dsc
 71292b96e9225341978758cae7e13d7887698181 7836 ncap_1.9.2-8.debian.tar.xz
Checksums-Sha256:
 02678ffc2db905ceb344fd7e539ec201f999e56341449e00055b72e621cc339b 1948 ncap_1.9.2-8.dsc
 26b7a8bd2034fb7b9035b07aaab4d2b7081dd4ce7035bf5c2611c3ea2cff37a4 7836 ncap_1.9.2-8.debian.tar.xz
Files:
 d200a42d82460a1ed3e467d934f60d5a 1948 net optional ncap_1.9.2-8.dsc
 d093f70948a291b6af31351fe8440a6e 7836 net optional ncap_1.9.2-8.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmMetgEACgkQiNJCh6LY
mLEuHhAAzQSWnik+A6vXlJaLrOfAtqKwDPvRcQ9e40w6qJzVGLSFRpmGtQysQRfY
QP+66CBW/jrv8NdZZljJkHAfOkbqH15ldUyheahF/udSmv5/41O7EyxcYvOIpvZZ
tNJGRMNlRU0q7Nf8TyxDnhvMJZdaTPBuwkGmh4e89pkoKtKGtY+ciKQgAH1fB+7C
NvFj1f3GvPvY5+kuw7Clri85g1HWetUvaiRbenJ+vuKSPtrOhpGQPMlI8Em9RqYa
l3Wa5corUAk3HdrelJFh0fZbNvsQFmmuBOxwDUrcPCxZPo8K18aNXn9l58DKvOTA
J2Sr0LDwxex1ywTqcN9TC6G55CvV+UVu9xT8QtcV6N4j97X3aiDdhVXG9ykVqgWl
m6WBqahsxshbSAuR6gttieQ5uWq+11Pxrs8y9CeQ3VPbhyp3+geVaS273EUlYWuH
+3STGXYSa7OlsAtTEfr/TeAVdv/MparzpCKgqoc4QFLMrb94dZfA6Rra0uAhdG2R
+HxFj8V+ABZGxIcVn11iDn6Qa0Nq1nblHIGBVq3tqeWchKC9UT8Z7y8CB6+3X7Bl
duABzCXR333VPSk2k/gw6IpB3IaacVxL25BgjcVR86skScps2ednZpbV5uUiRxJP
Go263h59QezB4AdBoaT5QssQmyTUzJqtuf+M3ROl27uUK3xYy8M=
=PURG
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: