Package Details: openrct2-git 0.4.4.r18.g1174063c27-1

Git Clone URL: https://aur.archlinux.org/openrct2-git.git (read-only, click to copy)
Package Base: openrct2-git
Description: Open source re-implementation of Roller Coaster Tycoon 2 (requires full copy of the game)
Upstream URL: https://openrct2.io
Licenses: GPL3
Conflicts: openrct2
Provides: openrct2
Submitter: grahamedgecombe
Maintainer: rctdude2
Last Packager: rctdude2
Votes: 30
Popularity: 0.006046
First Submitted: 2014-05-27 09:56 (UTC)
Last Updated: 2023-04-01 20:12 (UTC)

Required by (1)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

Aftershock9009 commented on 2024-08-27 23:39 (UTC)

@rctdude2 Checked, everything up to date and tried a clean build, same error.

rctdude2 commented on 2024-08-27 19:07 (UTC)

@Aftershock9009 Please make sure your system is up-to-date then try running a clean build.

Aftershock9009 commented on 2024-08-27 17:24 (UTC) (edited on 2024-08-27 17:30 (UTC) by Aftershock9009)

Been unable to build for a couple of weeks already, cmake crashes at

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/openrct2/CMakeLists.txt:167 (find_package)
  CMakeLists.txt:373 (include)


-- Configuring incomplete, errors occurred!

looking for info online tells me about old cmake versions so I'm at a loss, any idea?

janisozaur commented on 2024-05-14 04:39 (UTC)

Fixed upstream in https://github.com/OpenRCT2/OpenRCT2/pull/22031 (merged already)

solarisfire commented on 2024-05-13 11:12 (UTC)

Yeah I tried doing that manually at build time and it gets past this error, then runs into new build errors.

I think there needs to be wider rework for the code to be compatible with GCC14.

janisozaur commented on 2024-05-13 11:08 (UTC)

Fix submitted upstream: https://github.com/OpenRCT2/OpenRCT2/pull/22028

solarisfire commented on 2024-05-13 11:05 (UTC)

Works with the cmake flag "-DCMAKE_CXX_COMPILER=/usr/bin/c++-13"

But would need gcc13 as a dependency.

This probably broke when GCC went to version 14.

solarisfire commented on 2024-05-13 10:41 (UTC)

This won't build this morning:

[5/586] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o
FAILED: CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o 
/usr/bin/c++ -DDOCDIR=\"/usr/share/doc/openrct2\" -DOPENGL_NO_LINK -D_FILE_OFFSET_BITS=64 -D__ENABLE_DISCORD__ -I/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/DISCORDRPC_PROCESS_INCLUDES -I/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/../thirdparty/duktape -I/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/libopenrct2 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-6 -isystem /home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/../thirdparty -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wno-error=maybe-uninitialized  -Wno-error=restrict  -Wno-error=null-dereference  -Wno-error=stringop-overflow -fstrict-overflow -fstrict-aliasing -Werror -Wundef -Wmissing-declarations -Winit-self -Wall -Wextra -Wshadow -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wnonnull -Wno-unused-parameter -Wno-attributes -DDEBUG=0 -fno-char8_t -Wno-deprecated-declarations -O2 -g -DNDEBUG -std=gnu++20 -fPIC -Wsuggest-override -Wduplicated-cond -Wnon-virtual-dtor -Wduplicated-branches -Wrestrict -Wmissing-field-initializers -Wlogical-op -Wold-style-cast -Wunused-const-variable=1 -Wno-clobbered -Wredundant-decls -Wnull-dereference -Wignored-qualifiers -Wstrict-overflow=1 -DENABLE_SCRIPTING -pthread -MD -MT CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o -MF CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o.d -o CMakeFiles/libopenrct2.dir/src/openrct2/AssetPackManager.cpp.o -c /home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp
/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp: In member function ‘size_t OpenRCT2::AssetPackManager::GetAssetPackIndex(std::string_view)’:
/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp:56:20: error: ‘find_if’ is not a member of ‘std’; did you mean ‘find’?
   56 |     auto it = std::find_if(_assetPacks.begin(), _assetPacks.end(), [&](const std::unique_ptr<AssetPack>& assetPack) {
      |                    ^~~~~~~
      |                    find
/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp: In member function ‘void OpenRCT2::AssetPackManager::LoadSamplesForObject(std::string_view, AudioSampleTable&)’:
/home/solarisfire/.cache/yay/openrct2-git/src/openrct2-git/src/openrct2/AssetPackManager.cpp:114:10: error: ‘for_each’ is not a member of ‘std’
  114 |     std::for_each(_assetPacks.rbegin(), _assetPacks.rend(), [&](auto& assetPack) {
      |          ^~~~~~~~
[22/586] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/Context.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: openrct2-git-exit status 4

jhm commented on 2023-12-18 22:53 (UTC)

@Sir-Photch Rebuilding the package worked perfectly. I should have tried that before commenting :(. Thank you, and Merry Christmas/Happy Holidays!