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

Bug 830575

Summary: games-simulation/openrct2-0.3.5.1 calls commands that do not exist
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2022-01-04 07:04:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-simulation/openrct2-0.3.5.1 calls commands that do not exist.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
Please look for 'command not found' and/or 'no such file or directory'.
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-04 07:04:50 UTC
Created attachment 761244 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Conrad Kostecki gentoo-dev 2022-02-12 14:43:16 UTC
Hm, I am not able to reproduce with using clang and lld.

But I see a difference here. It looks like, that your build reports 'IPO not supported', while mine does support it.

This seems to run the CMakeLTOTest, which fails with CMAKE_CXX_COMPILER_AR-NOTFOUND.

But mine seems be set:
OpenRCT2-0.3.5.1_build/CMakeCache.txt:CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/lib/llvm/13/bin/llvm-ar
Comment 3 Larry the Git Cow gentoo-dev 2022-04-10 22:08:43 UTC
The bug has been closed via the following commit(s):

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

commit b7de328fb3def544bbdb1e695a87517dd0b789c8
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-04-10 22:07:57 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-04-10 22:08:30 +0000

    games-simulation/openrct2: fix IPO build
    
    Closes: https://bugs.gentoo.org/830575
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../openrct2/{openrct2-0.3.5.1.ebuild => openrct2-0.3.5.1-r1.ebuild}   | 3 ++-
 games-simulation/openrct2/openrct2-9999.ebuild                         | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)