This appears to be a double prefix of sorts. The failure rm: cannot remove '/storage/strogdon/gentoo-rap/var/tmp/portage/sci-mathematics/giac-1.7.0.13-r1/image/storage/strogdon/gentoo-rap/usr/share/doc/giac-1.7.0.13-r1/doc/Exemples': No such file or directory * ERROR: sci-mathematics/giac-1.7.0.13-r1::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_install * environment, line 2108: Called die * The specific snippet of code: * rm -r "${ED}/usr/share/doc/${PF}/doc/Exemples" || die; The Exemples folder is located under /storage/strogdon/gentoo-rap/var/tmp/portage/sci-mathematics/giac-1.7.0.13-r1/image/usr/share/giac/doc/ And under my prefix's image folder there is ls -al /storage/strogdon/gentoo-rap/var/tmp/portage/sci-mathematics/giac-1.7.0.13-r1/image total 16 drwxr-xr-x 4 terry terry 4096 Dec 16 21:55 . drwx------ 10 terry terry 4096 Dec 16 21:55 .. drwxr-xr-x 3 terry terry 4096 Dec 16 21:55 storage drwxr-xr-x 3 terry terry 4096 Dec 16 21:55 usr
I believe the fix for this is that in src_configure we should have @@ -88,7 +88,7 @@ --enable-gmpxx \ --disable-samplerate \ --disable-micropy \ - --docdir=/usr/share/giac/doc \ + --docdir="${EPREFIX}"/usr/share/giac/doc \ $(use_enable static-libs static) \ $(use_enable gui) \ $(use_enable gui png) \
if that works for you, I can commit that change (looks sensical)
(In reply to Fabian Groffen from comment #2) > if that works for you, I can commit that change (looks sensical) Yes, it works here. With the change: >>> Completed installing sci-mathematics/giac-1.7.0.13-r1 into /storage/strogdon/gentoo-rap/var/tmp/portage/sci-mathematics/giac-1.7.0.13-r1/image
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc4a10ede9f57abd1770d5c6ac20184ec317fa6 commit ecc4a10ede9f57abd1770d5c6ac20184ec317fa6 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-12-18 17:31:41 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-12-18 17:32:07 +0000 sci-mathematics/giac-1.7.0.13-r1: fix build for Prefix Closes: https://bugs.gentoo.org/829385 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Fabian Groffen <grobian@gentoo.org> sci-mathematics/giac/giac-1.7.0.13-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)