Skip to content
Failed

Console Output

Started by user ByteBit
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/BetterSpades_android
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
[BetterSpades_android] $ /bin/sh -xe /tmp/jenkins513628021179235307.sh
+ cp -r /home/sources/party.aos.betterspades/ .
+ git clone https://github.com/xtreme8000/BetterSpades.git
Cloning into 'BetterSpades'...
+ cd BetterSpades
+ cd ..
+ mv BetterSpades/src/ party.aos.betterspades/app/jni/src/
+ cp -ruf BetterSpades/resources/cache BetterSpades/resources/config.ini BetterSpades/resources/fonts BetterSpades/resources/icon.ico BetterSpades/resources/icon.png BetterSpades/resources/icon.rc BetterSpades/resources/kv6 BetterSpades/resources/logs BetterSpades/resources/png BetterSpades/resources/screenshots BetterSpades/resources/wav party.aos.betterspades/app/src/main/assets
+ cp -ruf /home/sources/wav party.aos.betterspades/app/src/main/assets
+ cd party.aos.betterspades/app/jni/src/src
+ wget https://raw.githubusercontent.com/mackron/dr_libs/master/dr_wav.h
--2020-06-04 12:19:52--  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: 227817 (222K) [text/plain]
Saving to: ‘dr_wav.h’

     0K .......... .......... .......... .......... .......... 22% 6.40M 0s
    50K .......... .......... .......... .......... .......... 44% 13.0M 0s
   100K .......... .......... .......... .......... .......... 67% 29.4M 0s
   150K .......... .......... .......... .......... .......... 89% 18.8M 0s
   200K .......... .......... ..                              100% 29.6M=0.02s

2020-06-04 12:19:52 (13.3 MB/s) - ‘dr_wav.h’ saved [227817/227817]

+ mv dr_wav.h dr_wav.c
+ mkdir lodepng
+ cd lodepng
+ wget https://raw.githubusercontent.com/lvandeve/lodepng/master/lodepng.cpp
--2020-06-04 12:19:52--  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: 260088 (254K) [text/plain]
Saving to: ‘lodepng.cpp’

     0K .......... .......... .......... .......... .......... 19% 6.34M 0s
    50K .......... .......... .......... .......... .......... 39% 13.2M 0s
   100K .......... .......... .......... .......... .......... 59% 35.9M 0s
   150K .......... .......... .......... .......... .......... 78% 20.1M 0s
   200K .......... .......... .......... .......... .......... 98% 26.1M 0s
   250K ...                                                   100% 54.8M=0.02s

2020-06-04 12:19:52 (14.5 MB/s) - ‘lodepng.cpp’ saved [260088/260088]

+ wget https://raw.githubusercontent.com/lvandeve/lodepng/master/lodepng.h
--2020-06-04 12:19:52--  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: 93636 (91K) [text/plain]
Saving to: ‘lodepng.h’

     0K .......... .......... .......... .......... .......... 54% 6.28M 0s
    50K .......... .......... .......... .......... .         100% 12.2M=0.01s

2020-06-04 12:19:58 (8.06 MB/s) - ‘lodepng.h’ saved [93636/93636]

+ mv lodepng.cpp lodepng.c
+ cd ..
+ wget https://raw.githubusercontent.com/ebiggers/libdeflate/master/libdeflate.h
--2020-06-04 12:19:58--  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: 14906 (15K) [text/plain]
Saving to: ‘libdeflate.h’

     0K .......... ....                                       100% 4.04M=0.004s

2020-06-04 12:19:58 (4.04 MB/s) - ‘libdeflate.h’ saved [14906/14906]

+ wget https://raw.githubusercontent.com/benhoyt/inih/master/ini.c
--2020-06-04 12:19:58--  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: 7802 (7.6K) [text/plain]
Saving to: ‘ini.c’

     0K .......                                               100% 31.0M=0s

2020-06-04 12:19:58 (31.0 MB/s) - ‘ini.c’ saved [7802/7802]

+ wget https://raw.githubusercontent.com/benhoyt/inih/master/ini.h
--2020-06-04 12:19:58--  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: 4997 (4.9K) [text/plain]
Saving to: ‘ini.h’

     0K ....                                                  100% 29.8M=0s

2020-06-04 12:19:58 (29.8 MB/s) - ‘ini.h’ saved [4997/4997]

+ wget https://raw.githubusercontent.com/kgabis/parson/master/parson.c
--2020-06-04 12:19:58--  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: 74015 (72K) [text/plain]
Saving to: ‘parson.c’

     0K .......... .......... .......... .......... .......... 69% 6.17M 0s
    50K .......... .......... ..                              100% 21.2M=0.009s

2020-06-04 12:19:59 (7.90 MB/s) - ‘parson.c’ saved [74015/74015]

+ wget https://raw.githubusercontent.com/kgabis/parson/master/parson.h
--2020-06-04 12:19:59--  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: 13270 (13K) [text/plain]
Saving to: ‘parson.h’

     0K .......... ..                                         100% 38.2M=0s

2020-06-04 12:19:59 (38.2 MB/s) - ‘parson.h’ saved [13270/13270]

+ wget https://raw.githubusercontent.com/mattiasgustavsson/libs/master/http.h
--2020-06-04 12:19:59--  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% 6.36M=0.004s

2020-06-04 12:19:59 (6.36 MB/s) - ‘http.h’ saved [27528/27528]

+ wget https://raw.githubusercontent.com/nothings/stb/master/stb_truetype.h
--2020-06-04 12:19:59--  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: 195666 (191K) [text/plain]
Saving to: ‘stb_truetype.h’

     0K .......... .......... .......... .......... .......... 26% 6.25M 0s
    50K .......... .......... .......... .......... .......... 52% 12.7M 0s
   100K .......... .......... .......... .......... .......... 78% 32.2M 0s
   150K .......... .......... .......... .......... .         100% 18.5M=0.02s

2020-06-04 12:20:00 (12.2 MB/s) - ‘stb_truetype.h’ saved [195666/195666]

+ wget https://raw.githubusercontent.com/xtreme8000/log.c/master/src/log.h
--2020-06-04 12:20:00--  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% 35.9M=0s

2020-06-04 12:20:00 (35.9 MB/s) - ‘log.h’ saved [1318/1318]

+ wget https://raw.githubusercontent.com/goldsborough/hashtable/master/hashtable.c
--2020-06-04 12:20:00--  https://raw.githubusercontent.com/goldsborough/hashtable/master/hashtable.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: 9514 (9.3K) [text/plain]
Saving to: ‘hashtable.c’

     0K .........                                             100% 21.2M=0s

2020-06-04 12:20:00 (21.2 MB/s) - ‘hashtable.c’ saved [9514/9514]

+ wget https://raw.githubusercontent.com/goldsborough/hashtable/master/hashtable.h
--2020-06-04 12:20:00--  https://raw.githubusercontent.com/goldsborough/hashtable/master/hashtable.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: 2781 (2.7K) [text/plain]
Saving to: ‘hashtable.h’

     0K ..                                                    100% 22.2M=0s

2020-06-04 12:20:00 (22.2 MB/s) - ‘hashtable.h’ saved [2781/2781]

+ wget https://raw.githubusercontent.com/xtreme8000/libvxl/master/libvxl.c
--2020-06-04 12:20:00--  https://raw.githubusercontent.com/xtreme8000/libvxl/master/libvxl.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: 17356 (17K) [text/plain]
Saving to: ‘libvxl.c’

     0K .......... ......                                     100% 4.30M=0.004s

2020-06-04 12:20:01 (4.30 MB/s) - ‘libvxl.c’ saved [17356/17356]

+ wget https://raw.githubusercontent.com/xtreme8000/libvxl/master/libvxl.h
--2020-06-04 12:20:01--  https://raw.githubusercontent.com/xtreme8000/libvxl/master/libvxl.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: 7398 (7.2K) [text/plain]
Saving to: ‘libvxl.h’

     0K .......                                               100%  679K=0.01s

2020-06-04 12:20:01 (679 KB/s) - ‘libvxl.h’ saved [7398/7398]

+ cp /home/sources/log.c log.c
+ cd /var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/
+ ./gradlew assembleRelease
Starting a Gradle Daemon (subsequent builds will be faster)

> Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

> Task :app:checkReleaseClasspath
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseRenderscript
> Task :app:checkReleaseManifest
> Task :app:generateReleaseBuildConfig
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:mainApkListPersistenceRelease
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:mergeReleaseResources
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:processReleaseManifest
> Task :app:splitsDiscoveryTaskRelease
W/ResourceType(29235): For resource 0x0101053d, entry index(1341) is beyond type entryCount(1155)
W/ResourceType(29235): For resource 0x0101053e, entry index(1342) is beyond type entryCount(1155)
W/ResourceType(29235): For resource 0x0101053b, entry index(1339) is beyond type entryCount(1155)
W/ResourceType(29235): For resource 0x0101053c, entry index(1340) is beyond type entryCount(1155)

> Task :app:processReleaseResources
> Task :app:generateReleaseSources
> Task :app:javaPreCompileRelease

> Task :app:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :app:generateJsonModelRelease

> Task :app:externalNativeBuildRelease
Build main x86
[x86] Compile        : main <= aabb.c
[x86] Compile        : main <= camera.c
[x86] Compile        : main <= cameracontroller.c
/var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/jni/src/src/cameracontroller.c:108:3: error: use of undeclared identifier 'hud_ingame'
                hud_ingame.input_keyboard(WINDOW_KEY_RELOAD, WINDOW_PRESS, 0, 0);
                ^
/var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/jni/src/src/cameracontroller.c:109:3: error: use of undeclared identifier 'hud_ingame'
                hud_ingame.input_keyboard(WINDOW_KEY_RELOAD, WINDOW_RELEASE, 0, 0);
                ^
2 errors generated.
make: *** [/var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/build/intermediates/ndkBuild/release/obj/local/x86/objs/main//var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/jni/src/src/cameracontroller.o] Error 1

> Task :app:externalNativeBuildRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:externalNativeBuildRelease'.
> Build command failed.
  Error while executing process /home/android/ndk/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/jni/Android.mk NDK_APPLICATION_MK=/var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/jni/Application.mk APP_ABI=x86 NDK_ALL_ABIS=x86 NDK_DEBUG=0 APP_PLATFORM=android-16 NDK_OUT=/var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/build/intermediates/ndkBuild/release/lib APP_PLATFORM=android-16 /var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/build/intermediates/ndkBuild/release/obj/local/x86/libmain.so}
  [x86] Compile        : main <= aabb.c
  [x86] Compile        : main <= camera.c
  [x86] Compile        : main <= cameracontroller.c
  /var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/jni/src/src/cameracontroller.c:108:3: error: use of undeclared identifier 'hud_ingame'
                  hud_ingame.input_keyboard(WINDOW_KEY_RELOAD, WINDOW_PRESS, 0, 0);
                  ^
  /var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/jni/src/src/cameracontroller.c:109:3: error: use of undeclared identifier 'hud_ingame'
                  hud_ingame.input_keyboard(WINDOW_KEY_RELOAD, WINDOW_RELEASE, 0, 0);
                  ^
  2 errors generated.
  make: *** [/var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/build/intermediates/ndkBuild/release/obj/local/x86/objs/main//var/lib/jenkins/workspace/BetterSpades_android/party.aos.betterspades/app/jni/src/src/cameracontroller.o] Error 1


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 26s
17 actionable tasks: 16 executed, 1 up-to-date
Build step 'Execute shell' marked build as failure
Skipped archiving because build is not successful
Finished: FAILURE