log for eu.pretix.pretixscan.droid:63
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.13.2
==== detail begin ====
== Installed Android Tools ==
2022-01-19 01:15:18,118 DEBUG: Reading 'config.yml'
2022-01-19 01:15:18,127 INFO: Using /opt/android-sdk/build-tools/29.0.3/apksigner
2022-01-19 01:15:18,129 INFO: Creating log directory
2022-01-19 01:15:18,129 INFO: Creating temporary directory
2022-01-19 01:15:18,129 INFO: Creating output directory
2022-01-19 01:15:18,136 DEBUG: Getting git vcs interface for https://github.com/pretix/pretixscan-android
2022-01-19 01:15:18,137 DEBUG: > git --version
git version 2.11.0
2022-01-19 01:15:18,352 INFO: Using git version 2.11.0
2022-01-19 01:15:18,352 DEBUG: Checking 1.13.2
2022-01-19 01:15:18,353 INFO: Building version 1.13.2 (63) of eu.pretix.pretixscan.droid
2022-01-19 01:15:18,354 INFO: Running 'sudo' commands in /home/vagrant
2022-01-19 01:15:18,354 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
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
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://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
Get:10 http://deb.debian.org/debian testing/main i386 Packages.diff/Index [63.6 kB]
Get:11 http://deb.debian.org/debian testing/main Translation-en.diff/Index [63.6 kB]
Get:12 http://deb.debian.org/debian testing/main amd64 Packages T-2022-01-18-1402.02-F-2022-01-18-1402.02.pdiff [1,274 B]
Get:12 http://deb.debian.org/debian testing/main amd64 Packages T-2022-01-18-1402.02-F-2022-01-18-1402.02.pdiff [1,274 B]
Get:13 http://deb.debian.org/debian testing/main i386 Packages T-2022-01-18-1402.02-F-2022-01-18-1402.02.pdiff [1,272 B]
Get:14 http://deb.debian.org/debian testing/main Translation-en T-2022-01-18-1402.02-F-2022-01-18-1402.02.pdiff [474 B]
Get:13 http://deb.debian.org/debian testing/main i386 Packages T-2022-01-18-1402.02-F-2022-01-18-1402.02.pdiff [1,272 B]
Get:14 http://deb.debian.org/debian testing/main Translation-en T-2022-01-18-1402.02-F-2022-01-18-1402.02.pdiff [474 B]
Fetched 515 kB in 6s (76.4 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 2 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 3s (64.7 MB/s)
Selecting previously unselected package libasound2-data.
(Reading database ... 64893 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
2022-01-19 01:15:48,232 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2022-01-19 01:15:48,442 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 65550 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) ...
2022-01-19 01:15:55,409 INFO: Getting source for revision 3f71098dc7f1c86cc473397f316fd3c8a07c373c
2022-01-19 01:15:55,410 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:55,410 DEBUG: > git rev-parse --show-toplevel
2022-01-19 01:15:55,619 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:55,620 DEBUG: > git submodule foreach --recursive git reset --hard
2022-01-19 01:15:56,029 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:56,029 DEBUG: > git reset --hard
2022-01-19 01:15:56,259 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:56,260 DEBUG: > git submodule foreach --recursive git clean -dffx
2022-01-19 01:15:56,561 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:56,561 DEBUG: > git clean -dffx
2022-01-19 01:15:56,665 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:56,665 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
2022-01-19 01:15:57,597 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:57,597 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
2022-01-19 01:15:57,916 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:57,917 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
2022-01-19 01:15:58,227 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:58,227 DEBUG: > git remote set-head origin --auto
2022-01-19 01:15:58,642 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:58,643 DEBUG: > git checkout -f 3f71098dc7f1c86cc473397f316fd3c8a07c373c
2022-01-19 01:15:58,862 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:58,863 DEBUG: > git clean -dffx
2022-01-19 01:15:58,967 INFO: Initialising submodules
2022-01-19 01:15:58,968 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:58,968 DEBUG: > git rev-parse --show-toplevel
2022-01-19 01:15:59,174 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:59,174 DEBUG: > git submodule sync
2022-01-19 01:15:59,382 DEBUG: Directory: build/eu.pretix.pretixscan.droid
2022-01-19 01:15:59,382 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 'dbb098609cf6a21dd0646afaf6149e19b6c23e1c'
Submodule path 'pretixscan/libpretixui-repo': checked out '2a472461dd15c3ec5bbf0713aa84f1de90fc8410'
2022-01-19 01:15:59,693 INFO: Collecting source libraries
2022-01-19 01:15:59,713 DEBUG: Removing debuggable flags from build/srclib/saki4510t-libcommon
2022-01-19 01:15:59,723 DEBUG: Directory: build/srclib/saki4510t-libcommon
2022-01-19 01:15:59,723 DEBUG: > bash -x -c -- rm -rf repository
+ rm -rf repository
2022-01-19 01:16:00,038 DEBUG: Removing debuggable flags from build/srclib/covpass-android
2022-01-19 01:16:00,050 DEBUG: Directory: build/srclib/covpass-android
2022-01-19 01:16:00,050 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
2022-01-19 01:16:00,253 INFO: Creating local.properties file at build/eu.pretix.pretixscan.droid/local.properties
2022-01-19 01:16:00,254 INFO: Creating local.properties file at build/eu.pretix.pretixscan.droid/pretixscan/local.properties
2022-01-19 01:16:00,255 INFO: Creating local.properties file at build/eu.pretix.pretixscan.droid/pretixscan/app/local.properties
2022-01-19 01:16:00,255 DEBUG: Removing debuggable flags from build/eu.pretix.pretixscan.droid/pretixscan/app
2022-01-19 01:16:00,267 INFO: Cleaned build.gradle of keysigning configs at build/eu.pretix.pretixscan.droid/pretixscan/app/build.gradle
2022-01-19 01:16:00,285 INFO: Running 'prebuild' commands in build/eu.pretix.pretixscan.droid/pretixscan/app
2022-01-19 01:16:00,285 DEBUG: Directory: build/eu.pretix.pretixscan.droid/pretixscan/app
2022-01-19 01:16:00,285 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
2022-01-19 01:16:00,504 INFO: Cleaning Gradle project...
2022-01-19 01:16:00,504 DEBUG: Directory: build/eu.pretix.pretixscan.droid/pretixscan/app
2022-01-19 01:16:00,505 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 UP-TO-DATE
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 59s
1 actionable task: 1 up-to-date
2022-01-19 01:17:00,807 INFO: Scanning source for common problems...
2022-01-19 01:17:00,817 INFO: Removing gradle-wrapper.jar at pretixscan/libpretixsync-repo/libpretixsync/gradle/wrapper/gradle-wrapper.jar
2022-01-19 01:17:00,830 INFO: Removing gradle-wrapper.jar at pretixscan/gradle/wrapper/gradle-wrapper.jar
2022-01-19 01:17:00,842 INFO: Removing Android AAR library at pretixscan/libpretixui-repo/usbCameraCommon/usbCameraCommon.aar
2022-01-19 01:17:00,842 INFO: Removing Android AAR library at pretixscan/libpretixui-repo/libuvccamera/libuvccamera.aar
2022-01-19 01:17:00,843 INFO: Removing Android AAR library at pretixscan/libpretixui-repo/common/common.aar
2022-01-19 01:17:00,845 INFO: Removing gradle-wrapper.jar at pretixscan/libpretixui-repo/libpretixui-android/gradle/wrapper/gradle-wrapper.jar
2022-01-19 01:17:00,848 INFO: Creating source tarball...
2022-01-19 01:17:01,061 INFO: Running 'build' commands in build/eu.pretix.pretixscan.droid/pretixscan/app
2022-01-19 01:17:01,062 DEBUG: Directory: build/eu.pretix.pretixscan.droid/pretixscan/app
2022-01-19 01:17:01,062 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.REl9v9KZlp/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
2022-01-19 01:17:05,739 ERROR: Could not build app eu.pretix.pretixscan.droid: Error running build command for eu.pretix.pretixscan.droid:1.13.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.REl9v9KZlp/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 ====
2022-01-19 01:17:05,740 DEBUG: Error encoutered, stopping by user request.
==== detail end ====