https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/python-rtmidi-1.4.9 fails to compile (MUSL). Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
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.