Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#12227 - Dopewars won't start
Attached to Project:
Arch Linux
Opened by Fredrik (vEX) - Monday, 24 November 2008, 18:47 GMT
Last edited by Thayer Williams (thayer) - Wednesday, 26 November 2008, 22:31 GMT
Opened by Fredrik (vEX) - Monday, 24 November 2008, 18:47 GMT
Last edited by Thayer Williams (thayer) - Wednesday, 26 November 2008, 22:31 GMT
|
DetailsDescription:
Dopewars won't start, it complains about not being able to open /usr/var/dopewars.sco (the highscore file). The reason it can't open the file is that in the PKGBUILD $startdir/pkg/usr/var is moved to $startdir/pkg/var. The fix is easy, just tell configure to use /var by passing "--localstatedir=$pkgdir/var" instead of moving the directory afterwards. I've attached a modified PKGBUILD that does that, changes a bunch of $startdir/pkg/ to $pkgdir/ and adds "|| return 1" to the "make install" call. Additional info: dopewars 1.5.12-2 Steps to reproduce: Install dopewars and try to start it. Ie: $ dopewars -t ** (process:31178): CRITICAL **: Cannot open high score file /usr/var/dopewars.sco. (Permission denied.) Either ensure you have permissions to access this file and directory, or specify an alternate high score file with the -f command line option. $ pacman -Ql dopewars|grep dopewars.sco dopewars /var/dopewars.sco |
This task depends upon
Closed by Thayer Williams (thayer)
Wednesday, 26 November 2008, 22:31 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks goes to Fredrik for the updated PKGBUILD and install file.
Wednesday, 26 November 2008, 22:31 GMT
Reason for closing: Fixed
Additional comments about closing: Thanks goes to Fredrik for the updated PKGBUILD and install file.
PKGBUILD
If you want to submit a revised PKGBUILD, I'll commit the changes and push a new version tomorrow--otherwise it's going to be a while before I get to it between school work.