Started by user ByteBit
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/SpadesX
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/SpadesX/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/SpadesX/SpadesX.git # timeout=10
Fetching upstream changes from https://github.com/SpadesX/SpadesX.git
 > git --version # timeout=10
 > git --version # 'git version 2.39.2'
 > git fetch --tags --force --progress -- https://github.com/SpadesX/SpadesX.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision b83facaa3429995732f77a7f8f588132f0061e01 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b83facaa3429995732f77a7f8f588132f0061e01 # timeout=10
Commit message: "Player.c: make z spawn offset the same as in pyspades"
 > git rev-list --no-walk b83facaa3429995732f77a7f8f588132f0061e01 # timeout=10
[SpadesX] $ /bin/sh -xe /tmp/jenkins12247833727970669540.sh
+ git clean -f -d -x
Removing build/
+ git submodule init
+ git submodule update
[SpadesX] $ /bin/sh -xe /tmp/jenkins5450139758953526638.sh
+ mkdir -p build
+ cd build
+ cmake -G Unix Makefiles -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++ -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_EXE_LINKER_FLAGS=-static -DCMAKE_FIND_ROOT_PATH=/usr/i686-w64-mingw32 -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY ..
-- The C compiler identification is GNU 12.0.0
-- The CXX compiler identification is GNU 12.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/i686-w64-mingw32-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found Git: /usr/bin/git (found version "2.39.2") 
-- Looking for fcntl
-- Looking for fcntl - not found
-- Looking for poll
-- Looking for poll - not found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - not found
-- Looking for getnameinfo
-- Looking for getnameinfo - not found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - not found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - not found
-- Looking for inet_pton
-- Looking for inet_pton - not found
-- Looking for inet_ntop
-- Looking for inet_ntop - not found
-- Performing Test HAS_MSGHDR_FLAGS
-- Performing Test HAS_MSGHDR_FLAGS - Failed
-- Check size of socklen_t
-- Check size of socklen_t - failed
-- Configuring done
-- Generating done
-- Build files have been written to: /var/jenkins_home/workspace/SpadesX/build
+ make -j 4
[ 14%] Building C object Extern/spadesx_enet/CMakeFiles/enet.dir/Unity/unity_0_c.c.obj
[ 14%] Building C object Extern/spadesx_enet/CMakeFiles/enet.dir/Unity/unity_1_c.c.obj
[ 14%] Building C object Extern/libmapvxl/CMakeFiles/mapvxl.dir/Unity/unity_0_c.c.obj
[ 19%] Linking C static library libmapvxl.a
[ 19%] Built target mapvxl
[ 28%] Building C object Source/Util/CMakeFiles/Util.dir/Unity/unity_2_c.c.obj
[ 28%] Building C object Source/Util/CMakeFiles/Util.dir/Unity/unity_1_c.c.obj
[ 33%] Building C object Source/Util/CMakeFiles/Util.dir/Unity/unity_0_c.c.obj
In file included from /var/jenkins_home/workspace/SpadesX/build/Source/Util/CMakeFiles/Util.dir/Unity/unity_1_c.c:3:
/var/jenkins_home/workspace/SpadesX/Source/Util/Compress.c:10:10: fatal error: zlib.h: No such file or directory
   10 | #include <zlib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [Source/Util/CMakeFiles/Util.dir/build.make:92: Source/Util/CMakeFiles/Util.dir/Unity/unity_1_c.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 38%] Linking C static library libenet.a
make[1]: *** [CMakeFiles/Makefile2:265: Source/Util/CMakeFiles/Util.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 38%] Built target enet
make: *** [Makefile:136: all] Error 2
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording fingerprints
Finished: FAILURE