Started by an SCM change
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/SpadesX
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/lib/jenkins/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.30.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 559ba0b31b7c054bbb3a96dfb4e6d2581ad983b4 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 559ba0b31b7c054bbb3a96dfb4e6d2581ad983b4 # timeout=10
Commit message: "README.md: Add repobeats statistics."
 > git rev-list --no-walk 2ebb0ca503106a2ab8408b25f2cf7d51f7f592f4 # timeout=10
[SpadesX] $ /bin/sh -xe /tmp/jenkins11225587377790858663.sh
+ git clean -f -d -x
Removing build/
+ git submodule init
+ git submodule update
[SpadesX] $ /bin/sh -xe /tmp/jenkins9444771720329585116.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 10.0.0
-- The CXX compiler identification is GNU 10.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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- 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 PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Found enet: /usr/i686-w64-mingw32/lib/libenet.a  
-- Configuring done
-- Generating done
-- Build files have been written to: /var/lib/jenkins/workspace/SpadesX/build
+ make -j 2
Scanning dependencies of target mapvxl
[  5%] Building C object Extern/libmapvxl/CMakeFiles/mapvxl.dir/libmapvxl.c.obj
Scanning dependencies of target util
[ 10%] Building C object Source/Util/CMakeFiles/util.dir/Queue.c.obj
[ 15%] Building C object Source/Util/CMakeFiles/util.dir/Compress.c.obj
[ 21%] Linking C static library libmapvxl.a
[ 26%] Building C object Source/Util/CMakeFiles/util.dir/DataStream.c.obj
[ 26%] Built target mapvxl
[ 31%] Building C object Source/Util/CMakeFiles/util.dir/Physics.c.obj
[ 36%] Building C object Source/Util/CMakeFiles/util.dir/Line.c.obj
In file included from /var/lib/jenkins/workspace/SpadesX/Source/Util/Line.c:3:
/var/lib/jenkins/workspace/SpadesX/Source/Util/../Server.h:18:8: error: unknown type name ‘pthread_mutex_t’
   18 | extern pthread_mutex_t serverLock;
      |        ^~~~~~~~~~~~~~~
make[2]: *** [Source/Util/CMakeFiles/util.dir/build.make:139: Source/Util/CMakeFiles/util.dir/Line.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:227: Source/Util/CMakeFiles/util.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording fingerprints
Finished: FAILURE