Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896212 - 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]
Summary: media-gfx/gphoto2-2.5.28 fails to compile (MUSL-CLANG-SYSTEM): main.c:1218:9:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://github.com/gphoto/gphoto2/com...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-24 09:17 UTC by Agostino Sarubbo
Modified: 2023-03-17 23:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,65.61 KB, text/plain)
2023-02-24 09:17 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)