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

Bug 936747

Summary: media-libs/mlt-7.24.0 fails to compile: mlt_properties.c:154:22: error: assignment to mlt_locale_t {aka struct __locale_struct } from incompatible pointer type char [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/37746
https://bugs.gentoo.org/show_bug.cgi?id=942663
Whiteboard: fixed in 7.24.0-r1
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-07-27 06:15:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/mlt-7.24.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#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-27 06:15:29 UTC
Created attachment 898391 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-27 06:15:30 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/framework/CMakeFiles/mlt.dir/mlt_properties.c.o 
FAILED: src/framework/CMakeFiles/mlt.dir/mlt_property.c.o 
/var/tmp/portage/media-libs/mlt-7.24.0/work/mlt-7.24.0/src/framework/mlt_properties.c:154:22: error: assignment to 'mlt_locale_t' {aka 'struct __locale_struct *'} from incompatible pointer type 'char *' [-Wincompatible-pointer-types]
Comment 3 Larry the Git Cow gentoo-dev 2024-08-15 19:40:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a3dc5e2d46fec3902d8e2ad11186a8e45618455

commit 5a3dc5e2d46fec3902d8e2ad11186a8e45618455
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-07-27 15:07:54 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-08-15 19:39:47 +0000

    media-libs/mlt: Fix assignment from incompatible pointer type
    
    Closes: https://bugs.gentoo.org/936747
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37746
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../mlt/files/mlt-7.24.0-musl-build-fix.patch      |  54 +++++++
 media-libs/mlt/mlt-7.24.0-r1.ebuild                | 177 +++++++++++++++++++++
 2 files changed, 231 insertions(+)