Bug 1295185 - Supertux don't save level state
Summary: Supertux don't save level state
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: supertux
Version: 23
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-03 11:45 UTC by David Horvath
Modified: 2016-08-13 23:22 UTC (History)
5 users (show)

Fixed In Version: supertux-0.4.0-5.fc26 supertux-0.4.0-5.fc24 supertux-0.4.0-2.fc23
Clone Of:
Environment:
Last Closed: 2016-08-13 20:22:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Debug info (12.52 KB, text/plain)
2016-01-03 11:45 UTC, David Horvath
no flags Details

Description David Horvath 2016-01-03 11:45:56 UTC
Created attachment 1111135 [details]
Debug info

Description of problem:
Supertux don't save state of level to HDD.

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

How reproducible:


Steps to Reproduce:
1. dnf install supertux
2. start supertux and play with it
3. if end of level then tux is in start state on map always

Actual results:
tux is in start state alwasy

Expected results:
tux move to next level on map

Additional info:
supertux bugtracker ticket:
https://github.com/SuperTux/supertux/issues/318#issuecomment-168487882

Debug info:
[DEBUG] /builddir/build/BUILD/supertux-0.4.0/src/worldmap/worldmap.cpp:1088 Not loading worldmap state: Squirrel error: failed to get 'worlds' table entry (the index doesn't exist)


If i build from source this game then working fine. The bug is in the Fedora package.

Comment 1 David Horvath 2016-01-03 11:47:29 UTC
Similar error:
https://github.com/SuperTux/supertux/issues/199

Comment 2 Pierre Dorbais 2016-01-30 12:23:03 UTC
Same issue for me, on both Fedora 22 and Fedora 23 (x86_64).

Comment 3 Jos de Kloe 2016-02-18 18:36:33 UTC
confirmed on my side as well for version supertux-0.4.0-1.fc23.x86_64
Any workarounds known?

Comment 4 Jerry James 2016-05-12 18:20:25 UTC
The problem appears to be related to the unbundling of squirrel.  If I build from the supertux spec file, but comment out the application of patch 1 and don't add the squirrel include path to CFLAGS and CXXFLAGS, then the resulting supertux RPM saves games correctly.

Fedora currently ships squirrel 2.2.5.  Supertux bundles squirrel 3.0.7.  It looks like only codeblocks and supertux use squirrel.  If codeblocks can survive an upgrade to version 3+, then the best solution is to update squirrel.

Comment 5 David King 2016-08-04 12:55:03 UTC
I replaced the patch to use the system squirrel by one that installs into a package-specific subdirectory under libdir. I tested with a new configuration directory and the level completion state seems to be saved fine.

Comment 6 Fedora Update System 2016-08-04 13:10:58 UTC
supertux-0.4.0-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5501cbdfe9

Comment 7 Fedora Update System 2016-08-04 14:19:54 UTC
supertux-0.4.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ef6b3d164f

Comment 8 Fedora Update System 2016-08-04 23:51:06 UTC
supertux-0.4.0-5.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5501cbdfe9

Comment 9 Fedora Update System 2016-08-05 21:22:08 UTC
supertux-0.4.0-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ef6b3d164f

Comment 10 Fedora Update System 2016-08-13 20:22:28 UTC
supertux-0.4.0-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2016-08-13 23:22:10 UTC
supertux-0.4.0-2.fc23 has been pushed to the Fedora 23 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.