Package Details: open-adventure 1.16-2

Git Clone URL: (read-only, click to copy)
Package Base: open-adventure
Description: Port of the 'Colossal Cave Adventure' text-based adventure game
Upstream URL:
Keywords: games
Licenses: BSD
Conflicts: advent
Submitter: duthils
Maintainer: duthils
Last Packager: duthils
Votes: 9
Popularity: 0.010287
First Submitted: 2017-07-30 22:12 (UTC)
Last Updated: 2023-11-23 00:10 (UTC)

Latest Comments

duthils commented on 2023-11-23 00:11 (UTC)

Thanks for the report, I could reproduce. I made the changes you suggested.

cyberpunkrocker commented on 2023-11-22 05:09 (UTC) (edited on 2023-11-22 05:11 (UTC) by cyberpunkrocker)

All the messages are now, of course, in Finnish:

makepkg -fsc
==> Käännetään pakettia: open-adventure 1.16-1 (ke 22. marraskuuta 2023 07.00.51)
==> Tarkastetaan yleisriippuvuuksia...
==> Tarkastetaan käännönaikaisia riippuvuuksia...
==> Noudetaan lähdetiedostoja...
  -> Kohde open-adventure-1.16.tar.bz2 löytyi
==> Tarkastetaan paketin source tiedostojen virheettömyyttä ohjelmalla sha256sums...
    open-adventure-1.16.tar.bz2 ... Virheetön
==> Puretaan lähdetiedostoja...
  -> Puretaan open-adventure-1.16.tar.bz2 komennolla bsdtar
==> Aloitetaan osion build() käsittelemistä...
a2x --doctype manpage --format manpage advent.adoc
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g  -I/usr/include/editline   -c main.c
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g  -I/usr/include/editline   -c init.c
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g  -I/usr/include/editline   -c actions.c
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g  -I/usr/include/editline   -c score.c
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g  -I/usr/include/editline   -c misc.c
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g  -I/usr/include/editline   -c saveresume.c
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g   -c dungeon.c
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g   -o advent main.o init.o actions.o score.o misc.o saveresume.o dungeon.o -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ledit 
==> Aloitetaan osion check() käsittelemistä...
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g  -I/usr/include/editline   -c cheat.c
cc -std=c99 -D_DEFAULT_SOURCE -DVERSION=\"1.16\" -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g   -o cheat cheat.o init.o actions.o score.o misc.o saveresume.o dungeon.o -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ledit 
cd tests; make --quiet
not ok - saveresume.4.chk: saveresume.4: Resume, then win\n  --- |\n  --- saveresume.4.chk  2023-04-15 21:44:20.000000000 +0300\n  +++ -    2023-11-22 07:00:52.223051424 +0200\n  @@ -9,20 +9,15 @@\n   \n   > resume\n   Can't open file y, try again.\n  +Can't open file saveresume_win.adv, try again.\n  +Can't open file blast, try again.\n   \n  -You're at sw end.\n  +File name: \n  +You're in front of building.\n   \n  -The grate is locked.\n  +> \n  +You scored 32 out of a possible 430, using 1 turn.\n   \n  -> blast\n  +You are obviously a rank amateur.  Better luck next time.\n   \n  -There is a loud explosion, and a twenty-foot hole appears in the far\n  -wall, burying the dwarves in the rubble.  You march through the hole\n  -and find yourself in the main office, where a cheering band of\n  -friendly elves carry the conquering adventurer off into the sunset.\n  -\n  -You scored 423 out of a possible 430, using 468 turns.\n  -\n  -Your score puts you in Master Adventurer Class A.\n  -\n  -To achieve the next higher rating, you need 4 more points.\n  +To achieve the next higher rating, you need 14 more points.\n  ...\n113 tests, 1 failures.
make[1]: *** [Makefile:34: check] Error 1
make: *** [Makefile:69: check] Error 2
==> VIRHE: Virhe tapahtui funktiossa check().

duthils commented on 2023-11-22 04:29 (UTC)

Thanks for reporting, I can't reproduce with either fi_FI.UTF-8 or fr_FR.UTF-8:

LC_ALL=fi_FI.UTF-8 makepkg -f

Could you share the error you get when compiling, please?

cyberpunkrocker commented on 2023-11-21 18:03 (UTC)

Building open-adventure on my device is possible only if I prefix makepkg with

LC_ALL=C makepkg

The build tests fail if I use my default locale fi_FI.UTF8. I suppose the build would fail similar way with all non-english locales? Could you please modify the PKGBUILD so it temporarily resets the locale to C/english for the build time?

torpe23 commented on 2021-05-29 22:53 (UTC)

Thanks, appreciate it! Works like a charm now :)

duthils commented on 2021-05-26 01:18 (UTC)

Thank you for the report!

I fixed the URL and updated to 1.9.

torpe23 commented on 2021-05-23 16:10 (UTC)

The package won't build unfortunately.

curl: (22) The requested URL returned error: 503 ==> ERROR: Failure while downloading

It seems like the tarball isn't where it used to be.

Any chance you can fix it? Thanks!