https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-sound/alacenc-0.4.0 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
Created attachment 888677 [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: FAILED: CMakeFiles/alacenc.dir/atoms.cpp.o FAILED: CMakeFiles/alacenc.dir/encoder.cpp.o FAILED: CMakeFiles/alacenc.dir/main.cpp.o FAILED: CMakeFiles/alacenc.dir/tags.cpp.o FAILED: CMakeFiles/alacenc.dir/types.cpp.o FAILED: CMakeFiles/alacenc.dir/wavheader.cpp.o /var/tmp/portage/media-sound/alacenc-0.4.0/work/alacenc-0.4.0/types.h:59:16: error: redefinition of 'uint8_t toBigEndian(uint8_t)'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10dfb40fbc837b96626e586b484ed308fbc3ce6b commit 10dfb40fbc837b96626e586b484ed308fbc3ce6b Author: Philipp Rösner <rndxelement@protonmail.com> AuthorDate: 2024-04-03 21:16:15 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-06-01 09:31:35 +0000 media-sound/alacenc: fix musl build Add patch for including missing endian.h header file. Replace use of 'uint' with 'unsigned int'. Closes: https://bugs.gentoo.org/927902 Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/36085 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> media-sound/alacenc/alacenc-0.4.0.ebuild | 4 +++ media-sound/alacenc/files/alacenc-0.4.0-musl.patch | 30 ++++++++++++++++++++++ 2 files changed, 34 insertions(+)