Package Details: soldat-git 1.8.0.alpha.initial.3.g6dee4d0-1

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://github.com/Soldat/soldat
Keywords: game
Licenses: MIT, custom:Shareware assets
Provides: soldat
Submitter: thann
Maintainer: thann
Last Packager: thann
Votes: 5
Popularity: 2.28
First Submitted: 2020-05-26 04:10
Last Updated: 2020-06-24 21:06

Pinned Comments

thann commented on 2020-05-26 04:14

Start Server: soldatserver

Start Game: soldat -join 127.0.0.1 23073

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

Latest Comments

1 2 Next › Last »

thann commented on 2020-06-29 19:20

@traace, the PKGBUILD does include the make command for stb, but for some reason it doesn't work for some people =/

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=soldat-git#n39

thann commented on 2020-06-17 19:17

The protobuf errors are caused by a recent update to protobuf. If you update gamenetworkingsockets-git then it should work =]

Traace commented on 2020-06-06 05:49

Edit: @thann thanks for all the help :) Updating gamenetworkingsockets-git resolved that protobuf error. However it brought back libstb.so missing error.

I'll now mod the PKGBUILD and include make -d running in client/libs/stb dir. Just wonder why this isn't included in the AUR PKGBUILD file by default?

thann commented on 2020-06-01 23:53

If you're having trouble with libstb.so, try going into client/libs/stb/ and running make -d

Traace commented on 2020-06-01 18:35

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

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

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

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

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

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