Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940596 - net-libs/libnids-1.26-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] checksum.h: error: type of ip_compute_csum does not match original declaration [-Werror=lto-type-misma
Summary: net-libs/libnids-1.26-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] checksum....
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: lto
  Show dependency tree
 
Reported: 2024-10-01 07:27 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.91 KB, text/plain)
2024-10-01 07:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,212.04 KB, text/plain)
2024-10-01 07:27 UTC, Toralf Förster
Details
environment (environment,96.96 KB, text/plain)
2024-10-01 07:27 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-10-01 07:27 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.44 KB, application/x-xz)
2024-10-01 07:27 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,5.47 KB, application/x-xz)
2024-10-01 07:27 UTC, Toralf Förster
Details
net-libs:libnids-1.26-r1:20241001-063727.log (net-libs:libnids-1.26-r1:20241001-063727.log,14.25 KB, text/plain)
2024-10-01 07:27 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,59.89 KB, application/x-xz)
2024-10-01 07:27 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,152.27 KB, application/x-xz)
2024-10-01 07: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 2024-10-01 07:27:18 UTC
   18 |       read (fd, xor, 12);
      |       ^~~~~~~~~~~~~~~~~~
hash.c:19:7: warning: ignoring return value of read declared with attribute warn_unused_result [-Wunused-result]
   19 |       read (fd, perm, 12);
      |       ^~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -shared -Wl,-soname,libnids.so.1.24 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o libnids.so.1.24 checksum_pic.o ip_fragment_pic.o ip_options_pic.o killtcp_pic.o libnids_pic.o scan_pic.o tcp_pic.o util_pic.o allpromisc_pic.o hash_pic.o -lgthread-2.0 -lnsl  -lglib-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lnet -lpcap
checksum.h:6:16: error: type of ip_compute_csum does not match original declaration [-Werror=lto-type-mismatch]
    6 | extern u_short ip_compute_csum(char *, int len);
      |                ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20240927-085502

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  /etc/portage/package.unmask/50unstable:<dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 19.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.0
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit a5db8b84ccfed11eea44ed51c516ecaf02f49505
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 1 05:51:26 2024 +0000

    2024-10-01 05:51:26 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-10-01 07:27:18 UTC
Created attachment 904517 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-01 07:27:20 UTC
Created attachment 904518 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-10-01 07:27:21 UTC
Created attachment 904519 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-10-01 07:27:22 UTC
Created attachment 904520 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-10-01 07:27:22 UTC
Created attachment 904521 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-01 07:27:23 UTC
Created attachment 904522 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-01 07:27:24 UTC
Created attachment 904523 [details]
net-libs:libnids-1.26-r1:20241001-063727.log
Comment 8 Toralf Förster gentoo-dev 2024-10-01 07:27:27 UTC
Created attachment 904524 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-01 07:27:29 UTC
Created attachment 904525 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-16 12:39:10 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>