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

Bug 739358

Summary: games-sports/trophy-2.0.3-r1 fails to link with LLD because of /usr/lib in the link command line
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Severity: normal CC: sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-08-28 05:38:51 UTC

Issue: games-sports/trophy-2.0.3-r1 fails to link with LLD because of /usr/lib in the link command line.
Discovered on: amd64 (internal ref: tinderbox)

This PR gives an idea about a fix:
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-28 05:38:54 UTC
Created attachment 657218 [details]

build log and emerge --info
Comment 2 Azamat H. Hackimov 2020-09-09 21:19:08 UTC
dev-games/clanlib:0.8 is cause of problem. Thier *.pc files defines libdir=${prefix}lib instead of /usr/lib64.
Comment 3 Larry the Git Cow gentoo-dev 2021-02-25 06:36:13 UTC
The bug has been referenced in the following commit(s):

commit ac1dfffc8f5c1360d1b107120555d9b43e92ba78
Author:     Azamat H. Hackimov <>
AuthorDate: 2020-09-09 22:08:58 +0000
Commit:     Sam James <>
CommitDate: 2021-02-25 06:36:04 +0000

    dev-games/clanlib: fixes to 0.8.1 version
    Fix pkg-config files (#739358), update ebuild to EAPI7, fix
    documentation installation, unify patches for eapply's -p1 level, remove
    deprecated eclasses.
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Azamat H. Hackimov <>
    Signed-off-by: Sam James <>

 dev-games/clanlib/clanlib-0.8.1-r1.ebuild          | 82 ++++++++++++++++++++++
 .../clanlib/files/clanlib-0.8.1-docbuilder.patch   | 30 ++++++++
 dev-games/clanlib/files/clanlib-0.8.1-gcc43.patch  |  8 +--
 .../clanlib/files/clanlib-0.8.1-libpng15.patch     |  4 +-
 dev-games/clanlib/files/clanlib-0.8.1-ndebug.patch |  4 +-
 5 files changed, 120 insertions(+), 8 deletions(-)