log for ua.com.radiokot.photoprism:50
Traceback (most recent call last):
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 1199, in main
if trybuild(app, build, build_dir, output_dir, log_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 940, in trybuild
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 290, in build_server
raise BuildException(message.format(app.id, build.versionName),
fdroidserver.exception.BuildException: Build.py failed on server for ua.com.radiokot.photoprism:1.34.0
==== detail begin ====
== Installed Android Tools ==
2025-01-22 14:46:24,358 DEBUG: Reading 'config.yml'
2025-01-22 14:46:24,371 INFO: Creating log directory
2025-01-22 14:46:24,372 INFO: Creating temporary directory
2025-01-22 14:46:24,372 INFO: Creating output directory
2025-01-22 14:46:24,401 DEBUG: Getting git vcs interface for https://github.com/Radiokot/photoprism-android-client.git
2025-01-22 14:46:24,401 DEBUG: Checking ua.com.radiokot.photoprism:50
2025-01-22 14:46:24,401 INFO: Building version 1.34.0 (50) of ua.com.radiokot.photoprism
2025-01-22 14:46:24,402 INFO: Running 'sudo' commands in /home/vagrant
2025-01-22 14:46:24,402 DEBUG: > sudo DEBIAN_FRONTEND=noninteractive bash -e -u -o pipefail -x -c export CPUS_MAX=6; export CPUS=$(getconf _NPROCESSORS_ONLN); for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online ; done
+ export CPUS_MAX=6
+ CPUS_MAX=6
++ getconf _NPROCESSORS_ONLN
+ export CPUS=20
+ CPUS=20
+ (( c=6 ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
+ echo 0
+ (( c++ ))
+ (( c<20 ))
2025-01-22 14:46:25,011 DEBUG: > sudo passwd --lock root
passwd: password changed.
2025-01-22 14:46:26,118 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 64068 files and directories currently installed.)
Removing sudo (1.9.13p3-1+deb12u1) ...
Purging configuration files for sudo (1.9.13p3-1+deb12u1) ...
dpkg: warning: while removing sudo, directory '/etc/sudoers.d' not empty so not removed
Processing triggers for libc-bin (2.36-9+deb12u9) ...
2025-01-22 14:46:47,757 INFO: Getting source for revision d9ed86778e86ffc089331ca76f4fd5471d892ecd
2025-01-22 14:46:47,758 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:47,758 DEBUG: > git rev-parse --show-toplevel
2025-01-22 14:46:47,965 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:47,965 DEBUG: > git submodule foreach --recursive git reset --hard
2025-01-22 14:46:48,169 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:48,169 DEBUG: > git reset --hard
2025-01-22 14:46:48,473 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:48,473 DEBUG: > git submodule foreach --recursive git clean -dffx
2025-01-22 14:46:48,576 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:48,576 DEBUG: > git clean -dffx
2025-01-22 14:46:48,679 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:48,679 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 -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch --prune --prune-tags --force origin
2025-01-22 14:46:49,484 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:49,484 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 -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch --prune --tags --force origin
2025-01-22 14:46:50,089 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:50,089 DEBUG: > git remote set-head origin --auto
2025-01-22 14:46:50,694 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:50,694 DEBUG: > git checkout -f d9ed86778e86ffc089331ca76f4fd5471d892ecd
2025-01-22 14:46:50,998 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:50,998 DEBUG: > git clean -dffx
2025-01-22 14:46:51,101 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:51,101 DEBUG: > git rev-parse --show-toplevel
2025-01-22 14:46:51,304 DEBUG: Directory: build/ua.com.radiokot.photoprism
2025-01-22 14:46:51,305 DEBUG: > git submodule deinit --all --force
2025-01-22 14:46:51,407 INFO: Collecting source libraries
2025-01-22 14:46:51,435 DEBUG: Removing debuggable flags from build/srclib/reproducible-apk-tools
2025-01-22 14:46:51,460 INFO: Creating local.properties file at build/ua.com.radiokot.photoprism/local.properties
2025-01-22 14:46:51,463 INFO: Creating local.properties file at build/ua.com.radiokot.photoprism/app/local.properties
2025-01-22 14:46:51,463 DEBUG: Removing debuggable flags from build/ua.com.radiokot.photoprism/app
2025-01-22 14:46:51,499 INFO: Cleaned build.gradle of keysigning configs at build/ua.com.radiokot.photoprism/app/build.gradle
2025-01-22 14:46:51,509 INFO: Running 'prebuild' commands in build/ua.com.radiokot.photoprism/app
2025-01-22 14:46:51,509 DEBUG: Directory: build/ua.com.radiokot.photoprism/app
2025-01-22 14:46:51,509 DEBUG: > bash -e -u -o pipefail -x -c -- git reset --soft HEAD~1
/etc/bash.bashrc: line 7: PS1: unbound variable
+ git reset --soft HEAD~1
2025-01-22 14:46:51,711 INFO: Cleaning Gradle project...
2025-01-22 14:46:51,712 DEBUG: Directory: build/ua.com.radiokot.photoprism/app
2025-01-22 14:46:51,712 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 8.6 via distributionUrl
Downloading missing gradle version 8.6
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-8.6-bin.zip: OK
Running /opt/gradle/versions/8.6/bin/gradle clean
Welcome to Gradle 8.6!
Here are the highlights of this release:
- Configurable encryption key for configuration cache
- Build init improvements
- Build authoring improvements
For more details see https://docs.gradle.org/8.6/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.6/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
> Task :app:clean UP-TO-DATE
BUILD SUCCESSFUL in 1m 14s
1 actionable task: 1 up-to-date
2025-01-22 14:48:12,700 INFO: Scanning source for common problems...
2025-01-22 14:48:12,726 DEBUG: scanner is configured to use signature data from: 'suss'
2025-01-22 14:48:12,727 DEBUG: downloading 'https://fdroid.gitlab.io/fdroid-suss/suss.json'
2025-01-22 14:48:13,303 DEBUG: write 'suss.json' to cache
2025-01-22 14:48:13,307 DEBUG: next suss.json cache update due in 23:59:59.986520
2025-01-22 14:48:13,447 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2025-01-22 14:48:13,527 INFO: Creating source tarball...
2025-01-22 14:48:14,197 INFO: Building Gradle project...
2025-01-22 14:48:14,197 DEBUG: Directory: build/ua.com.radiokot.photoprism/app
2025-01-22 14:48:14,197 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid assembleRelease
Found 8.6 via distributionUrl
Running /opt/gradle/versions/8.6/bin/gradle assembleRelease
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.6/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only
Errors during XML parse:
Additionally, the fallback loader failed to parse the XML.
Errors during XML parse:
Additionally, the fallback loader failed to parse the XML.
Checking the license for package Android SDK Build-Tools 34 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 34 accepted.
Preparing "Install Android SDK Build-Tools 34 v.34.0.0".
"Install Android SDK Build-Tools 34 v.34.0.0" ready.
Installing Android SDK Build-Tools 34 in /opt/android-sdk/build-tools/34.0.0
"Install Android SDK Build-Tools 34 v.34.0.0" complete.
"Install Android SDK Build-Tools 34 v.34.0.0" finished.
Checking the license for package Android SDK Platform 35 in /opt/android-sdk/licenses
License for package Android SDK Platform 35 accepted.
Preparing "Install Android SDK Platform 35 (revision 2)".
"Install Android SDK Platform 35 (revision 2)" ready.
Installing Android SDK Platform 35 in /opt/android-sdk/platforms/android-35
"Install Android SDK Platform 35 (revision 2)" complete.
"Install Android SDK Platform 35 (revision 2)" finished.
Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only
> Task :app:buildKotlinToolingMetadata
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:generateReleaseResValues
> Task :app:dataBindingMergeDependencyArtifactsRelease
> Task :app:generateReleaseResources
> Task :app:packageReleaseResources
> Task :app:mergeReleaseResources
> Task :app:generateReleaseBuildConfig
> Task :app:mapReleaseSourceSetPaths
> Task :app:checkReleaseAarMetadata
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :app:parseReleaseLocalResources
> Task :app:processReleaseMainManifest
> Task :app:dataBindingGenBaseClassesRelease
> Task :app:processReleaseManifest
> Task :app:javaPreCompileRelease
> Task :app:extractProguardFiles
> Task :app:mergeReleaseJniLibFolders
> Task :app:mergeReleaseNativeLibs NO-SOURCE
> Task :app:stripReleaseDebugSymbols NO-SOURCE
> Task :app:extractReleaseNativeSymbolTables NO-SOURCE
> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :app:checkReleaseDuplicateClasses
> Task :app:desugarReleaseFileDependencies
> Task :app:mergeReleaseStartupProfile
> Task :app:processReleaseManifestForPackage
> Task :app:mergeExtDexRelease
> Task :app:mergeReleaseArtProfile
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets
> Task :app:compressReleaseAssets
> Task :app:extractReleaseVersionControlInfo
> Task :app:collectReleaseDependencies
> Task :app:sdkReleaseDependencyData
> Task :app:writeReleaseAppMetadata
> Task :app:writeReleaseSigningConfigVersions
> Task :app:processReleaseResources
> Task :app:optimizeReleaseResources
> Task :app:kaptGenerateStubsReleaseKotlin
> Task :app:kaptReleaseKotlin
> Task :app:compileReleaseKotlin
w: file:///home/vagrant/build/ua.com.radiokot.photoprism/app/src/main/java/ua/com/radiokot/photoprism/features/webview/view/WebViewActivity.kt:105:13 'setter for databaseEnabled: Boolean' is deprecated. Deprecated in Java
> Task :app:compileReleaseJavaWithJavac
> Task :app:generateReleaseLintVitalReportModel
Generating lint files for backported methods only (compile API B)
> Task :app:dexBuilderRelease
> Task :app:mergeReleaseGlobalSynthetics
> Task :app:processReleaseJavaRes
> Task :app:lintVitalAnalyzeRelease
> Task :app:mergeReleaseJavaResource
> Task :app:mergeDexRelease
> Task :app:compileReleaseArtProfile
Sorting /home/vagrant/build/ua.com.radiokot.photoprism/app/build/intermediates/binary_art_profile_metadata/release/compileReleaseArtProfile/baseline.profm ...
> Task :app:packageRelease
> Task :app:createReleaseApkListingFileRedirect
> Task :app:lintVitalReportRelease
> Task :app:lintVitalRelease
> Task :app:assembleRelease
BUILD SUCCESSFUL in 9m 34s
50 actionable tasks: 50 executed
2025-01-22 14:57:49,953 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/ua.com.radiokot.photoprism, universal_newlines=False, shell=None, istream=<valid stream>)
2025-01-22 14:57:49,968 INFO: Successfully built version 1.34.0 of ua.com.radiokot.photoprism from 4e11720bb640547b8c3037fc903f590c014beb93
2025-01-22 14:57:49,970 INFO: Running 'postbuild' commands in build/ua.com.radiokot.photoprism/app
2025-01-22 14:57:49,971 DEBUG: Directory: build/ua.com.radiokot.photoprism/app
2025-01-22 14:57:49,971 DEBUG: > bash -e -u -o pipefail -x -c /home/vagrant/build/srclib/reproducible-apk-tools/inplace-fix.py --zipalign fix-newlines /home/vagrant/build/ua.com.radiokot.photoprism/app/build/outputs/apk/release/ua.com.radiokot.photoprism-1.34.0.apk 'assets/app.properties' 'assets/open_source_licenses.html'
/etc/bash.bashrc: line 7: PS1: unbound variable
+ /home/vagrant/build/srclib/reproducible-apk-tools/inplace-fix.py --zipalign fix-newlines /home/vagrant/build/ua.com.radiokot.photoprism/app/build/outputs/apk/release/ua.com.radiokot.photoprism-1.34.0.apk assets/app.properties assets/open_source_licenses.html
fixing 'assets/app.properties'...
fixing 'assets/open_source_licenses.html'...
[RUN] python3 fix-newlines.py /home/vagrant/build/ua.com.radiokot.photoprism/app/build/outputs/apk/release/ua.com.radiokot.photoprism-1.34.0.apk /tmp/tmpr__13a43/fixed.apk assets/app.properties assets/open_source_licenses.html
[FOUND] /opt/android-sdk/build-tools/34.0.0/zipalign
[RUN] zipalign 4 /tmp/tmpr__13a43/fixed.apk /tmp/tmpr__13a43/aligned.apk
[MOVE] /tmp/tmpr__13a43/aligned.apk to /home/vagrant/build/ua.com.radiokot.photoprism/app/build/outputs/apk/release/ua.com.radiokot.photoprism-1.34.0.apk
2025-01-22 14:58:04,900 DEBUG: Checking build/ua.com.radiokot.photoprism/app/build/outputs/apk/release/ua.com.radiokot.photoprism-1.34.0.apk
2025-01-22 14:58:04,963 INFO: Created directory for storing developer supplied reference binaries: 'unsigned/binaries'
2025-01-22 14:58:04,963 INFO: ...retrieving https://github.com/Radiokot/photoprism-android-client/releases/download/1.34.0(50)/ua.com.radiokot.photoprism-1.34.0.apk
2025-01-22 14:58:04,967 DEBUG: Starting new HTTPS connection (1): github.com:443
2025-01-22 14:58:05,230 DEBUG: https://github.com:443 "GET /Radiokot/photoprism-android-client/releases/download/1.34.0(50)/ua.com.radiokot.photoprism-1.34.0.apk HTTP/1.1" 302 0
2025-01-22 14:58:05,234 DEBUG: Starting new HTTPS connection (1): objects.githubusercontent.com:443
2025-01-22 14:58:05,727 DEBUG: https://objects.githubusercontent.com:443 "GET /github-production-release-asset-2e65be/612884518/a4bf7a16-8764-488e-9f26-fa71d8157d5a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250122%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250122T145805Z&X-Amz-Expires=300&X-Amz-Signature=ebe4f0ce396aa04591a8f997b4ca8675dcb68739a35ce56591506105d290866e&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dua.com.radiokot.photoprism-1.34.0.apk&response-content-type=application%2Fvnd.android.package-archive HTTP/1.1" 200 12363164
2025-01-22 14:58:08,571 DEBUG: unsigned/binaries/ua.com.radiokot.photoprism_50.binary.apk: Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Verified using v3 scheme (APK Signature Scheme v3): true
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: false
Number of signers: 1
WARNING: META-INF/com/android/build/gradle/app-metadata.properties not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/version-control-info.textproto not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.activity_activity-ktx.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.activity_activity.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.annotation_annotation-experimental.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.appcompat_appcompat-resources.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.appcompat_appcompat.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.arch.core_core-runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.browser_browser.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.cardview_cardview.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.coordinatorlayout_coordinatorlayout.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.core_core-ktx.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.core_core.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.cursoradapter_cursoradapter.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.customview_customview-poolingcontainer.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.customview_customview.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.databinding_viewbinding.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.documentfile_documentfile.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.drawerlayout_drawerlayout.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.dynamicanimation_dynamicanimation.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.emoji2_emoji2-views-helper.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.emoji2_emoji2.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.exifinterface_exifinterface.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.fragment_fragment-ktx.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.fragment_fragment.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.interpolator_interpolator.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.legacy_legacy-support-core-utils.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-livedata-core-ktx.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-livedata-core.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-livedata.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-process.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-runtime-ktx.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-service.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-viewmodel-ktx.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-viewmodel-savedstate.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.lifecycle_lifecycle-viewmodel.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.loader_loader.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.localbroadcastmanager_localbroadcastmanager.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.media_media.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.preference_preference.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.print_print.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.recyclerview_recyclerview.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.room_room-ktx.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.room_room-runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.savedstate_savedstate-ktx.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.savedstate_savedstate.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.security_security-crypto.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.slidingpanelayout_slidingpanelayout.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.sqlite_sqlite-framework.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.sqlite_sqlite.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.startup_startup-runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.swiperefreshlayout_swiperefreshlayout.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.tracing_tracing.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.transition_transition.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.vectordrawable_vectordrawable-animated.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.vectordrawable_vectordrawable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.versionedparcelable_versionedparcelable.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.viewpager2_viewpager2.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.viewpager_viewpager.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.window_window.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.work_work-runtime.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/androidx.work_work-rxjava3.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/com.google.android.material_material.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/kotlinx_coroutines_android.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/kotlinx_coroutines_core.version not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/services/com.fasterxml.jackson.core.JsonFactory not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/services/com.fasterxml.jackson.core.ObjectCodec not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/services/com.fasterxml.jackson.databind.Module not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/services/kotlin.reflect.jvm.internal.impl.builtins.BuiltInsLoader not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/services/kotlin.reflect.jvm.internal.impl.resolve.ExternalOverridabilityCondition not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/services/kotlinx.coroutines.CoroutineExceptionHandler not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/services/kotlinx.coroutines.internal.MainDispatcherFactory not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
WARNING: META-INF/services/org.slf4j.spi.SLF4JServiceProvider not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.
DOES NOT VERIFY
ERROR: APK Signature Scheme v3 signer #1: APK integrity check failed. CHUNKED_SHA256 digest mismatch. Expected: <3f3802cc4c8c2faa8f81e08de7795669e9b700267280861e32c2cc0f810d032b>, actual: <296df1b7c8088c289ce7833490cba1362a90445d2b802e6f50e9d6b78eb03900>
2025-01-22 14:58:09,616 ERROR:
/tmp/tmpzjhcuxza/sigcp_ua.com.radiokot.photoprism_50.apk:
2025-01-22 14:58:09,617 INFO: ...NOT verified - /tmp/tmpzjhcuxza/sigcp_ua.com.radiokot.photoprism_50.apk
2025-01-22 14:58:10,849 DEBUG: > diff -r /tmp/tmpzjhcuxza/unsigned_binaries_ua.com.radiokot.photoprism_50.binary /tmp/tmpzjhcuxza/_tmp_tmpzjhcuxza_sigcp_ua.com.radiokot.photoprism_50
2025-01-22 14:58:11,058 DEBUG: removing unsigned/ua.com.radiokot.photoprism_50.apk
2025-01-22 14:58:11,068 DEBUG: removing unsigned/binaries/ua.com.radiokot.photoprism_50.binary.apk
2025-01-22 14:58:11,245 ERROR: Could not build app ua.com.radiokot.photoprism: compared built binary to supplied reference binary but failed
==== detail begin ====
verification of APK with copied signature failed
Comparing reference APK to APK with copied signature...
Unexpected diff output:
Binary files /tmp/tmpzjhcuxza/unsigned_binaries_ua.com.radiokot.photoprism_50.binary/content/assets/dexopt/baseline.prof and /tmp/tmpzjhcuxza/_tmp_tmpzjhcuxza_sigcp_ua.com.radiokot.photoprism_50/content/assets/dexopt/baseline.prof differ
Binary files /tmp/tmpzjhcuxza/unsigned_binaries_ua.com.radiokot.photoprism_50.binary/content/classes4.dex and /tmp/tmpzjhcuxza/_tmp_tmpzjhcuxza_sigcp_ua.com.radiokot.photoprism_50/content/classes4.dex differ
==== detail end ====
2025-01-22 14:58:11,245 DEBUG: Error encountered, stopping by user request.
==== detail end ====