rm: cannot remove '/var/tmp/portage/dev-libs/hyphen-2.8.8-r1/image/usr/lib*/libhyphen.la': No such file or directory * ERROR: dev-libs/hyphen-2.8.8-r1::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_install * environment, line 1668: Called die * The specific snippet of code: * rm "${ED}"/usr/lib*/libhyphen.la || die
Created attachment 690942 [details] hyphen-2.8.8-r1:20210312-094905.log buildlog
This is an ebuild bug. https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/hyphen/hyphen-2.8.8-r1.ebuild#n32 slibtool does not install .la files by default and the ebuild should either use find(1) so that only existing files are removed or 'rm -f' so that it doesn't fail when the files are not present.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de36c6a9d563fc70196bd620bd2113c27f38559e commit de36c6a9d563fc70196bd620bd2113c27f38559e Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-16 21:47:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-16 21:47:52 +0000 dev-libs/hyphen: forcefully delete .la file Fixes build with slibtool. Closes: https://bugs.gentoo.org/775587 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/hyphen/hyphen-2.8.8-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)