log for eu.pretix.pretixscan.droid:60
Traceback (most recent call last):
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 1127, in main
options.onserver, options.refresh):
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 885, in trybuild
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
File "/home/fbuild/fdroidserver/fdroidserver/build.py", line 268, in build_server
str(output, 'utf-8'))
fdroidserver.exception.BuildException: Build.py failed on server for eu.pretix.pretixscan.droid:1.12.2
==== detail begin ====
== Installed Android Tools ==
2021-12-03 19:41:25,191 DEBUG: Reading 'config.yml'
2021-12-03 19:41:25,202 INFO: Using /opt/android-sdk/build-tools/29.0.3/apksigner
2021-12-03 19:41:25,205 INFO: Creating log directory
2021-12-03 19:41:25,205 INFO: Creating temporary directory
2021-12-03 19:41:25,206 INFO: Creating output directory
2021-12-03 19:41:25,211 DEBUG: Getting git vcs interface for https://github.com/pretix/pretixscan-android
2021-12-03 19:41:25,211 DEBUG: > git --version
git version 2.11.0
2021-12-03 19:41:25,459 INFO: Using git version 2.11.0
2021-12-03 19:41:25,459 DEBUG: Checking 1.12.2
2021-12-03 19:41:25,460 INFO: Building version 1.12.2 (60) of eu.pretix.pretixscan.droid
2021-12-03 19:41:25,460 INFO: Running 'sudo' commands in /home/vagrant
2021-12-03 19:41:25,461 DEBUG: > sudo DEBIAN_FRONTEND=noninteractive bash -x -c apt-get update || apt-get update && apt-get install -y openjdk-11-jdk-headless && update-alternatives --auto java
+ apt-get update
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Get:4 http://deb.debian.org/debian stretch-backports-sloppy InRelease [46.7 kB]
Get:5 http://deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:6 http://deb.debian.org/debian testing InRelease [129 kB]
Hit:7 http://deb.debian.org/debian stretch Release
Get:8 http://security.debian.org/debian-security stretch/updates/main i386 Packages [749 kB]
Get:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [749 kB]
Get:10 http://security.debian.org/debian-security stretch/updates/main Translation-en [348 kB]
Get:11 http://deb.debian.org/debian testing/main i386 Packages.diff/Index [63.6 kB]
Get:12 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
Get:13 http://deb.debian.org/debian testing/main Translation-en.diff/Index [63.6 kB]
Ign:11 http://deb.debian.org/debian testing/main i386 Packages.diff/Index
Ign:12 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index
Ign:13 http://deb.debian.org/debian testing/main Translation-en.diff/Index
Get:15 http://deb.debian.org/debian testing/main i386 Packages [8,195 kB]
Get:16 http://deb.debian.org/debian testing/main amd64 Packages [8,260 kB]
Get:17 http://deb.debian.org/debian testing/main Translation-en [5,684 kB]
Fetched 24.5 MB in 3s (6,953 kB/s)
Reading package lists...
+ apt-get install -y openjdk-11-jdk-headless
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libasound2 libasound2-data openjdk-11-jre-headless
Suggested packages:
libasound2-plugins alsa-utils openjdk-11-demo openjdk-11-source libnss-mdns
fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic
The following NEW packages will be installed:
libasound2 libasound2-data openjdk-11-jdk-headless openjdk-11-jre-headless
0 upgraded, 4 newly installed, 0 to remove and 19 not upgraded.
Need to get 230 MB of archives.
After this operation, 374 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 libasound2-data all 1.1.3-5 [173 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 libasound2 amd64 1.1.3-5 [497 kB]
Get:3 http://deb.debian.org/debian stretch-backports/main amd64 openjdk-11-jre-headless amd64 11.0.6+10-1~bpo9+1 [37.4 MB]
Get:4 http://deb.debian.org/debian stretch-backports/main amd64 openjdk-11-jdk-headless amd64 11.0.6+10-1~bpo9+1 [192 MB]
Fetched 230 MB in 2s (83.2 MB/s)
Selecting previously unselected package libasound2-data.
(Reading database ... 64914 files and directories currently installed.)
Preparing to unpack .../libasound2-data_1.1.3-5_all.deb ...
Unpacking libasound2-data (1.1.3-5) ...
Selecting previously unselected package libasound2:amd64.
Preparing to unpack .../libasound2_1.1.3-5_amd64.deb ...
Unpacking libasound2:amd64 (1.1.3-5) ...
Selecting previously unselected package openjdk-11-jre-headless:amd64.
Preparing to unpack .../openjdk-11-jre-headless_11.0.6+10-1~bpo9+1_amd64.deb ...
Unpacking openjdk-11-jre-headless:amd64 (11.0.6+10-1~bpo9+1) ...
Selecting previously unselected package openjdk-11-jdk-headless:amd64.
Preparing to unpack .../openjdk-11-jdk-headless_11.0.6+10-1~bpo9+1_amd64.deb ...
Unpacking openjdk-11-jdk-headless:amd64 (11.0.6+10-1~bpo9+1) ...
Setting up libasound2-data (1.1.3-5) ...
Setting up libasound2:amd64 (1.1.3-5) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up openjdk-11-jre-headless:amd64 (11.0.6+10-1~bpo9+1) ...
Setting up openjdk-11-jdk-headless:amd64 (11.0.6+10-1~bpo9+1) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeprscan to provide /usr/bin/jdeprscan (jdeprscan) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jimage to provide /usr/bin/jimage (jimage) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jlink to provide /usr/bin/jlink (jlink) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jmod to provide /usr/bin/jmod (jmod) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jshell to provide /usr/bin/jshell (jshell) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jaotc to provide /usr/bin/jaotc (jaotc) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jhsdb to provide /usr/bin/jhsdb (jhsdb) in auto mode
+ update-alternatives --auto java
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode
2021-12-03 19:41:51,724 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2021-12-03 19:41:51,930 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 65571 files and directories currently installed.)
Removing sudo (1.8.19p1-2.1+deb9u3) ...
Purging configuration files for sudo (1.8.19p1-2.1+deb9u3) ...
Processing triggers for systemd (232-25+deb9u13) ...
2021-12-03 19:41:57,214 INFO: Getting source for revision 63a8cafb8412ff486f3130eb1b3d12c25cb2acce
2021-12-03 19:41:57,214 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:41:57,214 DEBUG: > git rev-parse --show-toplevel
2021-12-03 19:41:57,419 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:41:57,419 DEBUG: > git submodule foreach --recursive git reset --hard
2021-12-03 19:41:57,840 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:41:57,840 DEBUG: > git reset --hard
2021-12-03 19:41:58,060 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:41:58,061 DEBUG: > git submodule foreach --recursive git clean -dffx
2021-12-03 19:41:58,267 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:41:58,267 DEBUG: > git clean -dffx
2021-12-03 19:41:58,380 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:41:58,381 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch origin
2021-12-03 19:41:59,405 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:41:59,406 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com remote prune origin
2021-12-03 19:41:59,722 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:41:59,722 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com fetch --prune --tags --force origin
2021-12-03 19:42:00,134 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:42:00,134 DEBUG: > git remote set-head origin --auto
2021-12-03 19:42:00,653 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:42:00,654 DEBUG: > git checkout -f 63a8cafb8412ff486f3130eb1b3d12c25cb2acce
2021-12-03 19:42:00,864 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:42:00,865 DEBUG: > git clean -dffx
2021-12-03 19:42:00,970 INFO: Initialising submodules
2021-12-03 19:42:00,971 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:42:00,971 DEBUG: > git rev-parse --show-toplevel
2021-12-03 19:42:01,178 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:42:01,179 DEBUG: > git submodule sync
2021-12-03 19:42:01,384 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2021-12-03 19:42:01,384 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com submodule update --init --force --recursive
Submodule path 'pretixscan/libpretixsync-repo': checked out '3baab25e385c99e21de2861860bca461586a4f82'
Submodule path 'pretixscan/libpretixui-repo': checked out '364ff8686caf9824d1d320d29d2efc37de6b6130'
2021-12-03 19:42:01,843 INFO: Collecting source libraries
2021-12-03 19:42:01,861 DEBUG: Removing debuggable flags from build/srclib/saki4510t-libcommon
2021-12-03 19:42:01,871 DEBUG: Directory: build/srclib/saki4510t-libcommon
2021-12-03 19:42:01,871 DEBUG: > bash -x -c -- rm -rf repository
+ rm -rf repository
2021-12-03 19:42:02,092 DEBUG: Removing debuggable flags from build/srclib/covpass-android
2021-12-03 19:42:02,102 DEBUG: Directory: build/srclib/covpass-android
2021-12-03 19:42:02,102 DEBUG: > bash -x -c -- rm -rf app*
rm -rf common*
+ rm -rf app-covpass-check-demo app-covpass-check-prod app-covpass-demo app-covpass-prod
+ rm -rf common-app common-app-covpass common-app-covpass-check
2021-12-03 19:42:02,310 INFO: Creating local.properties file at build/eu.pretix.pretixscan.droid/local.properties
2021-12-03 19:42:02,311 INFO: Creating local.properties file at build/eu.pretix.pretixscan.droid/pretixscan/local.properties
2021-12-03 19:42:02,312 INFO: Creating local.properties file at build/eu.pretix.pretixscan.droid/pretixscan/app/local.properties
2021-12-03 19:42:02,312 DEBUG: Removing debuggable flags from build/eu.pretix.pretixscan.droid/pretixscan/app
2021-12-03 19:42:02,324 INFO: Cleaned build.gradle of keysigning configs at build/eu.pretix.pretixscan.droid/pretixscan/app/build.gradle
2021-12-03 19:42:02,339 INFO: Running 'prebuild' commands in build/eu.pretix.pretixscan.droid/pretixscan/app
2021-12-03 19:42:02,340 DEBUG: Directory: build/eu.pretix.pretixscan.droid/pretixscan/app
2021-12-03 19:42:02,340 DEBUG: > bash -x -c -- sed -i -e 's|maven.pkg.github.com/Digitaler-Impfnachweis/covpass-android|jitpack.io|' -e 's|maven.pkg.github.com/ehn-dcc-development/*|jitpack.io|' -i -e '/repositories {/a mavenLocal()' ../build.gradle && sed -i -e "s/(project(':libuvccamera'))/('com.github.raphaelm.UVCCamera:libuvccamera:53d043fea2') {exclude group:'com.serenegiant',module:'common'}/" -i -e "s/(project(':usbCameraCommon'))/('com.github.raphaelm.UVCCamera:usbCameraCommon:53d043fea2') {exclude group:'com.serenegiant',module:'common'}/" -i -e '/maven {/,/^ }/d' -i -e '/repositories {/a mavenLocal()' ../libpretixui-repo/libpretixui-android/build.gradle
+ sed -i -e 's|maven.pkg.github.com/Digitaler-Impfnachweis/covpass-android|jitpack.io|' -e 's|maven.pkg.github.com/ehn-dcc-development/*|jitpack.io|' -i -e '/repositories {/a mavenLocal()' ../build.gradle
+ sed -i -e 's/(project('\'':libuvccamera'\''))/('\''com.github.raphaelm.UVCCamera:libuvccamera:53d043fea2'\'') {exclude group:'\''com.serenegiant'\'',module:'\''common'\''}/' -i -e 's/(project('\'':usbCameraCommon'\''))/('\''com.github.raphaelm.UVCCamera:usbCameraCommon:53d043fea2'\'') {exclude group:'\''com.serenegiant'\'',module:'\''common'\''}/' -i -e '/maven {/,/^ }/d' -i -e '/repositories {/a mavenLocal()' ../libpretixui-repo/libpretixui-android/build.gradle
2021-12-03 19:42:02,545 INFO: Cleaning Gradle project...
2021-12-03 19:42:02,546 DEBUG: Directory: build/eu.pretix.pretixscan.droid/pretixscan/app
2021-12-03 19:42:02,546 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 7.0.2 via distributionUrl
Running /opt/gradle/versions/7.0.2/bin/gradle clean
Welcome to Gradle 7.0.2!
Here are the highlights of this release:
- File system watching enabled by default
- Support for running with and building Java 16 projects
- Native support for Apple Silicon processors
- Dependency catalog feature preview
For more details see https://docs.gradle.org/7.0.2/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.0.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :app
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
WARNING:DSL element 'dexOptions' is obsolete and should be removed.
It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
> Configure project :libpretixui-android
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.
> Task :app:clean
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 53s
1 actionable task: 1 executed
2021-12-03 19:42:57,503 INFO: Scanning source for common problems...
2021-12-03 19:42:57,514 INFO: Removing gradle-wrapper.jar at pretixscan/libpretixsync-repo/libpretixsync/gradle/wrapper/gradle-wrapper.jar
2021-12-03 19:42:57,526 INFO: Removing gradle-wrapper.jar at pretixscan/gradle/wrapper/gradle-wrapper.jar
2021-12-03 19:42:57,539 INFO: Removing Android AAR library at pretixscan/libpretixui-repo/usbCameraCommon/usbCameraCommon.aar
2021-12-03 19:42:57,540 INFO: Removing Android AAR library at pretixscan/libpretixui-repo/libuvccamera/libuvccamera.aar
2021-12-03 19:42:57,540 INFO: Removing Android AAR library at pretixscan/libpretixui-repo/common/common.aar
2021-12-03 19:42:57,543 INFO: Removing gradle-wrapper.jar at pretixscan/libpretixui-repo/libpretixui-android/gradle/wrapper/gradle-wrapper.jar
2021-12-03 19:42:57,545 INFO: Creating source tarball...
2021-12-03 19:42:57,755 INFO: Running 'build' commands in build/eu.pretix.pretixscan.droid/pretixscan/app
2021-12-03 19:42:57,755 DEBUG: Directory: build/eu.pretix.pretixscan.droid/pretixscan/app
2021-12-03 19:42:57,756 DEBUG: > bash -x -c pushd /home/vagrant/build/srclib/saki4510t-libcommon/common && gradle uploadArchives && popd && mv /home/vagrant/build/srclib/saki4510t-libcommon/repository/com/serenegiant/common/2.12.4/common-2.12.4.aar ../libpretixui-repo/common/common.aar && pushd /home/vagrant/build/srclib/covpass-android && gradle publishToMavenLocal && popd
+ pushd /home/vagrant/build/srclib/saki4510t-libcommon/common
~/build/srclib/saki4510t-libcommon/common ~/build/eu.pretix.pretixscan.droid/pretixscan/app
+ gradle uploadArchives
Found 4.4 via distributionUrl
Downloading missing gradle version 4.4
cachedir
/tmp/tmp.OXzdGQDh4Y/gradle-4.4-bin.zip: OK
Running /opt/gradle/versions/4.4/bin/gradle uploadArchives
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '11.0.6'.
* 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
2021-12-03 19:43:04,169 ERROR: Could not build app eu.pretix.pretixscan.droid: Error running build command for eu.pretix.pretixscan.droid:1.12.2
==== detail begin ====
+ pushd /home/vagrant/build/srclib/saki4510t-libcommon/common
~/build/srclib/saki4510t-libcommon/common ~/build/eu.pretix.pretixscan.droid/pretixscan/app
+ gradle uploadArchives
Found 4.4 via distributionUrl
Downloading missing gradle version 4.4
cachedir
/tmp/tmp.OXzdGQDh4Y/gradle-4.4-bin.zip: OK
Running /opt/gradle/versions/4.4/bin/gradle uploadArchives
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '11.0.6'.
* 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
==== detail end ====
2021-12-03 19:43:04,169 DEBUG: Error encoutered, stopping by user request.
==== detail end ====