Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925247 - sys-process/uksmd-6.5.1 fails to compile: uksmd.c:29:10: fatal error: pidfd.h: No such file or directory
Summary: sys-process/uksmd-6.5.1 fails to compile: uksmd.c:29:10: fatal error: pidfd.h...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-22 10:32 UTC by Agostino Sarubbo
Modified: 2024-12-23 23:31 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,42.39 KB, text/plain)
2024-02-22 10:32 UTC, Agostino Sarubbo
Details
Proposed fix (musl.diff,696 bytes, patch)
2024-12-23 19:56 UTC, Oleksandr Natalenko
Details | Diff
Proposed fix, v2 (musl.diff,740 bytes, patch)
2024-12-23 23:31 UTC, Oleksandr Natalenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-22 10:32:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-process/uksmd-6.5.1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-22 10:32:09 UTC
Created attachment 885698 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-22 10:32:10 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


../uksmd/uksmd.c:29:10: fatal error: sys/pidfd.h: No such file or directory
FAILED: uksmd.p/uksmd.c.o 
../uksmd/uksmd.c:29:10: fatal error: sys/pidfd.h: No such file or directory
Comment 3 bhzhu203 2024-04-12 05:55:38 UTC
I have sucessfully compiled it in archlinux . But failed in Ubuntu.
Comment 4 bhzhu203 2024-04-12 06:28:41 UTC
(In reply to bhzhu203 from comment #3)
> I have sucessfully compiled it in archlinux . But failed in Ubuntu.

I could build compile uksmd static in archlinux. Then use it anywhere.
Comment 5 Oleksandr Natalenko 2024-12-23 19:56:02 UTC
Created attachment 914803 [details, diff]
Proposed fix

Hello.

Could you please check if the proposed fix attached addresses the issue?

Thanks.
Comment 6 Oleksandr Natalenko 2024-12-23 23:31:03 UTC
Created attachment 914804 [details, diff]
Proposed fix, v2

Updated the diff to v2. I'm blind guessing here, need someone with Gentoo to actually test this.