Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919358

Summary: net-analyzer/raddump-0.3.1 - pktrecord.c: error: passing argument 3 of pcap_next_ex from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-analyzer:raddump-0.3.1:20231206-080244.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-06 17:02:10 UTC
make[1]: Entering directory '/var/tmp/portage/net-analyzer/raddump-0.3.1/work/raddump-0.3.1'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-diagnostics-color -c -o raddump.o raddump.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-diagnostics-color -c -o pktrecord.o pktrecord.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-diagnostics-color -c -o radius.o radius.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-diagnostics-color -c -o vsa.o vsa.c
pktrecord.c: In function tcpdump_next:
pktrecord.c:172:20: error: passing argument 3 of pcap_next_ex from incompatible pointer type [-Wincompatible-pointer-types]
  172 |                    &(p->pkt_data)) != 1) return 0;
      |                    ^~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-162118

  -------------------------------------------------------------------

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.73.0 *
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):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit b94b6bbd31a393b6df9fc466545e4a09f6a80bad
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 6 07:18:41 2023 +0000

    2023-12-06 07:18:40 UTC

emerge -qpvO net-analyzer/raddump
[ebuild  N    ] net-analyzer/raddump-0.3.1
Comment 1 Toralf Förster gentoo-dev 2023-12-06 17:02:11 UTC
Created attachment 877806 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-06 17:02:12 UTC
Created attachment 877807 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-06 17:02:14 UTC
Created attachment 877808 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-06 17:02:15 UTC
Created attachment 877809 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-06 17:02:16 UTC
Created attachment 877810 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-06 17:02:16 UTC
Created attachment 877811 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-06 17:02:17 UTC
Created attachment 877812 [details]
net-analyzer:raddump-0.3.1:20231206-080244.log
Comment 8 Toralf Förster gentoo-dev 2023-12-06 17:02:19 UTC
Created attachment 877813 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-06 17:02:20 UTC
Created attachment 877814 [details]
temp.tar.xz