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*/libhyphen.la': 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-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
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: ---


Attachments
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
Details

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*/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
Comment 1 Alessandro Barbieri 2021-03-12 09:52:23 UTC
Created attachment 690942 [details]
hyphen-2.8.8-r1:20210312-094905.log

buildlog
Comment 2 orbea 2021-03-16 16:02:43 UTC
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.
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):

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(-)