Package Details: openrct2-git r19968.0ae86d055-1

Git Clone URL: (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:
Licenses: GPL3
Conflicts: openrct2
Provides: openrct2
Submitter: grahamedgecombe
Maintainer: grahamedgecombe
Last Packager: grahamedgecombe
Votes: 25
Popularity: 0.000000
First Submitted: 2014-05-27 09:56
Last Updated: 2020-09-21 18:06

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

JudgeManganese commented on 2018-09-29 20:33

The objects/title sequences that CMake downloads as part of package() are now causing the PKGBUILD to fail with the below error. CMake is showing the hash for an empty file because the file wasn't downloaded. It seems makepkg is not allowing CMake to download because I can manually run the commands in package() and they get downloaded.

CMake Error at cmake_install.cmake:48 (file):
  file DOWNLOAD HASH mismatch

    for file: [<path-to-cache>/openrct2-git/pkg/openrct2-git/usr/share/openrct2/title/]
      expected hash: [1136ef92bfb05cd1cba9831ba6dc4a653d87a246]
        actual hash: [da39a3ee5e6b4b0d3255bfef95601890afd80709]
             status: [6;"Couldn't resolve host name"]

grahamedgecombe commented on 2018-06-12 20:24

hmm, it's maybe not so simple - I think the tests might expect those files to be in /, rather than inside $DESTDIR...

maybe it's easiest just to disable the tests for now.

grahamedgecombe commented on 2018-06-12 20:01

Ah, good catch!

I'll make it download the objects/title sequences in advance. I've never been very happy with the fact that cmake downloads them (and most distros don't allow this in their policy, as it breaks reproducibility of the build process if the files ever disappear from the net).

I guess another option is that the cmake config should be fixed such that the test target depends on the target that downloads the objects.

janisozaur commented on 2018-06-12 19:32

check() runs tests, but they need files that get download upon installation with install target, which only gets done in package() after successful check().

The options to address that that I can think of right now include: 1. perform install target in check(), before running tests 2. run tests in package() 3. pre-populate required files as part of PKGBUILD 4. use ctest to split running the some tests in check(), some in package()

Other suggestions welcome.

axiac commented on 2018-06-12 00:06

Yes I'm using yay, managed to learn how to do it manually :) (with "--nocheck", I installed devtools but couldn't find extra-x86_64-build). I can see many improvements in the game, but maybe a slower startup time.

grahamedgecombe commented on 2018-06-11 18:11

It might also be worth trying to build it in a chroot so you know you have a clean environment. You can use extra-x86_64-build to do that (from the devtools package). Run it from the same directory you'd run makepkg from.

grahamedgecombe commented on 2018-06-11 18:06

couldn't find where to pass "--nocheck"

It's one of makepkg's flags. I guess you're using an AUR helper?

axiac commented on 2018-06-11 15:41

Hey @janisozaur, tried it and got the same error as @wyre, and couldn't find where to pass "--nocheck".

janisozaur commented on 2018-06-11 13:43

@axiac can you check if adding -DPORTABLE=on addresses that? Otherwise can you provide more logs? The tests in question all require objects' json data, which should get obtained during cmake packaging, but either it doesn't or it is in improper path.

axiac commented on 2018-06-11 13:40

I still had this issue, as of yesterday.