Package Details: openrct2-git 0.4.29.r93.gea3ef47943-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: GPL-3.0-or-later
Conflicts: openrct2
Provides: openrct2
Submitter: grahamedgecombe
Maintainer: rctdude2
Last Packager: rctdude2
Votes: 29
Popularity: 0.012281
First Submitted: 2014-05-27 09:56 (UTC)
Last Updated: 2025-12-14 20:43 (UTC)

Latest Comments

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

Joomzie commented on 2026-05-06 00:50 (UTC)

@kinker31: Seems to be resolved on my end. Was able to get a successful build today.

kinker31 commented on 2026-05-04 22:36 (UTC)

This could very likely be an upstream issue, I was able to replicate this an upstream repo build.

Joomzie commented on 2026-05-04 15:12 (UTC)

I've been getting a build failure for a couple of days now, and I'm not exactly sure what's causing it. It happens in and out of a chroot, and seems to be related to the screenshot utility. Judging by the error, it may be an upstream issue, but I'm not entirely sure.

FAILED: [code=1] CMakeFiles/libopenrct2.dir/src/openrct2/interface/Screenshot.cpp.o
/usr/bin/c++ -DDOCDIR=\"/usr/share/doc/openrct2\" -DENABLE_SCRIPTING -D_FILE_OFFSET_BITS=64 -I/build/openrct2-git/src/openrct2-git/libopenrct2 -isystem /build/openrct2-git/src/openrct2-git/src/openrct2/../thirdparty/quickjs-ng -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /build/openrct2-git/src/openrct2-git/src/openrct2/../thirdparty -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/openrct2-git/src=/usr/src/debug/openrct2-git -flto=auto -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 -MD -MT CMakeFiles/libopenrct2.dir/src/openrct2/interface/Screenshot.cpp.o -MF CMakeFiles/libopenrct2.dir/src/openrct2/interface/Screenshot.cpp.o.d -o CMakeFiles/libopenrct2.dir/src/openrct2/interface/Screenshot.cpp.o -c /build/openrct2-git/src/openrct2-git/src/openrct2/interface/Screenshot.cpp
/build/openrct2-git/src/openrct2-git/src/openrct2/interface/Screenshot.cpp: In function ‘OpenRCT2::Drawing::RenderTarget CreateRT(const OpenRCT2::Viewport&)’:
/build/openrct2-git/src/openrct2-git/src/openrct2/interface/Screenshot.cpp:236:67: error: this condition has identical branches [-Werror=duplicated-branches]
  236 |     rt.bits = new (std::nothrow) PaletteIndex[rt.width * rt.height];
      |                                                                   ^
cc1plus: all warnings being treated as errors

Aftershock9009 commented on 2025-10-14 17:16 (UTC) (edited on 2025-10-14 17:21 (UTC) by Aftershock9009)

So turns out all issues I had on and off this past year were just by this program not playing nicely with clang. if you can please patch

--- PKGBUILD.bak 2025-10-14 11:27:41.033377900 -0500
+++ PKGBUILD    2025-10-14 11:27:31.104487647 -0500
@@ -28,6 +28,9 @@
 }

 build() {
+  CC=gcc
+  CXX=g++
+
   # Required options to workaround GCC 12 issues
   # https://github.com/OpenRCT2/OpenRCT2/issues/17371
   CXXFLAGS+=" -Wno-error=maybe-uninitialized  -Wno-error=restrict  -Wno-error=null-dereference"

because I'm tired of putting export CC=gcc CXX=g++ every time this updates I'd be grateful. Or if you have any tips on how to make this compile on clang correctly.

electricprism commented on 2025-05-27 18:50 (UTC)

discord-rpc was orphaned, I am swapping out for discord-rpc-git as I see it's required by this package.

It would be nice to see consolidation looks like there's quite a few discord-rpc packages.

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)