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.
Similar error: https://github.com/SuperTux/supertux/issues/199
Same issue for me, on both Fedora 22 and Fedora 23 (x86_64).
confirmed on my side as well for version supertux-0.4.0-1.fc23.x86_64 Any workarounds known?
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.
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.
supertux-0.4.0-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5501cbdfe9
supertux-0.4.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ef6b3d164f
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
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
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.
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.