Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905900 - sys-apps/systemd-utils-252.10 fails to compile (MUSL-SYSTEM): dirent-util.h:38:43: error: invalid application of 'sizeof' to incomplete type 'struct dirent64'
Summary: sys-apps/systemd-utils-252.10 fails to compile (MUSL-SYSTEM): dirent-util.h:3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard: fixed in 253.4
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-07 19:58 UTC by Agostino Sarubbo
Modified: 2023-12-21 19:43 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,233.60 KB, text/plain)
2023-05-07 19:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-07 19:58:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/systemd-utils-252.10 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-07 19:58:36 UTC
Created attachment 861280 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-07 19:58:37 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/basic/libbasic.a.p/cgroup-util.c.o 
FAILED: src/basic/libbasic.a.p/conf-files.c.o 
FAILED: src/basic/libbasic.a.p/dirent-util.c.o 
Program jekyll found: NO
Program kexec /usr/sbin/kexec /sbin/kexec found: NO
Program quotacheck /usr/sbin/quotacheck /sbin/quotacheck found: NO
Program quotaon /usr/sbin/quotaon /sbin/quotaon found: NO
Program rpm found: NO
Program rpmspec found: NO
Run-time dependency libbpf found: NO (tried pkgconfig and cmake)
Run-time dependency tss2-esys tss2-rc tss2-mu found: NO (tried pkgconfig and cmake)
../systemd-stable-252.10/src/basic/dirent-util.h:38:43: error: invalid application of 'sizeof' to incomplete type 'struct dirent64'
Comment 3 Larry the Git Cow gentoo-dev 2023-05-10 00:54:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc93e053eb3891497a24365d3dd8a0e143e8dd74

commit fc93e053eb3891497a24365d3dd8a0e143e8dd74
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-10 00:51:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-10 00:51:13 +0000

    sys-apps/systemd-utils: fix build w/ musl-1.2.4
    
    Closes: https://bugs.gentoo.org/905900
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/systemd-utils-253.4-musl-lfs.patch       | 52 ++++++++++++++++++++++
 sys-apps/systemd-utils/systemd-utils-253.4.ebuild  |  7 ++-
 2 files changed, 58 insertions(+), 1 deletion(-)