I'm getting build failures trying to build today, can anyone confirm?
[genversion] update needed
[ 0%] Built target version-generated.h
[ 1%] Generating tolua.cpp
/bin/sh: line 1: -L: command not found
make[2]: *** [CMakeFiles/stratagus.dir/build.make:93: tolua.cpp] Error 127
make[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/stratagus.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/tmp/stratagus-git/src/build'
==> ERROR: A failure occurred in build().
Aborting...
I checked around for the -L, and found it in src/build/CMakeFiles/stratagus.dir/build.make:
cd /tmp/stratagus-git/src/stratagus-git/src/tolua && -L stratagus.lua -o /tmp/stratagus-git/src/build/tolua.cpp stratagus.pkg
I'm not much of a linux build guru, but that && -L looks suspect to me. Anyone have a similar issue? Thanks!
ed: building the non-git version of stratagus, and then checking this line in build.make, it appears that it should read && /sbin/toluapp -L. I've updated that file, and it passes that portion of the build.
Pinned Comments
ipochto commented on 2022-03-26 17:57 (UTC)
@EndlessEdenn hi there. According to this: https://www.reddit.com/r/archlinux/comments/teql3v/github_no_longer_supports_git_some_pkgbuilds/
please, update source:
source=("${pkgname}::git://github.com/Wargus/stratagus.git")
->source=("${pkgname}::git+https://github.com/Wargus/stratagus.git")
EndlessEden commented on 2021-11-17 13:21 (UTC) (edited on 2021-11-25 10:20 (UTC) by EndlessEden)
@ipochto - I did a quick edit, ill properly clean it up and fix versioning later. Depends are in now however.
For those emailing/filing abandon request I'm working on it. I have a backlog and only one functional build environment, which is at work at the moment.
I don't reply to emails, which is why they are removed from newer pkgbuilds and not published on my account.
I will update this asap, although keep in mind the author has stated several times there is refactoring going on upstream breaking compatibility at the moment.