Bugzilla – Bug 140336
nethack does not work on 64 bit machines
Last modified: 2006-02-14 13:36:35 UTC
How to reproduce: install nethack.rpm on a 64 bit machine start nethack as user, you will get an error message: No HACKSTYLE set so trying to detect... nethack.tty found, it will be executed Warning: cannot write scoreboard file /var/games/nethack/record Hit return to continue: NetHack, Copyright 1985-2003 By Stichting Mathematisch Centrum and M. Stephenson. See license for details. No write permission to lock /var/games/nethack/perm! Hit space to continue: Then nethack drops back to the shell. It works as root, and it works on 32 bit for normal user and root. rpm -V nethack says nothing, so it's fine. I will attach a strace.
Created attachment 61477 [details] strace of nethack on 64 bit strace of nethack on 64 bit as normal user
any progress?
The problem was that SuSEconfig expected the nethack.tty to be in /usr/lib/nethack (where it should be) and not in /usr/lib64/nethack. I fixed it for next release (and for Factory).