Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739358 - games-sports/trophy-2.0.3-r1 fails to link with LLD because of /usr/lib in the link command line
Summary: games-sports/trophy-2.0.3-r1 fails to link with LLD because of /usr/lib in th...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2020-08-28 05:38 UTC by Agostino Sarubbo
Modified: 2021-02-25 06:37 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,95.20 KB, text/plain)
2020-08-28 05:38 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)