Package Details: umoria 5.6-2

Git Clone URL: https://aur.archlinux.org/umoria.git (read-only)
Package Base: umoria
Description: Rogue-like dungeon crawler
Upstream URL: http://www-math.bgsu.edu/~grabine/moria.html
Licenses: GPL3
Submitter: beej
Maintainer: beej
Last Packager: beej
Votes: 13
Popularity: 0.157118
First Submitted: 2009-10-09 01:23
Last Updated: 2015-07-29 04:23

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

beej commented on 2014-11-10 17:04

fsckd: good pointers. I've put quotes around pkgdir, stopped gzipping the man page, and added termcap to the deps.

Hopefully that clears all that up. Let me know if it doesn't.

Thanks!

fsckd commented on 2014-11-10 14:24

Once again I will descend the dungeon to seek my fortune amidst the corpses of giant louse! Yay!

A couple of things:
(1) Please put "quotes" around ${pkgdir}. Not needed for most people but some put spaces in their path. Weird, I know.
(2) You don't need to gzip the manpage anymore. makepkg does that for you. In makepkg.conf users can control if man pages are compressed.
(3) I get an error:
cc -o moria -O main.o misc1.o misc2.o misc3.o misc4.o store1.o files.o io.o create.o desc.o generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o potions.o prayer.o save.o staffs.o wands.o scrolls.o spells.o wizard.o store2.o signals.o moria1.o moria2.o moria3.o moria4.o monsters.o treasure.o variable.o rnd.o recall.o unix.o player.o tables.o -lcurses -ltermcap
/usr/bin/ld: cannot find -ltermcap
collect2: error: ld returned 1 exit status
Makefile.unix:49: recipe for target 'moria' failed
make: *** [moria] Error 1
==> ERROR: A failure occurred in build().
In comparison, 5.5.2 does build.

Thanks for maintaining this package!

beej commented on 2014-10-14 07:59

OK! I've updated it to 5.6. Note that the save file has changed from "moria.save" to "moria-save", so rename it if necessary.

Let me know if it's not working right. And if it's not and you need a fix, the working 5.5.2 AUR source can be found here: http://beej.us/moria/files/aur/

beej commented on 2014-10-14 06:55

Sorry, guys. A lot of life has passed by since I remembered this wasn't working.

I finally tracked it down. A new parameter in makepkg.conf (-D_FORTIFY_SOURCE=2) was causing moria to not run due to a buffer overrun when reading the hours file.

And now that 5.5.2 is working, I can try my hand at 5.6. :)

lollek commented on 2014-06-05 20:10

Compiles fine, but quite a few error messages about implicit declaration.
Trying to run the game causes this to happen (@3.14.5-1-ARCH i686):

Can't create new file tected ***: moria terminated
======= Backtrace: ========= /usr/lib/libc.so.6(+0x6c449)[0xb75ab449]
/usr/lib/libc.so.6(__fortify_fail+0x37)[0xb763a837]
/usr/lib/libc.so.6(+0xf996a)[0xb763896a]
/usr/lib/libc.so.6(__strcpy_chk+0x37)[0xb7637e67]
moria[0x8051a6c]
moria[0x80498b1]
/usr/lib/libc.so.6(__libc_start_main+0xde)[0xb7556e2e]
moria[0x8049601]
======= Memory map: ========
08048000-08096000 r-xp 00000000 08:01 431382 /usr/bin/moria
08096000-0809e000 rw-p 0004d000 08:01 431382 /usr/bin/moria
0809e000-080b2000 rw-p 00000000 00:00 0
084b9000-0857f000 rw-p 00000000 00:00 0 [heap]
b750e000-b752a000 r-xp 00000000 08:01 398734 /usr/lib/libgcc_s.so.1
b752a000-b752b000 rw-p 0001b000 08:01 398734 /usr/lib/libgcc_s.so.1
b753e000-b753f000 rw-p 00000000 00:00 0
b753f000-b76fa000 r-xp 00000000 08:01 395788 /usr/lib/libc-2.19.so
b76fa000-b76fd000 r--p 001ba000 08:01 395788 /usr/lib/libc-2.19.so
b76fd000-b76ff000 rw-p 001bd000 08:01 395788 /usr/lib/libc-2.19.so
b76ff000-b7701000 rw-p 00000000 00:00 0
b7701000-b775d000 r-xp 00000000 08:01 398575 /usr/lib/libncursesw.so.5.9
b775d000-b775f000 r--p 0005b000 08:01 398575 /usr/lib/libncursesw.so.5.9
b775f000-b7760000 rw-p 0005d000 08:01 398575 /usr/lib/libncursesw.so.5.9
b7771000-b7774000 rw-p 00000000 00:00 0
b7774000-b7795000 r-xp 00000000 08:01 395764 /usr/lib/ld-2.19.so
b7795000-b7796000 r-xp 00000000 00:00 0 [vdso]
b7796000-b7797000 r--p 00021000 08:01 395764 /usr/lib/ld-2.19.so
b7797000-b7798000 rw-p 00022000 08:01 395764 /usr/lib/ld-2.19.so
bfb4f000-bfb70000 rw-p 00000000 00:00 0 [stack]

OH NO!!!!!! A gruesome software bug LEAPS out at you. There is NO defense!

fhdrin commented on 2014-05-31 18:32

Just downloaded http://ftp.de.debian.org/debian/pool/main/m/moria/moria_5.6.orig.tar.gz

compiles straight out-of-box. Both on x86_64 and arm6hf on Arch. just delete the debian Makefile and use the Makefile.unix.

fhdrin commented on 2014-05-31 18:30

Just downloaded http://ftp.de.debian.org/debian/pool/main/m/moria/moria_5.6.orig.tar.gz

compiles straight out-of-box. Both on x86_64 and arm6hf.

beej commented on 2013-04-25 06:41

omalley: hmm. You're right. I don't have time to dig into it right now, though. :(

Anonymous comment on 2013-04-25 04:55

It doesn't run for me. It just hangs for a few seconds and crashes.

beej commented on 2010-09-26 22:49

5.5.2-3 update: 5.5.2-2 didn't even build due to a missing file--dunno how I messed that up.