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

Bug 894740

Summary: games-simulation/openrct2-0.4.3 - /.../ParkFile.cpp: error: PARK_FILE_CURRENT_VERSION was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/OpenRCT2/OpenRCT2/pull/19519
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
games-simulation:openrct2-0.4.3:20230216-071152.log.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-02-16 08:27:19 UTC
too long lines were shrinked:

/var/tmp/portage/games-simulation/openrct2-0.4.3/work/OpenRCT2-0.4.3/src/openrct2/park/ParkFile.h:18:15: note: uint32_t is defined in header <cstdint>; did you forget to #include <cstdint>?
/var/tmp/portage/games-simulation/openrct2-0.4.3/work/OpenRCT2-0.4.3/src/openrct2/park/ParkFile.h:20:15: error: uint32_t does not name a type
   20 |     constexpr uint32_t PARK_FILE_MAGIC = 0x4B524150; // PARK
      |               ^~~~~~~~
/var/tmp/portage/games-simulation/openrct2-0.4.3/work/OpenRCT2-0.4.3/src/openrct2/park/ParkFile.h:20:15: note: uint32_t is defined in header <cstdint>; did you forget to #include <cstdint>?
/var/tmp/portage/games-simulation/openrct2-0.4.3/work/OpenRCT2-0.4.3/src/openrct2/park/ParkFile.cpp: In member function void OpenRCT2::ParkFile::ThrowIfIncompatibleVersion():
/var/tmp/portage/games-simulation/openrct2-0.4.3/work/OpenRCT2-0.4.3/src/openrct2/park/ParkFile.cpp:113:100: error: PARK_FILE_CURRENT_VERSION was not declared in this scope
  113 |             if (/*header.TargetVersion < PARK_FILE_MIN_SUPPORTED_VERSION || */ header.MinVersion > PARK_FILE_CURRENT_VERSION)
      |                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20230214-230019

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit 874396b2853862adb883bcd5951dcd3002901ec4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Feb 16 06:46:51 2023 +0000

    2023-02-16 06:46:51 UTC

emerge -qpvO games-simulation/openrct2
[ebuild  N    ] games-simulation/openrct2-0.4.3  USE="flac opengl scripting truetype vorbis -dedicated -test"
Comment 1 Toralf Förster gentoo-dev 2023-02-16 08:27:20 UTC
Created attachment 851708 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-16 08:27:21 UTC
Created attachment 851710 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-16 08:27:23 UTC
Created attachment 851712 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-16 08:27:23 UTC
Created attachment 851714 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-16 08:27:24 UTC
Created attachment 851716 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-16 08:27:25 UTC
Created attachment 851718 [details]
games-simulation:openrct2-0.4.3:20230216-071152.log.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-16 08:27:26 UTC
Created attachment 851720 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-16 08:27:27 UTC
Created attachment 851722 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-18 10:28:02 UTC
Fixed in 0.4.4.