Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933242 - sys-kernel/genkernel-4.3.14 with >=sys-libs/glibc-2.36 and >=sys-devel/gcc-14: failed to compile util-linux-2.38.1
Summary: sys-kernel/genkernel-4.3.14 with >=sys-libs/glibc-2.36 and >=sys-devel/gcc-14...
Status: RESOLVED DUPLICATE of bug 932397
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-31 09:00 UTC by Arusekk
Modified: 2024-05-31 11:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arusekk 2024-05-31 09:00:56 UTC
The old util-linux version no longer compiles using GCC 14 errors on implicit function declarations by default.

It can be fixed either by updating bundled util-linux to >=2.39, or by cherry-picking the upstream patch:

mkdir -p /usr/share/genkernel/patches/util-linux/2.38.1
wget -O /usr/share/genkernel/patches/util-linux/2.38.1/check-for-sys-pidfd-h.patch https://github.com/util-linux/util-linux/commit/84732a8849a08d42a9a95dcbee9005116be78eb8

Reproducible: Always

Steps to Reproduce:
1. genkernel --clear-cachedir initramfs
Actual Results:  
fails to compile util-linux due to implicit function declaration of pidfd_open+pidfd_send_signal

Expected Results:  
compiles and installs initramfs
Comment 1 Arusekk 2024-05-31 11:04:16 UTC

*** This bug has been marked as a duplicate of bug 932397 ***