Summary: | media-libs/mlt-7.4.0 - /.../alltypes.h: error: conflicting types for locale_t; have struct _locale_struct | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, media-video |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=713938 https://github.com/mltframework/mlt/issues/302 https://github.com/gentoo/gentoo/pull/26083 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 media-libs:mlt-7.2.0-r1:20211219-000428.log temp.tar.bz2 |
Description
Toralf Förster
2021-12-19 11:50:05 UTC
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(+) |