Your message dated Sun, 09 Jun 2024 19:51:56 +0000
with message-id <e1sgoa4-00dhfy...@fasolo.debian.org>
and subject line Bug#1066694: fixed in netdiag 1.2-1.3
has caused the Debian Bug report #1066694,
regarding netdiag: FTBFS: getservent.c:121:38: error: implicit declaration of 
function ‘atoi’ [-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.)


-- 
1066694: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066694
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: netdiag
Version: 1.2-1.2
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 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now 
> -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2  -c 
> -o win_show_stat.o win_show_stat.c
> tally_label.c:13:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>    13 | tally_label ( struct Tally *Now_ts, WINDOW *win, int width, int 
> height )
>       | ^~~~~~~~~~~
> In file included from /usr/include/netdb.h:27,
>                  from inetprivate.h:13,
>                  from getservent.c:45:
> getservent.c: In function ‘sn_getservent’:
> getservent.c:121:38: error: implicit declaration of function ‘atoi’ 
> [-Werror=implicit-function-declaration]
>   121 |         serv.s_port = htons((u_short)atoi(p));
>       |                                      ^~~~
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now 
> -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2  -c 
> -o statnetd.o statnetd.c
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now 
> -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2  -c 
> -o itstime.o itstime.c
> statnet.c:102:8: warning: type defaults to ‘int’ in declaration of ‘gen_all’ 
> [-Wimplicit-int]
>   102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, 
> gen_802 = 0;
>       |        ^~~~~~~
> statnet.c:102:17: warning: type defaults to ‘int’ in declaration of ‘gen_eth’ 
> [-Wimplicit-int]
>   102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, 
> gen_802 = 0;
>       |                 ^~~~~~~
> statnet.c:102:26: warning: type defaults to ‘int’ in declaration of 
> ‘gen_plip’ [-Wimplicit-int]
>   102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, 
> gen_802 = 0;
>       |                          ^~~~~~~~
> statnet.c:102:36: warning: type defaults to ‘int’ in declaration of 
> ‘gen_slip’ [-Wimplicit-int]
>   102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, 
> gen_802 = 0;
>       |                                    ^~~~~~~~
> statnet.c:102:46: warning: type defaults to ‘int’ in declaration of ‘gen_ppp’ 
> [-Wimplicit-int]
>   102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, 
> gen_802 = 0;
>       |                                              ^~~~~~~
> statnet.c:102:55: warning: type defaults to ‘int’ in declaration of 
> ‘gen_loop’ [-Wimplicit-int]
>   102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, 
> gen_802 = 0;
>       |                                                       ^~~~~~~~
> statnet.c:102:65: warning: type defaults to ‘int’ in declaration of ‘gen_802’ 
> [-Wimplicit-int]
>   102 | static gen_all, gen_eth, gen_plip, gen_slip, gen_ppp, gen_loop, 
> gen_802 = 0;
>       |                                                                 
> ^~~~~~~
> statnet.c:106:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   106 | main (int argc, char *argv[])
>       | ^~~~
> itstime.c: In function ‘itstime’:
> itstime.c:50:9: error: implicit declaration of function ‘alarm’ 
> [-Werror=implicit-function-declaration]
>    50 |         alarm (SN_STATS_SECS);
>       |         ^~~~~
> statnet.c: In function ‘update_display’:
> statnet.c:555:36: warning: '0' flag ignored with '-' flag in gnu_printf 
> format [-Wformat=]
>   555 |           mvwprintw (genwin, 0, 0, "GENERAL  Frame:     /%-02d sec", 
> SN_UPDATE_SECS);
>       |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> statnet.c:681:9: error: implicit declaration of function ‘win_show_stat’ 
> [-Werror=implicit-function-declaration]
>   681 |         win_show_stat( protwin, 9, 1, noframes, &Now->prot, 
> &Prev->prot, &Delta.prot, rewrite_labels, &update_prot_labels, 
> &show_prot_labels );
>       |         ^~~~~~~~~~~~~
> gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now 
> -I/usr/include/ncurses -g -DSNVERSION=3.8 -Wdate-time -D_FORTIFY_SOURCE=2  -c 
> -o tally_init.o tally_init.c
> statnet.c: In function ‘show_tcp_labels’:
> statnetd.c:124:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
>   124 | main (int argc, char *argv[])
>       | ^~~~
> statnet.c:800:9: error: implicit declaration of function ‘tally_label’; did 
> you mean ‘slk_label’? [-Werror=implicit-function-declaration]
>   800 |         tally_label( Now_ts, tcpwin, TW, TH );
>       |         ^~~~~~~~~~~
>       |         slk_label
> cc1: some warnings being treated as errors
> cc1: some warnings being treated as errors
> statnetd.c: In function ‘handle_other’:
> statnetd.c:499:11: error: implicit declaration of function ‘tally’ 
> [-Werror=implicit-function-declaration]
>   499 |           tally( (short int)buf[14], &StatMem->sap_types );     /* 
> count 802.2 SAP number */
>       |           ^~~~~
> make[1]: *** [<builtin>: itstime.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/netdiag_1.2-1.2_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: netdiag
Source-Version: 1.2-1.3
Done: Bastian Germann <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
netdiag, 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.
Bastian Germann <b...@debian.org> (supplier of updated netdiag 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: SHA512

Format: 1.8
Date: Sun, 09 Jun 2024 19:19:14 +0000
Source: netdiag
Architecture: source
Version: 1.2-1.3
Distribution: unstable
Urgency: medium
Maintainer: Michael Meskes <mes...@debian.org>
Changed-By: Bastian Germann <b...@debian.org>
Closes: 1054902 1066694
Changes:
 netdiag (1.2-1.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Convert to source format 3.0. (Closes: #1054902)
     + Drop generic quilt description in d/README.source
 .
   [ Zixing Liu ]
   * Add multiple missing headers and function prototypes. (Closes: #1066694)
Checksums-Sha1:
 810e703316cc3a89685434b7772154ec05df03a0 1559 netdiag_1.2-1.3.dsc
 4fa5e82ea16f18f83e1ca59748c6d8da1ab85d7c 70504 netdiag_1.2-1.3.debian.tar.xz
 797e013dca808eab2e4b07bed22e3fbb901fb7db 5501 netdiag_1.2-1.3_source.buildinfo
Checksums-Sha256:
 17e9e6569358fe1a50f42e161e2a1d1ce8466ba5bbd69103c24e8952acaa2611 1559 
netdiag_1.2-1.3.dsc
 e5d7f325bccd04a8164cd0bc9617e04afa7e4435fa4cbf10d55067080ec5080e 70504 
netdiag_1.2-1.3.debian.tar.xz
 e97ad5b6d31421609424d35261ac7dff5f32c1af941b6b92cc2551042789d3e6 5501 
netdiag_1.2-1.3_source.buildinfo
Files:
 c4d764b301b3cc3394272ed7ee1036eb 1559 net optional netdiag_1.2-1.3.dsc
 782ffb622d66d6294950845dd9984fb8 70504 net optional 
netdiag_1.2-1.3.debian.tar.xz
 38f97165b20734c93a2a283e3c426209 5501 net optional 
netdiag_1.2-1.3_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmZmAikQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFDF9C/9f32pQM8XMSOteCkN8Js3KaWa8y3C/BHBb
Dp6Mlylq4uu8BTLaDSaPcH7Br2x4qO7xFtyd7r78g/p/cPrWMhpLFaouJDewuunU
uccF1MoRvkd0s5oTy3dhts+9X9ycclpy+fCg8gM2HcmT+D0V7ARbWsexgNWI38z8
kwW7uhTgdUpfG+L/vp9Ww3i6It+HhzscHEHEvTuAZKWZ6aINzfmpTK2TTZzqLxxB
WGLEsawuKbvv62pVPkhvmN8zioXBw6RTstnwAEwy4b+a9bDa3uQbQjrNJQFMpGc7
IvuK2w5z1xKigQFHl72uQOJ/xoZ2Zv4uWMkzedojSRBTaUxB3hNoaWk3McJlf6z5
V3p79Vjk9dhcw4llFGJ30LFkMOOZI7sPGajNmxnfODZ7Kx3K7XZzrCWYBahJvTG6
I5+QUmvaqhVrxZLXOX+Rp3Xhe3FrWkGRaEIU64l9ktrt/yZCz/ccg84lI+/xR+3N
19C2VR0YfoCWXtF0FGEF32VcJUl9tlQ=
=SPwG
-----END PGP SIGNATURE-----

Attachment: pgpV11gEYpI1o.pgp
Description: PGP signature


--- End Message ---

Reply via email to