Created attachment 683221 [details] build log When building libpciaccess with slibtool the ebuild fails. MAKEFLAGS='LIBTOOL=rlibtool' emerge -av1 x11-libs/libpciaccess This is because the build contains this line. /bin/sh libtool --mode=install "$(type -P install)" -c scanpci/scanpci "${ED}"/usr/bin || die Which obvious will not work when the rest of the build was done with slibtool. Even worse it fails because GNU libtool decides that instead of installing the file it will execute it and triggers a sandbox violation. If '/bin/sh libtool' is replaced with 'rlibtool' the build works just fine. A better solution would be to patch the build system directly instead of executing libtool manually.
Created attachment 683224 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=970bdc895c2c3b5ca2a1fb3c3c56c83ec97ed14f commit 970bdc895c2c3b5ca2a1fb3c3c56c83ec97ed14f Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-01-17 02:15:17 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-01-17 02:16:14 +0000 x11-libs/libpciaccess: Use autotools to install scanpci Closes: https://bugs.gentoo.org/765706 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> x11-libs/libpciaccess/libpciaccess-0.16.ebuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)