Bug 855169 - Ultimate Stunts does not run, "No such file or directory"
Summary: Ultimate Stunts does not run, "No such file or directory"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ultimatestunts
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-06 21:16 UTC by Charles Goodwin
Modified: 2012-09-19 03:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-17 22:19:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Charles Goodwin 2012-09-06 21:16:37 UTC
Description of problem:
Does not run

Version-Release number of selected component (if applicable):
0.7.6

How reproducible:
Every time

Steps to Reproduce:
1. Install
2. Run
  
Actual results:
root@charles-hp applications# ustunts
Welcome to ultimatestunts version 0.7.6
Making dir /root/.ultimatestunts
File /root/.ultimatestunts/ultimatestunts.conf not found. Searching on alternative locations...
sysconfdir = /etc
Trying /etc/ultimatestunts.conf...found
Copying /etc/ultimatestunts.conf to /root/.ultimatestunts/ultimatestunts.conf
Using configuration file /root/.ultimatestunts/ultimatestunts.conf
DataDir is "/usr/local/share/ultimatestunts/"
SaveDir is "/root/.ultimatestunts/saveddata/"
Enabling localisation
Locale LC_MESSAGES is set to "en_US.UTF-8"
  Package ultimatestunts, directory /usr/share/locale
  bindtextdomain returns /usr/share/locale
  bind_textdomain_codeset returns ISO-8859-1
  textdomain returns ultimatestunts
---Window system
    Available Modes:
      1366 x 768
      1280 x 720
      1152 x 768
      1024 x 768
      960 x 720
      928 x 696
      896 x 672
      848 x 480
      800 x 600
      720 x 480
      700 x 525
      640 x 512
      640 x 480
      512 x 384
      400 x 300
      320 x 240
   Display variable: "window:800x600"
   Setting resolution to 800x600:24...
   ...Now working at 800x600:32
   Found 0 joysticks
   Display variable: "window:800x600"
   ...Now working at 800x600:32
---GUI
Loading font from misc/iso8859-1.rgba
   Loading file misc/iso8859-1.rgba
     sizex = "512"
     sizey = "512"
     smooth = "true"
     wth = "10.000000"
     hth = "20.000000"
No such file or directory
[Exit]

Expected results:
Game should run.

Additional info:

Comment 1 Dan Horák 2012-09-10 07:46:54 UTC
What's the exact version of the package? Try "rpm -q ultimatestunts". 
What's the output of "strace ustunts"? It will show what file can't be located.

PS: running games as root is not good idea ...

Comment 2 Charles Goodwin 2012-09-10 08:52:10 UTC
Hah, right you are.  I don't normally, obviously had a cavalier attitude when installing stuff.

charles@charles-hp ~$ rpm -q ultimatestunts
ultimatestunts-0.7.6-4.fc17.x86_64

(FYI Ultimate Stunts 0.7.7 just got released!)

Interesting bit of the strace:

write(1, "Loading font from misc/iso8859-1"..., 38Loading font from misc/iso8859-1.rgba
) = 38
write(1, "   Loading file misc/iso8859-1.r"..., 36   Loading file misc/iso8859-1.rgba
) = 36
write(1, "     sizex = \"512\"\n", 19     sizex = "512"
)  = 19
write(1, "     sizey = \"512\"\n", 19     sizey = "512"
)  = 19
write(1, "     smooth = \"true\"\n", 21     smooth = "true"
) = 21
write(1, "     wth = \"10.000000\"\n", 23     wth = "10.000000"
) = 23
write(1, "     hth = \"20.000000\"\n", 23     hth = "20.000000"
) = 23
open("/home/charles/.ultimatestunts/saveddata/misc/iso8859-1.rgba", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/ultimatestunts/misc/iso8859-1.rgba", O_RDONLY) = -1 ENOENT (No such file or directory)
open("", O_RDONLY)                      = -1 ENOENT (No such file or directory)
dup(2)                                  = 6
fcntl(6, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(6, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff623370000
lseek(6, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(6, "No such file or directory\n", 26No such file or directory
) = 26
close(6)                                = 0
munmap(0x7ff623370000, 4096)            = 0
exit_group(1)                           = ?
+++ exited with 1 +++

Comment 3 Dan Horák 2012-09-10 14:33:54 UTC
Ah, I see where the problem is, the 0.7.6 tarball contains the config file pregenerated with /usr/local/share/... as the data directory so the buildsystem doesn't write a new one with correct value.

Comment 4 Fedora Update System 2012-09-10 16:00:52 UTC
ultimatestunts-0.7.7-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ultimatestunts-0.7.7-1.fc17

Comment 5 Fedora Update System 2012-09-10 16:01:04 UTC
ultimatestunts-0.7.7-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ultimatestunts-0.7.7-1.fc16

Comment 6 Fedora Update System 2012-09-10 16:01:18 UTC
ultimatestunts-0.7.7-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ultimatestunts-0.7.7-1.fc18

Comment 7 Fedora Update System 2012-09-10 22:24:27 UTC
Package ultimatestunts-0.7.7-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ultimatestunts-0.7.7-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13744/ultimatestunts-0.7.7-1.fc16
then log in and leave karma (feedback).

Comment 8 Charles Goodwin 2012-09-10 23:11:37 UTC
Thanks for looking at it so quickly, although I'm using Fedora 17 ;)

Comment 9 Dan Horák 2012-09-11 06:16:39 UTC
The F-17 version here
https://admin.fedoraproject.org/updates/FEDORA-2012-13750/ultimatestunts-0.7.7-1.fc17
seems only the automated entry in this bug is missing.

Comment 10 Charles Goodwin 2012-09-12 02:18:42 UTC
Still fails after the update.

End of strace:

write(1, "   Display variable: \"window:800"..., 38   Display variable: "window:800x600"
) = 38
write(1, "   ...Now working at 800x600:32\n", 32   ...Now working at 800x600:32
) = 32
brk(0)                                  = 0x1ee9000
brk(0x1f0e000)                          = 0x1f0e000
write(1, "---GUI\n", 7---GUI
)                 = 7
write(1, "Loading font from misc/iso8859-1"..., 38Loading font from misc/iso8859-1.rgba
) = 38
write(1, "   Loading file misc/iso8859-1.r"..., 36   Loading file misc/iso8859-1.rgba
) = 36
write(1, "     sizex = \"512\"\n", 19     sizex = "512"
)  = 19
write(1, "     sizey = \"512\"\n", 19     sizey = "512"
)  = 19
write(1, "     smooth = \"true\"\n", 21     smooth = "true"
) = 21
write(1, "     wth = \"10.000000\"\n", 23     wth = "10.000000"
) = 23
write(1, "     hth = \"20.000000\"\n", 23     hth = "20.000000"
) = 23
open("/home/charles/.ultimatestunts/saveddata/misc/iso8859-1.rgba", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/ultimatestunts/misc/iso8859-1.rgba", O_RDONLY) = -1 ENOENT (No such file or directory)
open("", O_RDONLY)                      = -1 ENOENT (No such file or directory)
dup(2)                                  = 6
fcntl(6, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(6, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa5b976a000
lseek(6, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(6, "No such file or directory\n", 26No such file or directory
) = 26
close(6)                                = 0
munmap(0x7fa5b976a000, 4096)            = 0
exit_group(1)                           = ?
+++ exited with 1 +++

charles@charles-hp ~$ rpm -q ultimatestunts
ultimatestunts-0.7.7-1.fc17.x86_64

Comment 11 Dan Horák 2012-09-12 06:07:44 UTC
(In reply to comment #10)
> Still fails after the update.
 
please remove the .ultimatestunts directory from your $HOME, it contains a copy of the wrong config file

Comment 12 Charles Goodwin 2012-09-12 14:05:55 UTC
Right you were; runs fine now.

Comment 13 Fedora Update System 2012-09-17 22:19:32 UTC
ultimatestunts-0.7.7-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2012-09-19 02:59:25 UTC
ultimatestunts-0.7.7-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2012-09-19 03:11:20 UTC
ultimatestunts-0.7.7-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.