Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 734184

Summary: app-emulation/libspectrum fails to link with LLD because of /usr/lib in the link command line
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Jan Ziak (atomsymbol) <0xe2.0x9a.0x9b>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16885
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-07-28 10:06:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-emulation/libspectrum fails to link with LLD because of /usr/lib in the link command line.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-28 10:06:46 UTC
Created attachment 651102 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-08-16 08:01:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=687d699e1b6392decd2dad1fb8966ddb62323708

commit 687d699e1b6392decd2dad1fb8966ddb62323708
Author:     Jan Ziak <0xe2.0x9a.0x9b@gmail.com>
AuthorDate: 2020-07-28 15:30:54 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-08-16 08:00:57 +0000

    app-emulation/libspectrum: avoid /usr/lib in the link command line
    
    Closes: https://bugs.gentoo.org/734184
    Signed-off-by: Jan Ziak <0xe2.0x9a.0x9b@gmail.com>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../libspectrum/files/remove-local-prefix.patch        | 18 ++++++++++++++++++
 app-emulation/libspectrum/libspectrum-1.4.4.ebuild     | 11 +++++++++++
 2 files changed, 29 insertions(+)