Hey @donny, would you merge Neko-san's build()
and package()
fixes to the PKGBUILD
? It fix the build fails
Search Criteria
Package Details: supertuxkart-git 1.4.r384.ge2b2a1c-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/supertuxkart-git.git (read-only, click to copy) |
---|---|
Package Base: | supertuxkart-git |
Description: | A kart racing game featuring Tux and his friends |
Upstream URL: | https://github.com/supertuxkart/stk-code |
Licenses: | GPL-3.0-or-later |
Submitter: | donny |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 19 |
Popularity: | 0.000005 |
First Submitted: | 2014-01-20 07:32 (UTC) |
Last Updated: | 2025-01-10 03:51 (UTC) |
Dependencies (18)
- bluez-libs (bluez-gitAUR)
- freetype2 (freetype2-macosAUR, freetype2-gitAUR, freetype2-qdoledAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libopenglrecorderAUR (libopenglrecorderAUR, libopenglrecorder-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- openal (openal-gitAUR)
- sdl2AUR (sdl2-compat-gitAUR, sdl2-gitAUR, sdl2-compat)
- shaderc (shaderc-gitAUR)
- supertuxkart-assets (supertuxkart-assets-svnAUR)
- bluez-libs (bluez-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libvpx (libvpx-full-gitAUR, libvpx-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
Required by (0)
Sources (1)
baba99j commented on 2022-03-28 08:06 (UTC)
Neko-san commented on 2021-08-02 02:59 (UTC) (edited on 2021-09-16 18:24 (UTC) by Neko-san)
The build fails because a directory isn't created in the setup:
/home/neko-san/.cache/paru/clone/supertuxkart-git/PKGBUILD: line 57: cd: /home/neko-san/.cache/paru/clone/supertuxkart-git/pkg/supertuxkart-git/usr/share/pixmaps: No such file or directory
Edit: I managed to fix it by replacing the build()
and package()
sections with this:
build() {
cd "${srcdir}/stk-code"
if [ -d "cmake_build" ]; then
rm -rf cmake_build
fi
mkdir cmake_build
cd cmake_build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
# -DBUILD_RECORDER=off - disable in-game recorder (then you can remove the dependency `libopenglrecorder`)
make -j2
}
package() {
cd "stk-code/cmake_build"
if [ ! -d "${pkgdir}/usr/share/pixmaps" ]; then
mkdir -p "${pkgdir}/usr/share/pixmaps"
fi
make DESTDIR=${pkgdir} install
cd "${pkgdir}/usr/share/pixmaps"
if [ ! -f supertuxkart.png ]; then
ln -s supertuxkart{_128,}.png
fi
if [ -d "${pkgdir}/usr/lib64" ]; then
mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"
fi
}
Time4Tea commented on 2021-03-20 14:50 (UTC) (edited on 2021-03-20 14:51 (UTC) by Time4Tea)
Hi, when I try to run makepkg, I am getting the following error:
-> Updating stk-assets svn repo...
Skipped '.'
svn: E155007: None of the targets are working copies
==> WARNING: Failure while updating stk-assets svn repo
It seems to be a problem with subversion, but I am not sure what is causing it.
Labo commented on 2020-09-13 16:14 (UTC)
Upon launching, I have this issue:
[verbose ] main: Error messages and other text output will be logged to /home/louisabraham/.config/supertuxkart/config-0.10/stdout.log.
[info ] [FileManager]: Data files will be fetched from: '/usr/share/supertuxkart/data/'
[info ] [FileManager]: User directory is '/home/louisabraham/.config/supertuxkart/config-0.10/'.
[info ] [FileManager]: Addons files will be stored in '/home/louisabraham/.local/share/supertuxkart/addons/'.
[info ] [FileManager]: Screenshots will be stored in '/home/louisabraham/.local/share/supertuxkart/screenshots/'.
[info ] [FileManager]: User-defined grand prix will be stored in '/home/louisabraham/.local/share/supertuxkart/grandprix/'.
[info ] [FileManager]: Asset 0 will be loaded from '/usr/share/supertuxkart/data/challenges/'.
[info ] [FileManager]: Asset 1 will be loaded from '/usr/share/supertuxkart/data/gfx/'.
[info ] [FileManager]: Asset 2 will be loaded from '/usr/share/supertuxkart/data/grandprix/'.
[info ] [FileManager]: Asset 3 will be loaded from '/usr/share/supertuxkart/data/gui/icons/'.
[info ] [FileManager]: Asset 4 will be loaded from '/usr/share/supertuxkart/data/gui/screens/'.
[info ] [FileManager]: Asset 5 will be loaded from '/usr/share/supertuxkart/data/gui/dialogs/'.
[info ] [FileManager]: Asset 6 will be loaded from '/usr/share/supertuxkart/data/replay/'.
[info ] [FileManager]: Asset 7 will be loaded from '/usr/share/supertuxkart/data/shaders/'.
[info ] [FileManager]: Asset 8 will be loaded from '/usr/share/supertuxkart/data/skins/'.
[info ] [FileManager]: Asset 9 will be loaded from '/usr/share/supertuxkart/data/ttf/'.
[info ] [FileManager]: Asset 10 will be loaded from '/usr/share/supertuxkart/data/po/'.
[warn ] [FileManager]: Directory 'library' not found, aborting.
[warn ] [FileManager]: Directory 'models' not found, aborting.
[warn ] [FileManager]: Directory 'music' not found, aborting.
[warn ] [FileManager]: Directory 'sfx' not found, aborting.
[warn ] [FileManager]: Directory 'textures' not found, aborting.
[info ] [FileManager]: Asset 16 will be loaded from '/usr/share/supertuxkart/data/tracks/'.
[fatal ] [FileManager]: Not all assets found - aborting.
It looks like only some assets were downloaded. How can I fix that?
also posted on github: https://github.com/supertuxkart/stk-code/issues/4388
Opvolger commented on 2020-08-29 19:37 (UTC)
please add aarch64 architect to your build. this build works on pinebook pro
donny commented on 2020-01-01 14:35 (UTC)
Hello Lucki, sorry for the delay. Rebuilding the libopenglrecorder
AUR package should help.
Lucki commented on 2019-10-16 13:42 (UTC)
I get this error while trying to build:
[100%] Linking CXX executable bin/supertuxkart
/usr/bin/ld: warning: libvpx.so.5, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libopenh264.so.4, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `vpx_codec_get_cx_data'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `vpx_codec_vp9_cx'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `WelsCreateSVCEncoder'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `WelsDestroySVCEncoder'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `vpx_codec_vp8_cx'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `vpx_codec_destroy'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `vpx_codec_encode'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `vpx_img_wrap'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `vpx_codec_enc_init_ver'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/libopenglrecorder.so: undefined reference to `vpx_codec_enc_config_default'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/supertuxkart.dir/build.make:6503: bin/supertuxkart] Error 1
make[1]: *** [CMakeFiles/Makefile2:93: CMakeFiles/supertuxkart.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
gary9872 commented on 2019-01-12 23:18 (UTC)
I fired an email to the packager of cmake, wiiuse uses GNUInstaller cmake.
The current version of cmake seems to be set to lib64 rather than lib. I'm assuming this is why it failed.
gary9872 commented on 2019-01-12 22:29 (UTC)
thanks for quick fix donny
cheers
donny commented on 2019-01-12 21:16 (UTC)
Hello guys, I added a fix which should solve the /usr/lib64 symlink issue.
Pinned Comments
xiota commented on 2025-01-10 03:56 (UTC)
Package has been revised to move assets into separate package. Conflicts with
extra/supertuxkart
is via assets package.