Skip to content
Failed

Console Output

Started by GitHub push by xtreme8000
Building in workspace /var/lib/jenkins/workspace/BetterSpades
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/xtreme8000/BetterSpades # timeout=10
Fetching upstream changes from https://github.com/xtreme8000/BetterSpades
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/xtreme8000/BetterSpades +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/standalone^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/standalone^{commit} # timeout=10
Checking out Revision 3ef89a59eaf80d9df711f07957e2179b28996333 (refs/remotes/origin/standalone)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3ef89a59eaf80d9df711f07957e2179b28996333
Commit message: "See desc"
 > git rev-list --no-walk 4bc9a3905ddd654980d67bb61e37a3f1b5238063 # timeout=10
[BetterSpades] $ /bin/sh -xe /tmp/jenkins7172084025652989386.sh
+ git reset --hard HEAD
HEAD is now at 3ef89a5 See desc
+ git clean -f -d -x
Removing build/CMakeCache.txt
Removing build/CMakeFiles/
Removing build/Makefile
Removing build/bin/
Removing build/cmake_install.cmake
Removing dr_wav.h
Removing libs/deflate.lib
Removing libs/enet.lib
Removing libs/libglfw3.a
Removing libs/liblogc.a
Removing libs/libopenal.a
Removing resources/kv6/block.kv6
Removing resources/kv6/cp.kv6
Removing resources/kv6/grenade.kv6
Removing resources/kv6/intel.kv6
Removing resources/kv6/playerarms.kv6
Removing resources/kv6/playerdead.kv6
Removing resources/kv6/playerhead.kv6
Removing resources/kv6/playerleg.kv6
Removing resources/kv6/playerlegc.kv6
Removing resources/kv6/playertorso.kv6
Removing resources/kv6/playertorsoc.kv6
Removing resources/kv6/semi.kv6
Removing resources/kv6/semicasing.kv6
Removing resources/kv6/semitracer.kv6
Removing resources/kv6/shotgun.kv6
Removing resources/kv6/shotguncasing.kv6
Removing resources/kv6/shotguntracer.kv6
Removing resources/kv6/smg.kv6
Removing resources/kv6/smgcasing.kv6
Removing resources/kv6/smgtracer.kv6
Removing resources/kv6/spade.kv6
Removing resources/png/block.png
Removing resources/png/command.png
Removing resources/png/grenade.png
Removing resources/png/health.png
Removing resources/png/indicator.png
Removing resources/png/intel.png
Removing resources/png/medical.png
Removing resources/png/player.png
Removing resources/png/semi.png
Removing resources/png/semiammo.png
Removing resources/png/shotgun.png
Removing resources/png/shotgunammo.png
Removing resources/png/smg.png
Removing resources/png/smgammo.png
Removing resources/png/splash.png
Removing resources/png/target.png
Removing resources/png/tracer.png
Removing resources/png/white.png
Removing resources/wav/beep1.wav
Removing resources/wav/beep2.wav
Removing resources/wav/bounce.wav
Removing resources/wav/build.wav
Removing resources/wav/chat.wav
Removing resources/wav/cock.wav
Removing resources/wav/death.wav
Removing resources/wav/debris.wav
Removing resources/wav/empty.wav
Removing resources/wav/explode.wav
Removing resources/wav/fallhurt.wav
Removing resources/wav/footstep1.wav
Removing resources/wav/footstep2.wav
Removing resources/wav/footstep3.wav
Removing resources/wav/footstep4.wav
Removing resources/wav/grenadebounce.wav
Removing resources/wav/hitground.wav
Removing resources/wav/hitplayer.wav
Removing resources/wav/horn.wav
Removing resources/wav/impact.wav
Removing resources/wav/intro.wav
Removing resources/wav/jump.wav
Removing resources/wav/land.wav
Removing resources/wav/pickup.wav
Removing resources/wav/pin.wav
Removing resources/wav/rifleshoot.wav
Removing resources/wav/semireload.wav
Removing resources/wav/semishoot.wav
Removing resources/wav/shotgunreload.wav
Removing resources/wav/shotgunshoot.wav
Removing resources/wav/smgreload.wav
Removing resources/wav/smgshoot.wav
Removing resources/wav/switch.wav
Removing resources/wav/wade1.wav
Removing resources/wav/wade2.wav
Removing resources/wav/wade3.wav
Removing resources/wav/wade4.wav
Removing resources/wav/waterexplode.wav
Removing resources/wav/waterjump.wav
Removing resources/wav/waterland.wav
Removing resources/wav/whack.wav
Removing resources/wav/woosh.wav
Removing src/dr_wav.c
Removing src/http.h
Removing src/ini.c
Removing src/ini.h
Removing src/libdeflate.h
Removing src/lodepng/
Removing src/log.h
Removing src/parson.c
Removing src/parson.h
Removing src/stb_truetype.h
Removing tmp.txt
+ cp -r /home/libs/deflate.lib /home/libs/enet.lib /home/libs/libglfw3.a /home/libs/liblogc.a /home/libs/libopenal.a libs/
+ mv CMakeLists.txt tmp.txt
+ sed 14,18s/^/# / tmp.txt
+ echo Patching dr_wav
Patching dr_wav
+ wget https://raw.githubusercontent.com/mackron/dr_libs/master/dr_wav.h
--2018-09-23 21:54:43--  https://raw.githubusercontent.com/mackron/dr_libs/master/dr_wav.h
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 140683 (137K) [text/plain]
Saving to: ‘dr_wav.h’

     0K .......... .......... .......... .......... .......... 36%  339K 0s
    50K .......... .......... .......... .......... .......... 72% 1.37M 0s
   100K .......... .......... .......... .......              100% 1.38M=0.2s

2018-09-23 21:54:44 (655 KB/s) - ‘dr_wav.h’ saved [140683/140683]

+ sed 1s/^/#define DR_WAV_IMPLEMENTATION\n / dr_wav.h
+ echo Patching lodepng
Patching lodepng
+ cd src
+ mkdir lodepng
+ cd lodepng
+ wget https://raw.githubusercontent.com/lvandeve/lodepng/master/lodepng.cpp
--2018-09-23 21:54:44--  https://raw.githubusercontent.com/lvandeve/lodepng/master/lodepng.cpp
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 243700 (238K) [text/plain]
Saving to: ‘lodepng.cpp’

     0K .......... .......... .......... .......... .......... 21%  624K 0s
    50K .......... .......... .......... .......... .......... 42%  935K 0s
   100K .......... .......... .......... .......... .......... 63%  684K 0s
   150K .......... .......... .......... .......... .......... 84% 1.12M 0s
   200K .......... .......... .......... .......              100% 1.18M=0.3s

2018-09-23 21:54:44 (845 KB/s) - ‘lodepng.cpp’ saved [243700/243700]

+ wget https://raw.githubusercontent.com/lvandeve/lodepng/master/lodepng.h
--2018-09-23 21:54:45--  https://raw.githubusercontent.com/lvandeve/lodepng/master/lodepng.h
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 92033 (90K) [text/plain]
Saving to: ‘lodepng.h’

     0K .......... .......... .......... .......... .......... 55%  739K 0s
    50K .......... .......... .......... .........            100% 2.47M=0.08s

2018-09-23 21:54:45 (1.05 MB/s) - ‘lodepng.h’ saved [92033/92033]

+ mv lodepng.cpp lodepng.c
+ cd ../..
+ cd src
+ echo Patching libdeflate
Patching libdeflate
+ wget https://raw.githubusercontent.com/ebiggers/libdeflate/master/libdeflate.h
--2018-09-23 21:54:45--  https://raw.githubusercontent.com/ebiggers/libdeflate/master/libdeflate.h
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12383 (12K) [text/plain]
Saving to: ‘libdeflate.h’

     0K .......... ..                                         100%  472K=0.03s

2018-09-23 21:54:45 (472 KB/s) - ‘libdeflate.h’ saved [12383/12383]

+ echo Patching inih
Patching inih
+ wget https://raw.githubusercontent.com/benhoyt/inih/master/ini.c
--2018-09-23 21:54:45--  https://raw.githubusercontent.com/benhoyt/inih/master/ini.c
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7281 (7.1K) [text/plain]
Saving to: ‘ini.c’

     0K .......                                               100% 2.86M=0.002s

2018-09-23 21:54:46 (2.86 MB/s) - ‘ini.c’ saved [7281/7281]

+ wget https://raw.githubusercontent.com/benhoyt/inih/master/ini.h
--2018-09-23 21:54:46--  https://raw.githubusercontent.com/benhoyt/inih/master/ini.h
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4428 (4.3K) [text/plain]
Saving to: ‘ini.h’

     0K ....                                                  100% 3.46M=0.001s

2018-09-23 21:54:46 (3.46 MB/s) - ‘ini.h’ saved [4428/4428]

+ echo Patching parson
Patching parson
+ wget https://raw.githubusercontent.com/kgabis/parson/master/parson.c
--2018-09-23 21:54:46--  https://raw.githubusercontent.com/kgabis/parson/master/parson.c
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 69457 (68K) [text/plain]
Saving to: ‘parson.c’

     0K .......... .......... .......... .......... .......... 73%  361K 0s
    50K .......... .......                                    100% 6.63M=0.1s

2018-09-23 21:54:47 (481 KB/s) - ‘parson.c’ saved [69457/69457]

+ wget https://raw.githubusercontent.com/kgabis/parson/master/parson.h
--2018-09-23 21:54:47--  https://raw.githubusercontent.com/kgabis/parson/master/parson.h
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11605 (11K) [text/plain]
Saving to: ‘parson.h’

     0K .......... .                                          100%  254K=0.04s

2018-09-23 21:54:47 (254 KB/s) - ‘parson.h’ saved [11605/11605]

+ echo Patching http
Patching http
+ wget https://raw.githubusercontent.com/mattiasgustavsson/libs/master/http.h
--2018-09-23 21:54:47--  https://raw.githubusercontent.com/mattiasgustavsson/libs/master/http.h
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27528 (27K) [text/plain]
Saving to: ‘http.h’

     0K .......... .......... ......                          100%  265K=0.1s

2018-09-23 21:54:48 (265 KB/s) - ‘http.h’ saved [27528/27528]

+ echo Patching stb_truetype
Patching stb_truetype
+ wget https://raw.githubusercontent.com/nothings/stb/master/stb_truetype.h
--2018-09-23 21:54:48--  https://raw.githubusercontent.com/nothings/stb/master/stb_truetype.h
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 189854 (185K) [text/plain]
Saving to: ‘stb_truetype.h’

     0K .......... .......... .......... .......... .......... 26%  592K 0s
    50K .......... .......... .......... .......... .......... 53%  589K 0s
   100K .......... .......... .......... .......... .......... 80% 1.82M 0s
   150K .......... .......... .......... .....                100%  745K=0.2s

2018-09-23 21:54:49 (761 KB/s) - ‘stb_truetype.h’ saved [189854/189854]

+ echo Patching log.h
Patching log.h
+ wget https://raw.githubusercontent.com/xtreme8000/log.c/master/src/log.h
--2018-09-23 21:54:49--  https://raw.githubusercontent.com/xtreme8000/log.c/master/src/log.h
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1318 (1.3K) [text/plain]
Saving to: ‘log.h’

     0K .                                                     100% 11.3M=0s

2018-09-23 21:54:49 (11.3 MB/s) - ‘log.h’ saved [1318/1318]

+ cd ..
+ echo Patching assets
Patching assets
+ cp -r /home/assets/kv6 /home/assets/png /home/assets/wav resources/
+ echo Generating build files
Generating build files
+ cd build
+ cmake -G Unix Makefiles -D CMAKE_C_COMPILER=i686-w64-mingw32-gcc -D CMAKE_SYSTEM_NAME=Windows -D CMAKE_RC_COMPILER=i686-w64-mingw32-windres -D CMAKE_FIND_ROOT_PATH=/usr/i686-w64-mingw32 -D CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -D CMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -D CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY ..
-- The C compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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  
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_FIND_ROOT_PATH
    CMAKE_FIND_ROOT_PATH_MODE_LIBRARY


-- Build files have been written to: /var/lib/jenkins/workspace/BetterSpades/build
+ make -j 4
Scanning dependencies of target client
[ 12%] Building C object CMakeFiles/client.dir/src/cameracontroller.c.obj
[ 12%] Building C object CMakeFiles/client.dir/src/aabb.c.obj
[ 12%] Building C object CMakeFiles/client.dir/src/chunk.c.obj
[ 12%] Building C object CMakeFiles/client.dir/src/camera.c.obj
In file included from /var/lib/jenkins/workspace/BetterSpades/src/aabb.c:20:0:
/var/lib/jenkins/workspace/BetterSpades/src/common.h:30:22: fatal error: GL/glew.h: No such file or directory
  #include <GL/glew.h>
                      ^
In file included from /var/lib/jenkins/workspace/BetterSpades/src/camera.c:20:0:
/var/lib/jenkins/workspace/BetterSpades/src/common.h:30:22: fatal error: GL/glew.h: No such file or directory
  #include <GL/glew.h>
                      ^
In file included from /var/lib/jenkins/workspace/BetterSpades/src/chunk.c:20:0:
/var/lib/jenkins/workspace/BetterSpades/src/common.h:30:22: fatal error: GL/glew.h: No such file or directory
  #include <GL/glew.h>
                      ^
In file included from /var/lib/jenkins/workspace/BetterSpades/src/cameracontroller.c:20:0:
/var/lib/jenkins/workspace/BetterSpades/src/common.h:30:22: fatal error: GL/glew.h: No such file or directory
  #include <GL/glew.h>
                      ^
compilation terminated.
compilation terminated.
compilation terminated.
compilation terminated.
CMakeFiles/client.dir/build.make:86: recipe for target 'CMakeFiles/client.dir/src/camera.c.obj' failed
make[2]: *** [CMakeFiles/client.dir/src/camera.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/client.dir/build.make:134: recipe for target 'CMakeFiles/client.dir/src/chunk.c.obj' failed
make[2]: *** [CMakeFiles/client.dir/src/chunk.c.obj] Error 1
CMakeFiles/client.dir/build.make:62: recipe for target 'CMakeFiles/client.dir/src/aabb.c.obj' failed
make[2]: *** [CMakeFiles/client.dir/src/aabb.c.obj] Error 1
CMakeFiles/client.dir/build.make:110: recipe for target 'CMakeFiles/client.dir/src/cameracontroller.c.obj' failed
make[2]: *** [CMakeFiles/client.dir/src/cameracontroller.c.obj] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/client.dir/all' failed
make[1]: *** [CMakeFiles/client.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure
Skipped archiving because build is not successful
Finished: FAILURE