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.002625
First Submitted: 2014-05-27 09:56 (UTC)
Last Updated: 2023-04-01 20:12 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 14 Next › Last »

grahamedgecombe commented on 2018-05-31 17:51 (UTC)

I can't reproduce this - does it work now? I guess it could've been an upstream bug that has been fixed already.

You can pass --nocheck to makepkg to skip the tests if necessary.

jfernandz commented on 2018-05-28 22:06 (UTC) (edited on 2018-05-28 22:07 (UTC) by jfernandz)

Packaging process fails to check() stage

67% tests passed, 3 tests failed out of 9

Total Test time (real) =   0.85 sec

The following tests FAILED:
      7 - ride_ratings (Failed)
      8 - multilaunch (Failed)
      9 - tile_elements (Failed)
Errors while running CTest
make: *** [Makefile:106: test] Error 8
==> ERROR: Se produjo un fallo en check().
    Cancelando...

grahamedgecombe commented on 2018-05-23 20:27 (UTC)

thanks, I've added a dependency on icu.

I've also switched to the forked version of rapidjson so the package builds on GCC 8.1.

janisozaur commented on 2018-05-23 09:01 (UTC)

We merged https://github.com/OpenRCT2/OpenRCT2/pull/7385 which adds dependency on ICU

janisozaur commented on 2018-05-21 10:37 (UTC) (edited on 2018-05-21 10:38 (UTC) by janisozaur)

@goddisignz this is not the full error. GCC by default ignores -Wno-* options and will only display them once encountered actual error, which you skipped. We do test with GCC 8.1 in our CI setup and you may have ran into https://github.com/Tencent/rapidjson/issues/1205 which the upstream maintainers have not bothered to address for the last few months (please do go nag them). If that's the case, either disable discord-rpc (in PKGBUILD) or switch to my hacked version of rapidjson at <https://github.com/janisozaur/rapidjson> patch-1

goddisignz commented on 2018-05-21 10:30 (UTC) (edited on 2018-05-21 10:32 (UTC) by goddisignz)

I currently have a problem compiling the pacakage. I get the following error(s):

cc1plus: error: unrecognized command line option ‘-Wno-global-constructors’ [-Werror]

cc1plus: error: unrecognized command line option ‘-Wno-exit-time-destructors’ [-Werror]

cc1plus: error: unrecognized command line option ‘-Wno-covered-switch-default’ [-Werror]

cc1plus: error: unrecognized command line option ‘-Wno-c++98-compat-pedantic’ [-Werror]

cc1plus: error: unrecognized command line option ‘-Wno-c++98-compat’ [-Werror]

Can this be a problem related to the gcc version? I use the current 8.1.0.

grahamedgecombe commented on 2018-04-16 16:35 (UTC)

imho it's good practice to run the unit tests where available, especially in a project like this as C/C++ have a lot of system-dependent behaviour - and fwiw I think building the main OpenRCT2 executable outweighs the time spent running the tests.

That said, you should be able to pass --nocheck to makepkg to skip running the tests if you want to (although it'll still build them - idk if there's a way we can detect --nocheck in the PKGBUILD).

Enverex commented on 2018-04-16 11:25 (UTC)

Is there any point in "WITH_TESTS=on"? Seems like it's just going to increase the build time and provide no real benefit for users. It's mainly for the devs to test with.

janisozaur commented on 2018-03-06 16:12 (UTC)

We are aware of this and will have a fix soonish.

Upstream discord-rpc changed file name in one of their latest commits (discord-rpc.h -> discord_rpc.h) and to fix it you simply need to rename the relevant include. We have not changed the file name upstream yet because we are updating Windows' libraries at the same time.

Note that you can also choose to not use discord-rpc at all if you don't want to or use slightly older commit of it.

jfernandz commented on 2018-03-06 16:05 (UTC)

I've got issues with discord_register.h after your fix:

[  8%] Building CXX object CMakeFiles/libopenrct2.dir/src/openrct2/network/DiscordService.cpp.o
/home/wyre/AUR/openrct2-git/src/openrct2-git/src/openrct2/network/DiscordService.cpp:19:10: fatal error: discord-rpc.h: No such file or directory
 #include <discord-rpc.h>
          ^~~~~~~~~~~~~~~