Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 713938

Summary: media-libs/mlt-6.20.0-r1 : /.../alltypes.h: error: conflicting types for locale_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: kde, media-video
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/mltframework/mlt/issues/585
See Also: https://bugs.gentoo.org/show_bug.cgi?id=829608
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-libs:mlt-6.20.0-r1:20200321-235233.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-22 12:35:09 UTC
In file included from /usr/include/string.h:23,
                 from mlt_property.c:33:
/usr/include/bits/alltypes.h:343:34: error: conflicting types for locale_t
  343 | typedef struct __locale_struct * locale_t;
      |                                  ^~~~~~~~
In file included from mlt_property.c:28:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 21 22:38:40 UTC 2020
/var/db/repos/musl	Sat Mar 21 19:55:55 UTC 2020

emerge -qpvO media-libs/mlt
[ebuild  N    ] media-libs/mlt-6.20.0-r1  USE="-compressed-lumas -debug -ffmpeg -fftw -frei0r -gtk -jack -kdenlive -libav -libsamplerate -lua -melt -opencv -opengl -python -qt5 -rtaudio -ruby -sdl (-vdpau) -vidstab -xine -xml" CPU_FLAGS_X86="mmx sse sse2" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-03-22 12:35:11 UTC
Created attachment 624172 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-22 12:35:15 UTC
Created attachment 624174 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-22 12:35:17 UTC
Created attachment 624176 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-22 12:35:20 UTC
Created attachment 624178 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-22 12:35:23 UTC
Created attachment 624180 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-22 12:35:25 UTC
Created attachment 624182 [details]
media-libs:mlt-6.20.0-r1:20200321-235233.log
Comment 7 Toralf Förster gentoo-dev 2020-03-22 12:35:28 UTC
Created attachment 624184 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2020-07-01 18:45:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e82bd7a497db607c05f1367417b844dc6a55412

commit 8e82bd7a497db607c05f1367417b844dc6a55412
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-07-01 18:42:27 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-07-01 18:44:50 +0000

    media-libs/mlt: Fix build with musl libc
    
    Closes: https://bugs.gentoo.org/713938
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/mlt/files/mlt-6.20.0-musl-locale.patch | 34 +++++++++++++++++++++++
 media-libs/mlt/mlt-6.20.0-r2.ebuild               |  1 +
 2 files changed, 35 insertions(+)