Your message dated Sun, 11 Aug 2024 22:23:57 +0200
with message-id <a6abd83c5d513b7356a25d74a278f88fdfedd546.ca...@debian.org>
and subject line Re: Bug#1074923: dsniff: ftbfs with GCC-14
has caused the Debian Bug report #1074923,
regarding dsniff: ftbfs with GCC-14
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.)


-- 
1074923: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074923
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:dsniff
Version: 2.4b1+debian-33
Severity: important
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/dsniff_2.4b1+debian-33_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-14/porting_to.html

[...]
      |                                               ~~^
      |                                                 |
      |                                                 long unsigned int
      |                                               %u
./tcpnice.c: In function ‘main’:
./tcpnice.c:193:9: warning: ‘pcap_lookupdev’ is deprecated: use 
'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  193 |         if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL)
      |         ^~
In file included from /usr/include/pcap.h:43,
                 from ./tcpnice.c:21:
/usr/include/pcap/pcap.h:395:18: note: declared here
  395 | PCAP_API char   *pcap_lookupdev(char *);
      |                  ^~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-I/usr/include/tirpc/ -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD 
-DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" 
-I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include 
-I/usr/include -I/usr/include -I/usr/include -I/usr/include  -I./missing -c 
./urlsnarf.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from ./urlsnarf.c:13:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE 
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-I/usr/include/tirpc/ -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD 
-DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" 
-I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include 
-I/usr/include -I/usr/include -I/usr/include -I/usr/include  -I./missing -c 
./webmitm.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/x86_64-linux-gnu/sys/param.h:25,
                 from ./webmitm.c:13:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE 
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-I/usr/include/tirpc/ -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD 
-DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" 
-I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include 
-I/usr/include -I/usr/include -I/usr/include -I/usr/include  -I./missing -c 
./webspy.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from ./webspy.c:13:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE 
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-I/usr/include/tirpc/ -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD 
-DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" 
-I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include 
-I/usr/include -I/usr/include -I/usr/include -I/usr/include  -I./missing -c 
./remote.c
./urlsnarf.c: In function ‘main’:
./urlsnarf.c:346:42: error: passing argument 3 of ‘pcap_next_ex’ from 
incompatible pointer type [-Wincompatible-pointer-types]
  346 |         while ((rc = pcap_next_ex(p, &h, &d)) == 1) {
      |                                          ^~
      |                                          |
      |                                          u_char ** {aka unsigned char 
**}
In file included from /usr/include/pcap.h:43,
                 from /usr/include/nids.h:14,
                 from ./urlsnarf.c:26:
/usr/include/pcap/pcap.h:574:63: note: expected ‘const u_char **’ {aka ‘const 
unsigned char **’} but argument is of type ‘u_char **’ {aka ‘unsigned char **’}
  574 | PCAP_API int    pcap_next_ex(pcap_t *, struct pcap_pkthdr **, const 
u_char **);
      |                                                               
^~~~~~~~~~~~~~~
make[1]: *** [Makefile:78: urlsnarf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ./remote.c:31:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE 
are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use 
_DEFAULT_SOURCE"
      |   ^~~~~~~
./webmitm.c:46:22: warning: built-in function ‘csin’ declared as non-function 
[-Wbuiltin-declaration-mismatch]
   46 | struct   sockaddr_in csin, ssin;
      |                      ^~~~
./webmitm.c: In function ‘mitm_child’:
./webmitm.c:371:17: warning: ignoring return value of ‘write’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  371 |                 write(STDERR_FILENO, buf, i);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./webmitm.c:401:33: warning: ignoring return value of ‘write’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  401 |                                 write(STDERR_FILENO, buf, i);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./webmitm.c:419:33: warning: ignoring return value of ‘write’ declared with 
attribute ‘warn_unused_result’ [-Wunused-result]
  419 |                                 write(STDERR_FILENO, buf, i);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Version: 2.4b1+debian-34

On Sat, 2024-08-10 at 09:12 +0200, Sven Geuer wrote:
> On Wed, 03 Jul 2024 12:25:29 +0000 Matthias Klose <d...@debian.org>
> wrote:
> > Please keep the issue open until the package can be built in
> > a follow-up test rebuild.
> > 
> > The package fails to build in a test rebuild on at least amd64 with
> > gcc-14/g++-14, but succeeds to build with gcc-13/g++-13.
> 
> dsniff 2.4b1+debian-34 fixes the issue according to my tests.
> 
> As requested above, I keep the bug open.

Based on a statement from Santiago Vila [1] I close this bug.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075396#28

-- 
GPG Fingerprint
3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to