| Summary: | dev-python/python-rtmidi-1.4.9 fails to compile (MUSL): The 'pthread' library is required to build python-rtmidi onLinux. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | Marek Szuba <marecki> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Agostino Sarubbo
2022-10-04 06:59:44 UTC
Created attachment 818443 [details]
build.log
build log and emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5e56ad57c2db3f6c4903042f8c870611ab6d969 commit a5e56ad57c2db3f6c4903042f8c870611ab6d969 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2022-10-04 10:14:17 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2022-10-04 10:20:40 +0000 dev-python/python-rtmidi: do not look for libpthread This is a glibcism, and in any case it's rtmidi and python-rtmidi which depends on threads. Closes: https://bugs.gentoo.org/874828 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../files/python-rtmidi-1.4.9-unbundle_rtmidi.patch | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) Thanks Marecki. It's also a good fix for another reason: find_library is really fragile in Python and is considered a mistake in the API. |