Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917016 - games-simulation/openrct2-0.4.6 - /.../FileWatcher.cpp: error: find_if is not a member of std
Summary: games-simulation/openrct2-0.4.6 - /.../FileWatcher.cpp: error: find_if is not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL: https://github.com/OpenRCT2/OpenRCT2/...
Whiteboard: fixed in 0.4.6
Keywords: PATCH
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-11-07 22:33 UTC by Toralf Förster
Modified: 2024-11-01 18:14 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.46 KB, text/plain)
2023-11-07 22:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,161.91 KB, text/plain)
2023-11-07 22:33 UTC, Toralf Förster
Details
environment (environment,101.91 KB, text/plain)
2023-11-07 22:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-07 22:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.07 KB, application/x-xz)
2023-11-07 22:33 UTC, Toralf Förster
Details
games-simulation:openrct2-0.4.6:20231107-215052.log (games-simulation:openrct2-0.4.6:20231107-215052.log,206.69 KB, text/plain)
2023-11-07 22:33 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,249.71 KB, text/plain)
2023-11-07 22:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.04 KB, application/x-xz)
2023-11-07 22:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-11-07 22:33:38 UTC
too long lines were shrinked:

[127/452] /usr/bin/x86_64-pc-linux-gnu-g++ -DDOCDIR=\"/usr//usr/share/doc/openrct2-0.4.6\" -D__WARN_SUGGEST_FINAL_METHODS__ -D__WARN_SUGGEST_FINAL_TYPES__ -Dlibopenrct2_EXPORTS -I/var/tmp/portage/games-simulation/openrct2-0.4.6/work/OpenRCT2-0.4.6/src/openrct2/../thirdparty/duktape -I/var/tmp/portag
[128/452] /usr/bin/x86_64-pc-linux-gnu-g++ -DDOCDIR=\"/usr//usr/share/doc/openrct2-0.4.6\" -D__WARN_SUGGEST_FINAL_METHODS__ -D__WARN_SUGGEST_FINAL_TYPES__ -Dlibopenrct2_EXPORTS -I/var/tmp/portage/games-simulation/openrct2-0.4.6/work/OpenRCT2-0.4.6/src/openrct2/../thirdparty/duktape -I/var/tmp/portag
[129/452] /usr/bin/x86_64-pc-linux-gnu-g++ -DDOCDIR=\"/usr//usr/share/doc/openrct2-0.4.6\" -D__WARN_SUGGEST_FINAL_METHODS__ -D__WARN_SUGGEST_FINAL_TYPES__ -Dlibopenrct2_EXPORTS -I/var/tmp/portage/games-simulation/openrct2-0.4.6/work/OpenRCT2-0.4.6/src/openrct2/../thirdparty/duktape -I/var/tmp/portag
FAILED: CMakeFiles/libopenrct2.dir/src/openrct2/core/FileWatcher.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DDOCDIR=\"/usr//usr/share/doc/openrct2-0.4.6\" -D__WARN_SUGGEST_FINAL_METHODS__ -D__WARN_SUGGEST_FINAL_TYPES__ -Dlibopenrct2_EXPORTS -I/var/tmp/portage/games-simulation/openrct2-0.4.6/work/OpenRCT2-0.4.6/src/openrct2/../thirdparty/duktape -I/var/tmp/portage/games-si
/var/tmp/portage/games-simulation/openrct2-0.4.6/work/OpenRCT2-0.4.6/src/openrct2/core/FileWatcher.cpp: In member function void FileWatcher::WatchDirectory():
/var/tmp/portage/games-simulation/openrct2-0.4.6/work/OpenRCT2-0.4.6/src/openrct2/core/FileWatcher.cpp:235:48: error: find_if is not a member of std; did you mean find?
  235 |                         auto findResult = std::find_if(
      |                                                ^~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20231105-204015

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
2)	Eclipse Temurin JRE 21.0.1_p12 [openjdk-jre-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-jre-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.3 linux/amd64

  HEAD of ::gentoo
commit 16b3ce0f1fd70148cedf65239b57968da60af2ff
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 7 21:02:02 2023 +0000

    2023-11-07 21:02:01 UTC

emerge -qpvO games-simulation/openrct2
[ebuild  N    ] games-simulation/openrct2-0.4.6  USE="dedicated flac opengl scripting truetype vorbis -test"
Comment 1 Toralf Förster gentoo-dev 2023-11-07 22:33:39 UTC
Created attachment 874275 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-07 22:33:41 UTC
Created attachment 874276 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-11-07 22:33:42 UTC
Created attachment 874277 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-07 22:33:43 UTC
Created attachment 874278 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-07 22:33:44 UTC
Created attachment 874279 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-07 22:33:45 UTC
Created attachment 874280 [details]
games-simulation:openrct2-0.4.6:20231107-215052.log
Comment 7 Toralf Förster gentoo-dev 2023-11-07 22:33:47 UTC
Created attachment 874281 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-11-07 22:33:48 UTC
Created attachment 874282 [details]
temp.tar.xz
Comment 9 Kostadin Shishmanov 2023-11-16 19:48:29 UTC
Upstream PR: https://github.com/OpenRCT2/OpenRCT2/pull/20981
Comment 10 Larry the Git Cow gentoo-dev 2023-11-16 20:38:14 UTC
The bug has been closed via the following commit(s):

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

commit 1d19803e7db93e18bc890f10079177319dc6b563
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2023-11-16 20:37:02 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2023-11-16 20:37:02 +0000

    games-simulation/openrct2: fix compilation with gcc14
    
    Closes: https://bugs.gentoo.org/917016
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../openrct2/files/openrct2-0.4.6-gcc14.patch      | 30 ++++++++++++++++++++++
 games-simulation/openrct2/openrct2-0.4.6.ebuild    |  1 +
 2 files changed, 31 insertions(+)