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

Bug 896212

Summary: media-gfx/gphoto2-2.5.28 fails to compile (MUSL-CLANG-SYSTEM): main.c:1218:9: error: incompatible pointer to integer conversion returning pthread_t (aka struct __pthread ) from a function with result type unsigned int [-Wint-conversion]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/gphoto/gphoto2/commit/366930ccc1a261c3eb883da2bf3c655162ccd75f
See Also: https://github.com/gphoto/gphoto2/pull/569
Whiteboard: fixed in 2.5.28-r1
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-24 09:17:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/gphoto2-2.5.28 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-24 09:17:52 UTC
Created attachment 854294 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-03-17 23:56:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f044d7b5f70314f72ec500664d240877ea2242

commit 81f044d7b5f70314f72ec500664d240877ea2242
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-17 22:39:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-17 23:56:11 +0000

    media-gfx/gphoto2: fix build w/ clang 16
    
    Closes: https://bugs.gentoo.org/896212
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gphoto2/files/gphoto2-2.5.28-clang-16.patch    | 77 ++++++++++++++++++++++
 media-gfx/gphoto2/gphoto2-2.5.28-r1.ebuild         | 54 +++++++++++++++
 2 files changed, 131 insertions(+)