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

1 2 Next › Last »

Zepman commented on 2021-04-08 12:00 (UTC) (edited on 2021-04-08 12:01 (UTC) by Zepman)

Compilation fails:

(9015) Linking ./build/soldatserver_x64
/usr/bin/ld: ./build/x86_64-linux/GameNetworkingSockets.o: in function `INIT':
/home/user/src/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:1891: undefined reference to `SteamAPI_SteamNetworkingSockets_v009'
/usr/bin/ld: ./build/x86_64-linux/GameNetworkingSockets.o: in function `RUNCALLBACKS':
/home/user/src/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:2008: undefined reference to `SteamAPI_ISteamNetworkingSockets_RunCallbacks'
/usr/bin/ld: ./build/x86_64-linux/GameNetworkingSockets.o: in function `SETGLOBALCONFIGVALUEPTR':
/home/user/src/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:2050: undefined reference to `SteamAPI_ISteamNetworkingUtils_SetGlobalConfigValuePtr'
/usr/bin/ld: ./build/x86_64-linux/GameNetworkingSockets.o: in function `SETGLOBALCALLBACK_STEAMNETCONNECTIONSTATUSCHANGED':
/home/user/src/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:2066: undefined reference to `SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_SteamNetConnectionStatusChanged'
/usr/bin/ld: ./build/x86_64-linux/GameNetworkingSockets.o: in function `SETGLOBALCALLBACK_STEAMNETAUTHENTICATIONSTATUSCHANGED':
/home/user/src/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:2070: undefined reference to `SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_SteamNetAuthenticationStatusChanged'
/usr/bin/ld: ./build/x86_64-linux/GameNetworkingSockets.o: in function `SETGLOBALCALLBACK_STEAMRELAYNETWORKSTATUSCHANGED':
/home/user/src/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:2074: undefined reference to `SteamAPI_ISteamNetworkingUtils_SetGlobalCallback_SteamRelayNetworkStatusChanged'
/home/user/src/soldat-git/src/soldat-git/server/soldatserver.lpr(49,1) Error: (9013) Error while linking
/home/user/src/soldat-git/src/soldat-git/server/soldatserver.lpr(49,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
make: *** [Makefile:121: linux_x86_64] Error 1

kaczus commented on 2020-08-11 21:01 (UTC) (edited on 2020-08-11 21:06 (UTC) by kaczus)

Looks like some kind of a race condition. Got the same error "cp: cannot stat 'libstb.so': No such file or directory". BUT, using bare makepkg twice worked. The package got built. It crashes when entering the game

$ soldat -join 0.0.0.0 30000   
[NET] Received SteamNetConnectionStatusChangedCallback_t (2181141519, ((k_ESteamNetworkingIdentityType_Invalid, 0, 0, ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''], (((0, 0, 0, [0, 0, 0, 0]), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), 0), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), -1, 0, (((0, 0, 65535, [0, 0, 0, 0]), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0]), 30000), 0, 1, 0, k_ESteamNetworkingConnectionState_Connected, 0, ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '#', '2', '1', '8', '1', '1', '4', '1'], ['5', '1', '9', ' ', 'U', 'D', 'P', ' ', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '@', '0', '.', '0', '.', '0', '.', '0', ':', '3', '0', '0', '0', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''], k_ESteamNetTransport_Unknown), k_ESteamNetworkingConnectionState_Connected)
[NET DEBUG] [#2181141519 UDP invalid@0.0.0.0:30000] problem detected locally (5003): Timed out attempting to connect
An unhandled exception occurred at $00000000004ECF40:
EAccessViolation: Access violation
  $00000000004ECF40
  $00000000004AACB0
  $00000000004AACB0
  $00000000004D271B
  $00000000004D1B8B
  $00007F44DE9141A4
  $00000000004D1B30

[NET] Received SteamNetConnectionStatusChangedCallback_t [NET DEBUG] Shutting down low level socket/threading support.

kochon commented on 2020-07-20 16:03 (UTC)

Package fails to copy libstb.so... not sure what the solution is, none of the solutions posted here seem to do it for me.

thann commented on 2020-07-14 19:52 (UTC)

@Wuzzy Thanks for the reports! I updated the license and instead of depending on an external gamenetworkingsockets, I decided to just build the custom version needed inside this PKGBUILD =]

Wuzzy commented on 2020-07-14 11:10 (UTC) (edited on 2020-07-14 11:21 (UTC) by Wuzzy)

Building the package fails when picking gamenetworkingsockets-git:

This is my error log:

~/.cache/pikaur/build/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:1631: undefined reference to `SteamAPI_SteamNetworkingSockets_v008'
/usr/bin/ld: ./build/x86_64-linux/GameNetworkingSockets.o: in function `RUNCONNECTIONSTATUSCHANGEDCALLBACKS':
~/.cache/pikaur/build/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:1749: undefined reference to `SteamAPI_ISteamNetworkingSockets_RunConnectionStatusChangedCallbacks'

EDIT: According to the developer(s), libGameNetworkingSockets needs to be built under a very specific commit. How strange. https://github.com/Soldat/prebuilt-libs/issues/1

You probably want to talk to the devs, too.

Wuzzy commented on 2020-07-14 10:17 (UTC)

Media license changed!

Soldat media files (https://github.com/Soldat/base) are now released under CC BY 4.0. The license “custom:Shareware assets” no longer applies.

thann commented on 2020-06-29 19:20 (UTC) (edited on 2020-07-15 04:30 (UTC) by thann)

@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&id=5a995902d5f78a97cac75a2a6784ddbeea71a7a3#n39

thann commented on 2020-06-17 19:17 (UTC)

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 (UTC) (edited on 2020-06-24 14:46 (UTC) by Traace)

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 (UTC)

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