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>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/17486
Whiteboard:
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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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)

NOTE:
This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-28 05:38:54 UTC
Created attachment 657218 [details]
build.log

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

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

commit ac1dfffc8f5c1360d1b107120555d9b43e92ba78
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2020-09-09 22:08:58 +0000
Commit:     Sam James <sam@gentoo.org>
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.
    
    Bug: https://bugs.gentoo.org/739358
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/17486
    Signed-off-by: Sam James <sam@gentoo.org>

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