Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775587 - dev-libs/hyphen-2.8.8-r1 rm: cannot remove '/var/tmp/portage/dev-libs/hyphen-2.8.8-r1/image/usr/lib*/': No such file or directory when using slibtool
Summary: dev-libs/hyphen-2.8.8-r1 rm: cannot remove '/var/tmp/portage/dev-libs/hyphen-...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
Depends on:
Blocks: slibtool
  Show dependency tree
Reported: 2021-03-12 09:51 UTC by Alessandro Barbieri
Modified: 2021-03-16 21:51 UTC (History)
2 users (show)

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

hyphen-2.8.8-r1:20210312-094905.log (hyphen-2.8.8-r1:20210312-094905.log,21.40 KB, text/plain)
2021-03-12 09:52 UTC, Alessandro Barbieri

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-03-12 09:51:56 UTC
rm: cannot remove '/var/tmp/portage/dev-libs/hyphen-2.8.8-r1/image/usr/lib*/': No such file or directory                                                                                               
 * ERROR: dev-libs/hyphen-2.8.8-r1::gentoo failed (install phase):  
 *   (no error message)                                                                                  
 * Call stack:                                                                                           
 *, line 125:  Called src_install                                                          
 *   environment, line 1668:  Called die                                                                 
 * The specific snippet of code:                                                                         
 *       rm "${ED}"/usr/lib*/ || die
Comment 1 Alessandro Barbieri 2021-03-12 09:52:23 UTC
Created attachment 690942 [details]

Comment 2 orbea 2021-03-16 16:02:43 UTC
This is an ebuild bug.

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.
Comment 3 Larry the Git Cow gentoo-dev 2021-03-16 21:51:00 UTC
The bug has been closed via the following commit(s):

commit de36c6a9d563fc70196bd620bd2113c27f38559e
Author:     Sam James <>
AuthorDate: 2021-03-16 21:47:52 +0000
Commit:     Sam James <>
CommitDate: 2021-03-16 21:47:52 +0000

    dev-libs/hyphen: forcefully delete .la file
    Fixes build with slibtool.
    Signed-off-by: Sam James <>

 dev-libs/hyphen/hyphen-2.8.8-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)