Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919189 - net-analyzer/gensink-4.1-r2 - tub4.c: error: passing argument 2 of bind from incompatible pointer type [-Wincompatible-pointer-types]
Summary: net-analyzer/gensink-4.1-r2 - tub4.c: error: passing argument 2 of bind from ...
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: PMASKED
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 19:02 UTC by Toralf Förster
Modified: 2024-04-23 14:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.71 KB, text/plain)
2023-12-04 19:02 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,73.23 KB, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
environment (environment,59.22 KB, text/plain)
2023-12-04 19:02 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,41.17 KB, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
net-analyzer:gensink-4.1-r2:20231204-185447.log (net-analyzer:gensink-4.1-r2:20231204-185447.log,3.84 KB, text/plain)
2023-12-04 19:02 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,75.80 KB, application/x-xz)
2023-12-04 19:02 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.02 KB, application/x-xz)
2023-12-04 19:02 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-04 19:02:00 UTC
make -j4 
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c gen4.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c report.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c sink4.c
x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -c tub4.c
tub4.c: In function main:
tub4.c:133:15: error: passing argument 2 of bind from incompatible pointer type [-Wincompatible-pointer-types]
  133 |   if (bind(s, &saddr, sizeof(saddr)) != 0)
      |               ^~~~~~

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

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

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

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 Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.8.1_p1 [openjdk-17]
2)	OpenJDK 21.0.1_p12 [openjdk-21]
3)	OpenJDK 8.382_p05 [openjdk-8]
4)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-21 
  [4]   openjdk-bin-17 
  [5]   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 b2381aadcc40dfc178220622139d5660232069a8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 17:01:54 2023 +0000

    2023-12-04 17:01:54 UTC

emerge -qpvO net-analyzer/gensink
[ebuild  N    ] net-analyzer/gensink-4.1-r2
Comment 1 Toralf Förster gentoo-dev 2023-12-04 19:02:01 UTC
Created attachment 876834 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 19:02:03 UTC
Created attachment 876835 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 19:02:04 UTC
Created attachment 876836 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 19:02:05 UTC
Created attachment 876837 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 19:02:06 UTC
Created attachment 876838 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 19:02:07 UTC
Created attachment 876839 [details]
net-analyzer:gensink-4.1-r2:20231204-185447.log
Comment 7 Toralf Förster gentoo-dev 2023-12-04 19:02:08 UTC
Created attachment 876840 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 19:02:09 UTC
Created attachment 876841 [details]
temp.tar.xz