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

Bug 870187

Summary: media-sound/deadbeef-1.9.1-r2 fails to compile (MUSL): threading_pthread.c:100:12: error: incompatible pointer to integer conversion returning pthread_t (aka struct __pthread ) from a function with result type intptr_t (aka long) [-Wint-conversion]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Piotr Karbowski (RETIRED) <slashbeast>
Status: RESOLVED FIXED    
Severity: normal CC: orbea
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/27377
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-09-15 06:55:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/deadbeef-1.9.1-r2 fails to compile (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-15 06:56:01 UTC
Created attachment 805231 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-09-22 01:09:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4cb8cabb375778e5d27abe788500f6c3011f20

commit 6f4cb8cabb375778e5d27abe788500f6c3011f20
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-09-21 15:45:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-22 01:09:01 +0000

    media-sound/deadbeef: Fix the build with musl
    
    There are two more musl build issues, but they are musl bugs that affect
    code that is force disabled in the ebuild.
    
    See:
      https://github.com/DeaDBeeF-Player/deadbeef/issues/2856
      https://github.com/DeaDBeeF-Player/deadbeef/issues/2857
      https://www.openwall.com/lists/musl/2022/04/12/1
    
    Bug: https://bugs.gentoo.org/870187
    Closes: https://bugs.gentoo.org/870187
    Upstream-Commit: https://github.com/DeaDBeeF-Player/deadbeef/commit/6864a5779fd6beb21507357736e0c988748cec5a
    Upstream-Issue: https://github.com/DeaDBeeF-Player/deadbeef/issues/2858
    Upstream-PR: https://github.com/DeaDBeeF-Player/deadbeef/pull/2859
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/27377
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/deadbeef/deadbeef-1.9.1-r2.ebuild  |  1 +
 media-sound/deadbeef/files/deadbeef-musl.patch | 27 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4cb8cabb375778e5d27abe788500f6c3011f20

commit 6f4cb8cabb375778e5d27abe788500f6c3011f20
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-09-21 15:45:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-22 01:09:01 +0000

    media-sound/deadbeef: Fix the build with musl
    
    There are two more musl build issues, but they are musl bugs that affect
    code that is force disabled in the ebuild.
    
    See:
      https://github.com/DeaDBeeF-Player/deadbeef/issues/2856
      https://github.com/DeaDBeeF-Player/deadbeef/issues/2857
      https://www.openwall.com/lists/musl/2022/04/12/1
    
    Bug: https://bugs.gentoo.org/870187
    Closes: https://bugs.gentoo.org/870187
    Upstream-Commit: https://github.com/DeaDBeeF-Player/deadbeef/commit/6864a5779fd6beb21507357736e0c988748cec5a
    Upstream-Issue: https://github.com/DeaDBeeF-Player/deadbeef/issues/2858
    Upstream-PR: https://github.com/DeaDBeeF-Player/deadbeef/pull/2859
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/27377
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/deadbeef/deadbeef-1.9.1-r2.ebuild  |  1 +
 media-sound/deadbeef/files/deadbeef-musl.patch | 27 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)