Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919471 - net-analyzer/hunt-1.5_p6_p1 - tpserv.c: error: passing argument 2 of connect from incompatible pointer type [-Wincompatible-pointer-types]
Summary: net-analyzer/hunt-1.5_p6_p1 - tpserv.c: error: passing argument 2 of connect ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-08 16:43 UTC by Toralf Förster
Modified: 2023-12-08 16:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.65 KB, text/plain)
2023-12-08 16:43 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,110.11 KB, application/x-xz)
2023-12-08 16:43 UTC, Toralf Förster
Details
environment (environment,80.01 KB, text/plain)
2023-12-08 16:43 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-08 16:43 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.72 KB, application/x-xz)
2023-12-08 16:43 UTC, Toralf Förster
Details
net-analyzer:hunt-1.5_p6_p1:20231208-155044.log (net-analyzer:hunt-1.5_p6_p1:20231208-155044.log,83.75 KB, text/plain)
2023-12-08 16:43 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,115.30 KB, application/x-xz)
2023-12-08 16:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.41 KB, application/x-xz)
2023-12-08 16:43 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-08 16:43:23 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o hunt hunt.o main.o c/list.o c/hash.o c/array.o util.o net.o rst.o menu.o hijack.o rstd.o sniff.o macdisc.o tap.o arphijack.o tty.o synchijack.o arpspoof.o hostup.
make: Leaving directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5'
make -j4 CC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-O3 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' -C tpserv 
make: Entering directory '/var/tmp/portage/net-analyzer/hunt-1.5_p6_p1/work/hunt-1.5/tpserv'
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall  -DSYNC_FAST  -c -o tpserv.o tpserv.c
tpserv.c: In function process_request_connect:
tpserv.c:161:32: error: passing argument 2 of connect from incompatible pointer type [-Wincompatible-pointer-types]
  161 |         if (connect(fd_remote, to_addr, to_addr_len) < 0) {
      |                                ^~~~~~~

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

  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 *
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 ba1b5f05c0f5280a7691f98cb41f5efaa3f115ca
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 8 14:31:58 2023 +0000

    2023-12-08 14:31:57 UTC

emerge -qpvO net-analyzer/hunt
[ebuild  N    ] net-analyzer/hunt-1.5_p6_p1
Comment 1 Toralf Förster gentoo-dev 2023-12-08 16:43:24 UTC
Created attachment 878399 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-08 16:43:26 UTC
Created attachment 878400 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-08 16:43:27 UTC
Created attachment 878401 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-08 16:43:28 UTC
Created attachment 878402 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-08 16:43:29 UTC
Created attachment 878403 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-08 16:43:30 UTC
Created attachment 878404 [details]
net-analyzer:hunt-1.5_p6_p1:20231208-155044.log
Comment 7 Toralf Förster gentoo-dev 2023-12-08 16:43:31 UTC
Created attachment 878405 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-08 16:43:33 UTC
Created attachment 878406 [details]
temp.tar.xz