Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949571 - net-analyzer/iplog-2.2.3-r4 - [glibc] iplog_tcp.c: error: passing argument 5 of sendto from incompatible pointer type [-Wincompatible-pointer-types]
Summary: net-analyzer/iplog-2.2.3-r4 - [glibc] iplog_tcp.c: error: passing argument 5 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2025-02-10 17:27 UTC by Toralf Förster
Modified: 2025-02-17 01:52 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.54 KB, text/plain)
2025-02-10 17:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,47.31 KB, text/plain)
2025-02-10 17:27 UTC, Toralf Förster
Details
environment (environment,84.65 KB, text/plain)
2025-02-10 17:27 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.00 KB, application/x-xz)
2025-02-10 17:27 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.43 KB, application/x-xz)
2025-02-10 17:27 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.02 KB, application/x-xz)
2025-02-10 17:27 UTC, Toralf Förster
Details
net-analyzer:iplog-2.2.3-r4:20250210-141550.log (net-analyzer:iplog-2.2.3-r4:20250210-141550.log,12.06 KB, text/plain)
2025-02-10 17:27 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,119.09 KB, text/plain)
2025-02-10 17:27 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.67 KB, application/x-xz)
2025-02-10 17:27 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 2025-02-10 17:27:28 UTC
make[3]: Entering directory '/var/tmp/portage/net-analyzer/iplog-2.2.3-r4/work/iplog-2.2.3/src'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_REENTRANT  -O2 -pipe -march=native -fno-diagnostics-color -c -o iplog_config.o iplog_config.c
make[3]: Leaving directory '/var/tmp/portage/net-analyzer/iplog-2.2.3-r4/work/iplog-2.2.3/src'
make[3]: Entering directory '/var/tmp/portage/net-analyzer/iplog-2.2.3-r4/work/iplog-2.2.3/src'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_REENTRANT  -O2 -pipe -march=native -fno-diagnostics-color -c -o iplog_tcp.o iplog_tcp.c
iplog_tcp.c: In function tcp_parser:
iplog_tcp.c:150:33: error: passing argument 5 of sendto from incompatible pointer type [-Wincompatible-pointer-types]
  150 |                                 &fn_sin,
      |                                 ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20250209-173502

  UNMASKED:

    Requested by dilfridge
  ~sys-libs/glibc-2.41

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.9
go version go1.23.6 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.84.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 24fa86b21f133a40842a4823b23e1266c6a899ed
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Feb 10 13:48:35 2025 +0000

    2025-02-10 13:48:35 UTC

emerge -qpvO =net-analyzer/iplog-2.2.3-r4
[ebuild  N    ] net-analyzer/iplog-2.2.3-r4
Comment 1 Toralf Förster gentoo-dev 2025-02-10 17:27:29 UTC
Created attachment 918583 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-10 17:27:30 UTC
Created attachment 918584 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-02-10 17:27:31 UTC
Created attachment 918585 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-02-10 17:27:32 UTC
Created attachment 918586 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-02-10 17:27:33 UTC
Created attachment 918587 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-10 17:27:34 UTC
Created attachment 918588 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-10 17:27:35 UTC
Created attachment 918589 [details]
net-analyzer:iplog-2.2.3-r4:20250210-141550.log
Comment 8 Toralf Förster gentoo-dev 2025-02-10 17:27:36 UTC
Created attachment 918590 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2025-02-10 17:27:37 UTC
Created attachment 918591 [details]
temp.tar.xz
Comment 10 NHO 2025-02-16 18:09:02 UTC
This is weird, build succeeds with GCC-15 but fails with GCC-14
Comment 11 Larry the Git Cow gentoo-dev 2025-02-17 01:52:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5aea11f7b1333d61360069c45a8f6f6379c6dbd

commit c5aea11f7b1333d61360069c45a8f6f6379c6dbd
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-16 18:27:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-17 01:50:35 +0000

    net-analyzer/iplog: Fix bad patch
    
    Cast sockaddr_in* to sockaddr* unconditionally, it's always right thing
    to do both in musl and in glibc context. Fixes build failure with gcc-14
    without -stc=gnu23 passed to it.
    Remove remains of fixes for -std=c23, gnu extensions are always enabled
    in all contexts we care about.
    
    Closes: https://bugs.gentoo.org/949571
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40599
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/iplog/files/iplog-2.2.3-C23.patch | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)