Package Details: soldat-git 122.g967097b-2

Git Clone URL: https://aur.archlinux.org/soldat-git.git (read-only, click to copy)
Package Base: soldat-git
Description: Unique 2D (side-view) multiplayer action game.
Upstream URL: https://soldat.pl/en/
Keywords: fps game shooter
Licenses: BSD, CC-BY-4.0
Provides: soldat
Submitter: thann
Maintainer: None
Last Packager: Mr.Smith1974
Votes: 8
Popularity: 0.000016
First Submitted: 2020-05-26 04:10 (UTC)
Last Updated: 2023-08-10 05:36 (UTC)

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

Traace commented on 2020-06-01 18:35 (UTC) (edited on 2020-06-24 14:45 (UTC) by Traace)

nice, a few days after soldat finally gone open source we have a PKGBUILD file. thanks @thann.

For me make actually throws an error that libstb.so is missing.

cc -shared -O3 -fPIC -fno-strict-aliasing -o libstb.so src/stb.c

cp libstb.so ../../build/

cp: cannot stat 'libstb.so': No such file or directory

Edit: sorry, I'm not a docker guy :(

thann commented on 2020-05-27 18:33 (UTC) (edited on 2020-05-27 20:55 (UTC) by thann)

Very strange error. Make doesn't throw any error when compiling libstb.so, but afterwards the file cant be found =/

EDIT: Try building the packages in docker like this:

mkdir /tmp/yay
docker run --rm -v "/tmp/yay:/home/build/.cache/yay" thann/yay soldat
sudo pacman -U /tmp/yay/**/*.pkg.tar.xz

nivekuil commented on 2020-05-27 13:18 (UTC) (edited on 2020-05-27 13:19 (UTC) by nivekuil)

Doesn't build for me:

(9015) Linking ./build/soldatserver_x64
/tmp/yay/soldat-git/src/soldat-git/server/soldatserver.lpr(49,1) Warning: (9034) "crtbeginS.o" not found, this will probably cause a linking failure
/tmp/yay/soldat-git/src/soldat-git/server/soldatserver.lpr(49,1) Warning: (9034) "crtendS.o" not found, this will probably cause a linking failure
/usr/bin/ld: warning: ./build/link.res contains output sections; did you forget -T?
(1008) 257864 lines compiled, 2.9 sec
(1021) 17 warning(s) issued
(1022) 158 hint(s) issued
(1023) 4 note(s) issued
cc -shared -O3 -fPIC -fno-strict-aliasing -o libstb.so src/stb.c
cp libstb.so ../../build/
cp: cannot stat 'libstb.so': No such file or directory
make: *** [makefile:9: copy] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
Error making: soldat-git

thann commented on 2020-05-27 04:10 (UTC)

I made a little whoopsie with the version number, so if you installed before this comment, then you might need to uninstall-and-reinstall to get updates in the future.

thann commented on 2020-05-26 19:09 (UTC) (edited on 2020-05-26 19:16 (UTC) by thann)

There was an unlisted dep: zip, but I just added it. If you're still having trouble, ensure that the base-devel package is installed. Everything worked using yay but feel free to email me the errors =]

Steinberg2010 commented on 2020-05-26 11:05 (UTC)

I had to edit the PKGBUILD to find gamenetworkingsockets-git Install still fails for me - has anyone edited it successfully?

thann commented on 2020-05-26 04:14 (UTC) (edited on 2020-05-26 05:33 (UTC) by thann)

Start Server: soldatserver

Start Game: soldat -join 127.0.0.1 23073

Config Location: ~/.local/share/Soldat/Soldat/