Summary: | net-fs/nfs-utils-2.5.4-r2: emerge fails on amd64 musl system - sys/queue.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Dummer <martin.dummer> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, martin.dummer |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info Patch to fix build on musl based system |
Created attachment 756674 [details]
emerge --info
Created attachment 756678 [details, diff]
Patch to fix build on musl based system
Does it work if you install sys-libs/queue-standalone? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabfcc2020b0c52c53418bdc6667603f0bfbd6da commit aabfcc2020b0c52c53418bdc6667603f0bfbd6da Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-11-28 01:31:51 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-11-28 01:31:51 +0000 net-fs/nfs-utils: depend on sys-libs/queue-standalone for musl Closes: https://bugs.gentoo.org/827542 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-fs/nfs-utils/nfs-utils-2.5.3-r2.ebuild | 7 +++++-- net-fs/nfs-utils/nfs-utils-2.5.4-r2.ebuild | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) |
Created attachment 756670 [details] build.log On a system freshly build from stage3-amd64-musl-20211121T170545Z.tar.xz nfs-utils fail to emerge. Relevant error message: v4root.c:16:10: fatal error: sys/queue.h: No such file or directory 16 | #include <sys/queue.h> | ^~~~~~~~~~~~~ compilation terminated. I checked net-fs/nfs-utils-2.5.3-r2 also with the same result. See attachments build.log and emerge-info.txt. I also add a patch that fixes this issue for my purpose (musl system!) must be saved as file /etc/portage/patches/net-fs/nfs-utils/musl-fix-queue-header.patch