Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943943 - net-libs/libnids-1.26-r1 - [ncurses-6.5] [gcc-15] ip_fragment.c: error: assignment to void ( )(void) from incompatible pointer type void ( )(long unsigned int) [-Wincompa
Summary: net-libs/libnids-1.26-r1 - [ncurses-6.5] [gcc-15] ip_fragment.c: error: assig...
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:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-19 08:50 UTC by Toralf Förster
Modified: 2025-02-16 12:39 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.50 KB, text/plain)
2024-11-19 08:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,218.04 KB, text/plain)
2024-11-19 08:50 UTC, Toralf Förster
Details
environment (environment,95.37 KB, text/plain)
2024-11-19 08:50 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-19 08:50 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.39 KB, application/x-xz)
2024-11-19 08:50 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,14.45 KB, application/x-xz)
2024-11-19 08:50 UTC, Toralf Förster
Details
net-libs:libnids-1.26-r1:20241119-010219.log (net-libs:libnids-1.26-r1:20241119-010219.log,9.10 KB, text/plain)
2024-11-19 08:50 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,62.21 KB, application/x-xz)
2024-11-19 08:50 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.76 KB, application/x-xz)
2024-11-19 08:50 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-19 08:50:03 UTC
>>> Compiling source in /var/tmp/portage/net-libs/libnids-1.26-r1/work/libnids-1.26 ...
make -O -j4 shared 
cd src ; make  shared
make[1]: Entering directory '/var/tmp/portage/net-libs/libnids-1.26-r1/work/libnids-1.26/src'
x86_64-pc-linux-gnu-gcc -fPIC -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c ip_fragment.c -o ip_fragment_pic.o
ip_fragment.c: In function ip_create:
ip_fragment.c:427:22: error: assignment to void (*)(void) from incompatible pointer type void (*)(long unsigned int) [-Wincompatible-pointer-types]
  427 |   qp->timer.function = ip_expire;       /* expire function      */
      |                      ^

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

  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.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 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 8566b21081f24b8ff8c5a8ecadbce83f2bdad484
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 17:03:30 2024 +0000

    2024-11-18 17:03:29 UTC

emerge -qpvO =net-libs/libnids-1.26-r1
[ebuild  N    ] net-libs/libnids-1.26-r1  USE="glib libnet -static-libs"
Comment 1 Toralf Förster gentoo-dev 2024-11-19 08:50:04 UTC
Created attachment 909921 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-19 08:50:05 UTC
Created attachment 909922 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-19 08:50:06 UTC
Created attachment 909923 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-19 08:50:07 UTC
Created attachment 909924 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-19 08:50:08 UTC
Created attachment 909925 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-19 08:50:09 UTC
Created attachment 909926 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-19 08:50:10 UTC
Created attachment 909927 [details]
net-libs:libnids-1.26-r1:20241119-010219.log
Comment 8 Toralf Förster gentoo-dev 2024-11-19 08:50:11 UTC
Created attachment 909928 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-19 08:50:12 UTC
Created attachment 909929 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-16 12:39:20 UTC














commit e42283e003eaed7ba489b18b3f5175528dda9ec1 (HEAD -> master, origin/master, origin/HEAD)
Author: Sam James <sam@gentoo.org>
Date:   Sun Feb 16 12:38:15 2025 +0000

    net-libs/libnids: update EAPI 7 -> 8

    Meant to do this in 8b9d48e9a7d17a11d1099a683bf841adfa05eb43.

    Signed-off-by: Sam James <sam@gentoo.org>

commit 8b9d48e9a7d17a11d1099a683bf841adfa05eb43
Author: Sam James <sam@gentoo.org>
Date:   Sun Feb 16 12:36:07 2025 +0000

    net-libs/libnids: build w/ -std=gnu17, filter LTO

    * Build w/ -std=gnu17.
    * Filter LTO as upstream seems inactive; the SONAME bug hasn't been
      addressed yet either. Not worth spending time on at the moment.

    Closes: https://bugs.gentoo.org/946622
    Signed-off-by: Sam James <sam@gentoo.org>