from /usr/include/pthread.h:31, from /var/tmp/portage/media-libs/mlt-7.2.0-r1/work/mlt-7.2.0/src/framework/../framework/mlt_transition.h:27, from /var/tmp/portage/media-libs/mlt-7.2.0-r1/work/mlt-7.2.0/src/framework/../framework/mlt.h:47, from /var/tmp/portage/media-libs/mlt-7.2.0-r1/work/mlt-7.2.0/src/modules/plus/filter_shape.c:22: /usr/include/bits/alltypes.h:343:34: error: conflicting types for 'locale_t'; have 'struct __locale_struct *' 343 | typedef struct __locale_struct * locale_t; | ^~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-j4-20211217-040058 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.1 * clang version 13.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.57.0 * php cli: [1] php7.3 [2] php7.4 [3] php8.1 * HEAD of ::gentoo commit 8c3bfd7dd8449bdf2b54a1550d689875a9f01402 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Dec 18 23:06:44 2021 +0000 2021-12-18 23:06:43 UTC emerge -qpvO media-libs/mlt [ebuild N ] media-libs/mlt-7.2.0-r1 USE="-debug -ffmpeg -frei0r -gtk -jack -libsamplerate -opencv -opengl -python -qt5 -rtaudio -rubberband -sdl -test (-vdpau) -vidstab -xine -xml" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Created attachment 759669 [details] emerge-info.txt
Created attachment 759670 [details] emerge-history.txt
Created attachment 759671 [details] environment
Created attachment 759672 [details] etc.portage.tar.bz2
Created attachment 759673 [details] logs.tar.bz2
Created attachment 759674 [details] media-libs:mlt-7.2.0-r1:20211219-000428.log
Created attachment 759675 [details] temp.tar.bz2
What about 7.4.0?
(In reply to Andreas Sturmlechner from comment #8) > What about 7.4.0? same problem (under musl)
tinderbox_musl has reproduced this issue with version 7.4.0 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff80614a9657203b3d50042bd266e7e90f6812f commit 1ff80614a9657203b3d50042bd266e7e90f6812f Author: Alfred Persson Forsberg <cat@catcream.org> AuthorDate: 2022-06-26 19:14:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-26 20:08:25 +0000 media-libs/mlt: fix build for musl There is no gurantee that either HAVE_STRTOD_L or HAVE_LOCALE_H will be defined at compile-time. Try for example building this project :) The locale usage is now defined in POSIX and therefore we can now assume it will be available on Linux, except for ancient systems. https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/locale.h.html Another way of dealing with this would be to have a global mlt_config.h where HAVE_LOCALE_H and HAVE_STRTOD_L are defined to values determined when mlt is installed. See-also: https://git.alpinelinux.org/aports/tree/community/mlt/musl-locale.patch, https://github.com/mltframework/mlt/pull/803 Closes: https://bugs.gentoo.org/829608 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/gentoo/pull/26083 Signed-off-by: Sam James <sam@gentoo.org> .../mlt/files/mlt-7.8.0-linux_locale_h.patch | 37 ++++++++++++++++++++++ media-libs/mlt/mlt-7.8.0.ebuild | 1 + 2 files changed, 38 insertions(+)