Summary: | media-sound/alsa-utils-1.2.10: fails to compile on musl (type u_intX_t not recognized) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | spykyvenator |
Component: | Current packages | Assignee: | Gentoo ALSA team [DISABLED] <alsa-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://github.com/alsa-project/alsa-utils/pull/234 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info alsa-utils
alsa-utils 1.2.10 build.log |
Can you share the build.log please? Created attachment 870041 [details]
alsa-utils 1.2.10 build.log
Here is the build log
I forgot to mention that I am using an older version of musl: 1.2.3-r8 Thanks, I've sent a few patches upstream at https://github.com/alsa-project/alsa-utils/pull/234. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3dd0b056b2520cd5ef490597e061a0f2a73ef7c commit b3dd0b056b2520cd5ef490597e061a0f2a73ef7c Author: Sam James <sam@gentoo.org> AuthorDate: 2023-09-07 20:35:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-09-07 20:50:17 +0000 media-sound/alsa-utils: fix musl build Closes: https://bugs.gentoo.org/913758 Signed-off-by: Sam James <sam@gentoo.org> media-sound/alsa-utils/Manifest | 1 + media-sound/alsa-utils/alsa-utils-1.2.10-r1.ebuild | 93 ++++++++++++++++++++++ 2 files changed, 94 insertions(+) |
Created attachment 870040 [details] emerge --info alsa-utils alsa-utils failed to build when updating, a patch to include sys/types.h to nhlt-dmic-info.c made things build for me: diff -ruN ../alsa-utils-1.2.10/nhlt/nhlt-dmic-info.c ./nhlt/nhlt-dmic-info.c --- ../alsa-utils-1.2.10/nhlt/nhlt-dmic-info.c 2023-09-01 17:36:26.000000000 +0200 +++ ./nhlt/nhlt-dmic-info.c 2023-09-07 19:20:13.030450794 +0200 @@ -23,6 +23,7 @@ * */ +#include <sys/types.h> #include "aconfig.h" #include <stdint.h> #include <stdio.h> note that I am on musl