https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/libratbag-0.16 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 761226 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: ../libratbag-0.16/tools/hidpp20-reset.c:26:10: fatal error: error.h: No such file or directory /var/tmp/portage/dev-libs/libratbag-0.16/temp/environment: line 2167: type: locale: not found ../libratbag-0.16/tools/hidpp20-reset.c:26:10: fatal error: error.h: No such file or directory
It looks like this is already fixed in 0.17 which is still in progress. I have opened upstream bug https://github.com/libratbag/libratbag/issues/1253 just in case.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7fe66b67489c54ae8244dbbe7d801aed073952f commit d7fe66b67489c54ae8244dbbe7d801aed073952f Author: brahmajit das <brahmajit.xyz@gmail.com> AuthorDate: 2022-07-16 07:42:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-18 00:26:12 +0000 dev-libs/libratbag-: Fix missing error.h error on musl Since musl doesn't provide error.h we need to check before adding it. If error.h is present in system only then we include it else we use err.h. Already there exists a bug report for this upstream [1]. The devs are open to a custom implementation of error but for now this patch for do it. [1]: https://github.com/libratbag/libratbag/issues/1253 Closes: https://bugs.gentoo.org/830557 Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26437 Signed-off-by: Sam James <sam@gentoo.org> .../files/libratbag-0.16-musl-error.h.patch | 69 ++++++++++++++++++++++ dev-libs/libratbag/libratbag-0.16.ebuild | 4 ++ 2 files changed, 73 insertions(+)