from ./tcpnice.c:21: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -D_BSD_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/share/dsniff/\" -I/usr/include/tirpc -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I./missing -c ./webmitm.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) { | ^~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-20231123-170505 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.74.1 [2] rust-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.4 linux/amd64 HEAD of ::gentoo commit 4dbaa54e73eb5af54d6cf2b897b41bc3a7ba3724 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Dec 9 03:02:02 2023 +0000 2023-12-09 03:02:02 UTC emerge -qpvO net-analyzer/dsniff [ebuild N ] net-analyzer/dsniff-2.4_beta1_p30 USE="X"
Created attachment 878497 [details] emerge-info.txt
Created attachment 878498 [details] emerge-history.txt.xz
Created attachment 878499 [details] environment
Created attachment 878500 [details] etc.clang.tar.xz
Created attachment 878501 [details] etc.portage.tar.xz
Created attachment 878502 [details] logs.tar.xz
Created attachment 878503 [details] net-analyzer:dsniff-2.4_beta1_p30:20231209-054242.log
Created attachment 878504 [details] qlist-info.txt.xz
Created attachment 878505 [details] temp.tar.xz
Created attachment 878998 [details, diff] fixes gcc warnings and adds const to a variable
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f69e68db135958c271d24c5bb9277671e2910605 commit f69e68db135958c271d24c5bb9277671e2910605 Author: Christopher Fore <csfore@posteo.net> AuthorDate: 2023-12-13 02:37:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-15 03:15:34 +0000 net-analyzer/dsniff: add 2.4_beta1_p31, fix GCC 14 compile Patch attached fixes compilation on GCC 14 and some warnings about print formatting. Closes: https://bugs.gentoo.org/919503 Signed-off-by: Christopher Fore <csfore@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/34258 Signed-off-by: Sam James <sam@gentoo.org> net-analyzer/dsniff/Manifest | 1 + net-analyzer/dsniff/dsniff-2.4_beta1_p31.ebuild | 74 ++++++++++++++++++++++ .../files/dsniff-2.4_beta1_p31-c99-fixes.patch | 36 +++++++++++ 3 files changed, 111 insertions(+)