Package Details: supertux-git 7292.f24d3bc-1

Git Clone URL: https://aur.archlinux.org/supertux-git.git (read-only)
Package Base: supertux-git
Description: A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario game
Upstream URL: http://supertux.lethargik.org/
Licenses: GPL
Conflicts: supertux
Provides: supertux
Submitter: chenxiaolong
Maintainer: chenxiaolong
Last Packager: chenxiaolong
Votes: 13
Popularity: 0.070625
First Submitted: 2012-02-16 21:18
Last Updated: 2016-04-17 06:04

Latest Comments

colinkeenan commented on 2016-06-11 17:25

I figured out how to make this compile. The problem is that warnings are treated as errors everywhere and we are probably using a later version of gcc than the author so we are getting more warnings that stop the compile only because they are treated as errors. After it failed to compile, I did the following and it worked:

cd src

grep -rl "\-Werror" | xargs sed -i "s/\-Werror//g"

cd ..

With that change, maekpkg worked. After installing, the game works as well. Maybe something like this should be added to PKGBUILD because we don't care about warnings and certainly don't want them to be treated as errors.

colinkeenan commented on 2016-06-04 14:54

It's been a month since this package built on my system. Can anyone build this?

colinkeenan commented on 2016-05-04 01:01

Builds today 5/3. Guess it's to be expected with a git package in active development.

colinkeenan commented on 2016-05-01 03:28

Doesn't build on 4/30/2016:

.
.
.
[100%] Built target tinygettext
.
.
.
[ 3%] Completed 'tinygettext'
[ 3%] Built target tinygettext
Scanning dependencies of target sexp
[ 3%] Building CXX object CMakeFiles/sexp.dir/external/sexp-cpp/src/io.cpp.o
[ 3%] Building CXX object CMakeFiles/sexp.dir/external/sexp-cpp/src/value.cpp.o
[ 4%] Building CXX object CMakeFiles/sexp.dir/external/sexp-cpp/src/util.cpp.o
[ 4%] Building CXX object CMakeFiles/sexp.dir/external/sexp-cpp/src/parser.cpp.o
[ 4%] Building CXX object CMakeFiles/sexp.dir/external/sexp-cpp/src/lexer.cpp.o
[ 5%] Linking CXX static library libsexp.a
[ 5%] Built target sexp
Scanning dependencies of target squirrel
[ 5%] Creating directories for 'squirrel'
[ 6%] No download step for 'squirrel'
[ 6%] No patch step for 'squirrel'
[ 6%] No update step for 'squirrel'
[ 7%] Performing configure step for 'squirrel'
.
.
.
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

LIB_SUFFIX


-- Build files have been written to: /home/colin/abs/supertux-git/src/supertux/squirrel-prefix/src/squirrel-build
[ 7%] Performing build step for 'squirrel'
Scanning dependencies of target squirrel
.
.
.
[ 7%] Completed 'squirrel'
[ 7%] Built target squirrel
Scanning dependencies of target supertux2_c
[ 8%] Building C object CMakeFiles/supertux2_c.dir/external/findlocale/findlocale.c.o
[ 8%] Building C object CMakeFiles/supertux2_c.dir/external/obstack/obstack.c.o
[ 8%] Built target supertux2_c
Scanning dependencies of target supertux2_lib
[ 8%] Building CXX object CMakeFiles/supertux2_lib.dir/src/addon/addon.cpp.o
[ 9%] Building CXX object CMakeFiles/supertux2_lib.dir/src/addon/addon_manager.cpp.o
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp: In function ‘MD5 {anonymous}::md5_from_file(const string&)’:
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:67:72: error: ‘PHYSFS_readBytes’ was not declared in this scope
PHYSFS_sint64 len = PHYSFS_readBytes(file, buffer, sizeof(buffer));
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp: In function ‘void {anonymous}::add_to_dictionary_path(void*, const char*, const char*)’:
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:88:5: error: ‘PHYSFS_Stat’ was not declared in this scope
PHYSFS_Stat statbuf;
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:89:37: error: ‘statbuf’ was not declared in this scope
PHYSFS_stat(full_path.c_str(), &statbuf);
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:89:44: error: ‘PHYSFS_stat’ was not declared in this scope
PHYSFS_stat(full_path.c_str(), &statbuf);
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:90:28: error: ‘PHYSFS_FILETYPE_DIRECTORY’ was not declared in this scope
if(statbuf.filetype == PHYSFS_FILETYPE_DIRECTORY)
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp: In function ‘void {anonymous}::remove_from_dictionary_path(void*, const char*, const char*)’:
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:100:5: error: ‘PHYSFS_Stat’ was not declared in this scope
PHYSFS_Stat statbuf;
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:101:37: error: ‘statbuf’ was not declared in this scope
PHYSFS_stat(full_path.c_str(), &statbuf);
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:101:44: error: ‘PHYSFS_stat’ was not declared in this scope
PHYSFS_stat(full_path.c_str(), &statbuf);
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:102:28: error: ‘PHYSFS_FILETYPE_DIRECTORY’ was not declared in this scope
if(statbuf.filetype == PHYSFS_FILETYPE_DIRECTORY)
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp: In member function ‘void AddonManager::disable_addon(const AddonId&)’:
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:470:60: error: ‘PHYSFS_unmount’ was not declared in this scope
if (PHYSFS_unmount(addon.get_install_filename().c_str()) == 0)
^
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp: In member function ‘void AddonManager::add_installed_archive(const string&, const string&)’:
/home/colin/abs/supertux-git/src/supertux/src/addon/addon_manager.cpp:576:35: error: ‘PHYSFS_unmount’ was not declared in this scope
PHYSFS_unmount(os_path.c_str());
^
CMakeFiles/supertux2_lib.dir/build.make:87: recipe for target 'CMakeFiles/supertux2_lib.dir/src/addon/addon_manager.cpp.o' failed
make[2]: *** [CMakeFiles/supertux2_lib.dir/src/addon/addon_manager.cpp.o] Error 1
CMakeFiles/Makefile2:256: recipe for target 'CMakeFiles/supertux2_lib.dir/all' failed
make[1]: *** [CMakeFiles/supertux2_lib.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


Can anyone build it?

gennmaiko commented on 2016-04-26 15:31

That problem solved by doing "yaourt -S supertux-git" today.
Thanks :)

gennmaiko commented on 2016-04-25 16:43

gennmaiko ~ $ supertux2
[WARNING] /tmp/yaourt-tmp-gennmaiko/aur-supertux-git/src/supertux/src/audio/sound_manager.cpp:175 Error while preloading sound file: read error while reading samples
[WARNING] /tmp/yaourt-tmp-gennmaiko/aur-supertux-git/src/supertux/src/audio/sound_manager.cpp:175 Error while preloading sound file: read error while reading samples
[WARNING] /tmp/yaourt-tmp-gennmaiko/aur-supertux-git/src/supertux/src/audio/sound_manager.cpp:175 Error while preloading sound file: read error while reading samples
[WARNING] /tmp/yaourt-tmp-gennmaiko/aur-supertux-git/src/supertux/src/audio/sound_manager.cpp:175 Error while preloading sound file: read error while reading samples
[WARNING] /tmp/yaourt-tmp-gennmaiko/aur-supertux-git/src/supertux/src/audio/sound_manager.cpp:175 Error while preloading sound file: read error while reading samples
[WARNING] /tmp/yaourt-tmp-gennmaiko/aur-supertux-git/src/supertux/src/audio/sound_manager.cpp:175 Error while preloading sound file: read error while reading samples
[WARNING] /tmp/yaourt-tmp-gennmaiko/aur-supertux-git/src/supertux/src/audio/sound_manager.cpp:175 Error while preloading sound file: read error while reading samples
[WARNING] /tmp/yaourt-tmp-gennmaiko/aur-supertux-git/src/supertux/src/audio/sound_manager.cpp:175 Error while preloading sound file: read error while reading samples
Segmentation fault (Core dump)

How to fix this? Any advance thanks.

gennmaiko commented on 2016-02-04 08:48

--- PKGBUILD 2015-06-10 08:38:40.000000000 +0900
+++ PKGBUILD.fixed 2016-02-04 17:43:28.536592343 +0900
@@ -23,7 +23,7 @@

prepare() {
cd supertux
-
+ git submodule update --init --recursive
sed -i '/curl\/types.h/d' src/addon/addon_manager.cpp
sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp
}

mensinda commented on 2015-09-28 09:44

Supertux requires another submodule: https://github.com/SuperTux/squirrel

Patch for both submodules:
https://gist.github.com/mensinda/531a9a3c21d05a850e49

mensinda commented on 2015-08-12 09:51

Supertux uses the submodule https://github.com/tinygettext/tinygettext. It fails to build without it.

ChemBro commented on 2015-03-31 11:50

oops, didn't saw the german text in there.

Fehler: ungültige Umwandlung von

means something like

Error: invalid conversion(?) from

All comments