Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789537 - games-strategy/s25rttr-0.9.0_pre20200723-r100 fails to compile
Summary: games-strategy/s25rttr-0.9.0_pre20200723-r100 fails to compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 808987 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-05-11 21:38 UTC by Agostino Sarubbo
Modified: 2021-09-09 22:37 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,46.88 KB, text/plain)
2021-05-11 21:38 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,44.82 KB, text/plain)
2021-05-11 21: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 2021-05-11 21:38:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/s25rttr-0.9.0_pre20200723-r100 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-11 21:38:47 UTC
Created attachment 707208 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-11 21:38:48 UTC
Created attachment 707211 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-11 22:00:28 UTC
Hmm. Why is this happening?

I see:
> * Working in BUILD_DIR: "/var/tmp/portage/games-strategy/s25rttr-0.9.0_pre20200723-r100/work/s25rttr-0.9.0_pre20200723_build"
>cmake -C /var/tmp/portage/games-strategy/s25rttr-0.9.0_pre20200723-r100/work/s25rttr-0.9.0_pre20200723_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=no -DCCACHE_PROGRAM=OFF -DCMAKE_SKIP_RPATH=ON ->DRTTR_BUILD_UPDATER=OFF -DRTTR_ENABLE_OPTIMIZATIONS=OFF -DRTTR_ENABLE_SANITIZERS=no -DRTTR_INCLUDE_DEVTOOLS=OFF -DRTTR_LIBDIR=lib64/s25rttr -DRTTR_REVISION=f0b97b120140c96bbeacae9c22633f899931db69 -DRTTR_USE_SYSTEM_LIBSAMPLERATE=ON ->DRTTR_VERSION=20200723 -DLUA_VERSION=5.1.5 -DCMAKE_BUILD_TYPE= -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/games-strategy/s25rttr-0.9.0_pre20200723-r100/work/s25rttr-0.9.0_pre20200723_build/gentoo_toolchain.cmake  /var/tmp/portage/games->strategy/s25rttr-0.9.0_pre20200723-r100/work/s25client-f0b97b120140c96bbeacae9c22633f899931db69
>loading initial cache file /var/tmp/portage/games-strategy/s25rttr-0.9.0_pre20200723-r100/work/s25rttr-0.9.0_pre20200723_build/gentoo_common_config.cmake

Note that -DRTTR_REVISION=... is set, while for yours, it's "-DRTTR_REVISION= -D...". It's set to ${COMMIT} in the ebuild, so I don't see how it becomes blank?
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-11 22:03:31 UTC
I'll CC dev-portage but I'm probably missing something very obvious.
Comment 5 Ionen Wolkens gentoo-dev 2021-05-12 06:08:26 UTC
@ago could you provide environment file?

Had a look but can't reproduce nor see how this could happen.

Suspected eclasses might change $COMMIT somehow but I couldn't find anything so far.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-12 06:09:30 UTC
(In reply to Ionen Wolkens from comment #5)
> @ago could you provide environment file?
> 
> Had a look but can't reproduce nor see how this could happen.
> 
> Suspected eclasses might change $COMMIT somehow but I couldn't find anything
> so far.

My guess is possibly some Bash hook.
Comment 7 James Le Cuirot gentoo-dev 2021-08-17 17:29:04 UTC
Actually there's a new release out and I was part way through bumping it but had a little trouble and got sidetracked.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-09 22:37:00 UTC
*** Bug 808987 has been marked as a duplicate of this bug. ***