Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831171 - dev-python/adblock-0.5.1 fails to compile: Failed to execute patchelf, did you install it?
Summary: dev-python/adblock-0.5.1 fails to compile: Failed to execute patchelf, did yo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Stefan Strogin
URL:
Whiteboard:
Keywords:
: 831189 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-14 08:20 UTC by Agostino Sarubbo
Modified: 2022-01-14 12:50 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,106.17 KB, text/plain)
2022-01-14 08:20 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 2022-01-14 08:20:39 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-14 08:20:41 UTC
Created attachment 762112 [details]
build.log

build log and emerge --info
Comment 2 Ionen Wolkens gentoo-dev 2022-01-14 08:39:25 UTC
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.
Comment 3 Ionen Wolkens gentoo-dev 2022-01-14 09:28:30 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2022-01-14 09:58:54 UTC
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(-)
Comment 5 Ionen Wolkens gentoo-dev 2022-01-14 12:50:12 UTC
*** Bug 831189 has been marked as a duplicate of this bug. ***