https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/adblock-0.5.1 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 762112 [details] build.log build log and emerge --info
patchelf is kind of a maturin optfeature with recent versions but think it may be required on musl (isn't with glibc, or at least not for adblock). I'll have a closer look at the patchelf situation next bump given it's changing things around regarding it.
Upon closer look, optimally would want to disable patchelf use -- seems musl is confusing it in trying to add libgcc_s to the wheel (that we don't use): adblock.libs/libgcc_s-044e2301.so.1 ...and using patchelf so it can find it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f10824a259721addcde8ae65d21d7b2ac72b8603 commit f10824a259721addcde8ae65d21d7b2ac72b8603 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-01-14 09:44:46 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-01-14 09:57:59 +0000 dev-python/adblock: pass --skip-auditwheel to maturin Without it maturin attempts to look at linked libraries and bundle them within the wheel (using patchelf to find them), and on musl it thinks it should bundle libgcc_s.so. This is also in a scenerio where we don't install using this wheel. May prevent future issues on glibc as well, so unconditionally pass. Option is valid for stable ~maturin-0.11.5 as well, albeit it doesn't do this nor use patchelf and wasn't necessary. Closes: https://bugs.gentoo.org/831171 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-python/adblock/adblock-0.5.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
*** Bug 831189 has been marked as a duplicate of this bug. ***