Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944381 - net-misc/iperf-3.17.1 - [ncurses-6.5] [gcc-15] iperf_api.c: error: assignment to void ( )(struct iperf_stream ) from incompatible pointer type void ( )(void) [-Wincompati
Summary: net-misc/iperf-3.17.1 - [ncurses-6.5] [gcc-15] iperf_api.c: error: assignment...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 20:45 UTC by Toralf Förster
Modified: 2024-12-13 14:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.76 KB, text/plain)
2024-11-21 20:45 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,67.71 KB, application/x-xz)
2024-11-21 20:45 UTC, Toralf Förster
Details
environment (environment,83.68 KB, text/plain)
2024-11-21 20:45 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-11-21 20:45 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.60 KB, application/x-xz)
2024-11-21 20:45 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,12.15 KB, application/x-xz)
2024-11-21 20:45 UTC, Toralf Förster
Details
net-misc:iperf-3.17.1:20241121-204126.log (net-misc:iperf-3.17.1:20241121-204126.log,15.01 KB, text/plain)
2024-11-21 20:45 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,78.14 KB, application/x-xz)
2024-11-21 20:45 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.23 KB, application/x-xz)
2024-11-21 20:45 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 2024-11-21 20:45:06 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/cjson -O2 -pipe -march=native -fno-diagnostics-color -Wall -pthread -c iperf_error.c  -fPIC -DPIC -o .libs/libiperf_la-iperf_error.o
make[2]: Leaving directory '/var/tmp/portage/net-misc/iperf-3.17.1/work/iperf-3.17.1/src'
make[2]: Entering directory '/var/tmp/portage/net-misc/iperf-3.17.1/work/iperf-3.17.1/src'
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/cjson   -O2 -pipe -march=native -fno-diagnostics-color -Wall -pthread -c -o libiperf_la-iperf_api.lo `test -f 'iperf_api.c' || echo './'`iperf_api.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/cjson -O2 -pipe -march=native -fno-diagnostics-color -Wall -pthread -c iperf_api.c  -fPIC -DPIC -o .libs/libiperf_la-iperf_api.o
iperf_api.c: In function 'iperf_set_on_new_stream_callback':
iperf_api.c:604:28: error: assignment to 'void (*)(struct iperf_stream *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  604 |         ipt->on_new_stream = callback;
      |                            ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241112-111005

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0
  [3]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 9799347d1fb7d136e555ff2797bb87bd0e929236
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 21 19:48:25 2024 +0000

    2024-11-21 19:48:25 UTC

emerge -qpvO =net-misc/iperf-3.17.1
[ebuild  N    ] net-misc/iperf-3.17.1  USE="-sctp"
Comment 1 Toralf Förster gentoo-dev 2024-11-21 20:45:07 UTC
Created attachment 911365 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-21 20:45:09 UTC
Created attachment 911366 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-21 20:45:10 UTC
Created attachment 911367 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-21 20:45:10 UTC
Created attachment 911368 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-21 20:45:11 UTC
Created attachment 911369 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-21 20:45:12 UTC
Created attachment 911370 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-21 20:45:13 UTC
Created attachment 911371 [details]
net-misc:iperf-3.17.1:20241121-204126.log
Comment 8 Toralf Förster gentoo-dev 2024-11-21 20:45:14 UTC
Created attachment 911372 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-21 20:45:15 UTC
Created attachment 911373 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-12-13 14:06:31 UTC
The bug has been closed via the following commit(s):

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

commit 7dcd8da28a22dff7008a6b3c940a91670470bcab
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-13 14:00:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-13 14:00:58 +0000

    net-misc/iperf: fix build w/ c23
    
    Closes: https://bugs.gentoo.org/944381
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/iperf/files/iperf-3.17.1-c23.patch | 58 +++++++++++++++++++++++++++++
 net-misc/iperf/iperf-3.17.1.ebuild          |  1 +
 2 files changed, 59 insertions(+)