Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730806 - games-fps/qudos-0.40.1 fails to link with LLD because of /usr/lib in the link command line
Summary: games-fps/qudos-0.40.1 fails to link with LLD because of /usr/lib in the link...
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: PMASKED
: 739240 (view as bug list)
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2020-07-05 08:20 UTC by Agostino Sarubbo
Modified: 2022-10-24 19:27 UTC (History)
0 users

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


Attachments
build.log (build.log,52.91 KB, text/plain)
2020-07-05 08:20 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-07-05 08:20:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-fps/qudos fails to compile.
Discovered on: amd64

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-05 08:20:28 UTC
Created attachment 647668 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-14 13:53:06 UTC
*** Bug 739240 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2022-10-24 19:26:45 UTC
The bug has been closed via the following commit(s):

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

commit 8a8f555584d6806e35409cb85f652dcf37e2ed8c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-24 17:17:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-24 19:21:05 +0000

    games-fps/qudos: almost fix build w/ Clang 16
    
    - Drop various seds, converting them into patches
    - Fix build with libpng 1.4.0 too
    - Fix build on modern glibc
    - Use pkg-config (and therefore fix build on LLD)
    
    This nearly got there wrt Clang 16, but then ended up hitting
    -Wincompatible-function-pointer-types with some USE flags
    and got fed up.
    
    Bug: https://bugs.gentoo.org/874486
    Closes: https://bugs.gentoo.org/730806
    Closes: https://bugs.gentoo.org/770904
    Signed-off-by: Sam James <sam@gentoo.org>

 .../qudos/files/qudos-0.40.1-libjpeg-clash.patch   |  25 +++++
 games-fps/qudos/files/qudos-0.40.1-libpng.patch    |  30 +++++
 games-fps/qudos/files/qudos-0.40.1-libpng15.patch  |  10 --
 .../qudos/files/qudos-0.40.1-no-bits-nan.patch     |  12 ++
 .../qudos/files/qudos-0.40.1-respect-cc.patch      |  15 +++
 .../qudos/files/qudos-0.40.1-respect-libdir.patch  |  53 +++++++++
 .../qudos/files/qudos-0.40.1-use-pkg-config.patch  |  30 +++++
 .../qudos/files/qudos-0.40.1-zlib-build.patch      |  12 ++
 ...{qudos-0.40.1.ebuild => qudos-0.40.1-r1.ebuild} | 121 ++++++++++-----------
 9 files changed, 235 insertions(+), 73 deletions(-)