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

Bug 919192

Summary: net-analyzer/sniffit-0.5-r1 - sn_packets.c: error: passing argument 1 of in_cksum from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
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:sniffit-0.5-r1:20231204-171435.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-04 19:03:09 UTC
too long lines were shrinked:

make[2]: Entering directory '/var/tmp/portage/net-analyzer/sniffit-0.5-r1/work/sniffit-sniffit-0.5/src'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_S
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_S
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_S
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_S
sn_packets.c: In function unwrap_packet:
sn_packets.c:68:32: error: passing argument 1 of in_cksum from incompatible pointer type [-Wincompatible-pointer-types]
   68 |                 if(in_cksum((sp+PROTO_HEAD),unwrapped->IP_len) != IPhead.checksum)
      |                             ~~~^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231127-140030

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

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.6
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 f0fb62cbf9a793a5f1552b6733f665c6a5745d5d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 16:18:58 2023 +0000

    2023-12-04 16:18:57 UTC

emerge -qpvO net-analyzer/sniffit
[ebuild  N    ] net-analyzer/sniffit-0.5-r1
Comment 1 Toralf Förster gentoo-dev 2023-12-04 19:03:10 UTC
Created attachment 876860 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 19:03:11 UTC
Created attachment 876861 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 19:03:12 UTC
Created attachment 876862 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 19:03:13 UTC
Created attachment 876863 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 19:03:14 UTC
Created attachment 876864 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 19:03:15 UTC
Created attachment 876865 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 19:03:16 UTC
Created attachment 876866 [details]
net-analyzer:sniffit-0.5-r1:20231204-171435.log
Comment 8 Toralf Förster gentoo-dev 2023-12-04 19:03:17 UTC
Created attachment 876867 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 19:03:18 UTC
Created attachment 876868 [details]
temp.tar.xz