cp /usr/share/games/lincity-ng/lincityconfig.xml ~/.lincity/userconfig.xml was required to make lincity-ng start Reproducible: Always Steps to Reproduce: 1. unstall boost-jam because lincity-ng won't allow it during compile 2. jam and then lincity-ng are installed 3. run lincity-ng Actual Results: didn't start Expected Results: I expected some awesome simulated city-building fun. 'strace' tells us the missing file is /usr/share/games/lincity-ng/userconfig.xml that gets copied to ~/.lincity/userconfig.xml --- SIGRTMIN (Unknown signal 32) @ 0 (0) --- <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) sigreturn() = ? (mask now [RTMIN]) lstat64("/home/dholth/.lincity/userconfig.xml", 0xbf8005bc) = -1 ENOENT (No such file or directory) lstat64("/usr/share/games/lincity-ng/userconfig.xml", 0xbf8005bc) = -1 ENOENT (No such file or directory) rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 kill(3618, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT +++
works for me. You didn't include the output from emerge --info. reopen with that.
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-holth i686) ================================================================= System uname: 2.6.12-holth i686 mobile AMD Athlon(tm) XP-M (LV) 2200+ Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 20 2005, 06:15:55)] distcc 2.16 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -fomit-frame-pointer" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/zugaina-portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X accessibility alsa apm avi berkdb bitmap-fonts bonobo c++ cdr cle266 crypt cscope cups curl dvd dvdr emboss encode esd fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal imlib innodb insecure-drivers ipv6 jack java jikes joystick jp2 jpeg jpeg2k junit kde lcms libg++ libwww live mad mikmod mmx motif mozilla mp3 mpeg mysql mythtv ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unichrome unicode vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
Please verify directories ~/.lincity AND /usr/share/games/lincity-ng do not exist before testing this package.
dholth@moire ~/prog/crta $ lincity-ng Starting Lincity-NG... [/home/dholth/.lincity] is in the search path. [/usr/share/games/lincity-ng] is in the search path. LINCITY_HOME: /usr/share/games/lincity-ng Aborted
/usr/share/games/lincity-ng is installed by the package so making sure it doesn't exist before running doesn't make any sense. ~/.lincity is created the first time lincity-ng is run. please attach the CONTENTS file for lincity-ng from /var/db/pkg/ and the entire strace file as text/plain.
Mr. Bones I had supposed the packagers had run lincity before, already had certain files related to lincity-ng in their fs, and then didn't notice that there were any missing pieces when they run the installed packages. Your requests are absurd but I will provide them anyway. Convincing someone else to fix this bug is more difficult than fixing it myself would be.
Created attachment 61921 [details] lincity failing to start stack trace
Created attachment 61922 [details] CONTENTS for lincity-ng
PROBLEM: userconfig.xml does not exist in /usr/share/games/lincity-ng/ When lincity runs it wants to copy this default configuration to the user's home directory, but it can't because it is not installed. SOLUTION: install lincity-ng-1.0/doc/userconfig.xml to /usr/share/games/lincity-ng/ Game now runs.
Daniel: The package is fine, this is NOT a problem of userconfig.xml not being found (I'm a developer of the game, I can assure you the game creates the file on exit if it wasn't available at start). It seems like your opengl driver makes the game abort, since the example config that you copied into your install directory actually disables SDL. (You could also run lincity-ng --sdl). Some more infortmation about your opengl driver and configuration could help solving this. (Though I'm not sure if I can do much about broken opengl drivers...)
I am using a via unichrome OpenGL with latest dri + xorg. lincity-ng --sdl aborts as well by the way. Unfortunately the OpenGL doesn't work very well, it runs out of texture space and so many of the game's textures are just white boxes. So, I disable OpenGL. (Other games such as neverball have a similar problem.) <?xml version="1.0"?> <configuration> <video x="1024" y="768" useOpenGL="no" fullscreen="yes" /> <audio soundEnabled="yes" soundVolume="100" musicEnabled="yes" musicVolume="70" /> <game upgradeTransport="yes" instantBulldoze="yes" showDay="yes" /> </configuration> This works in ~/.lincity-ng/userconfig.xml ... so does changing x and y to 800 by 600. So does turning OpenGL to "yes" (it runs but with problems see above). So does copying this same file to /usr/share/lincity-ng/userconfig.xml . So what am I to say about your comment that the package is fine? It is not fine for me, and putting userconfig.xml in the directory fixes the problem for me.
Sounds like a local problem. Since you seem to want to fix it yourself anyhow (based on comment #6), feel free to do that.
I do NOT want to fix the bug myself. I want to use a working linux distribution or get an Apple. I want bugfixes to happen. I am tired of this gentoo nonsense.
I just merged it on a brand-new system, and it WORKSFORME, also.