Traceback (most recent call last):
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 1134, in main
if trybuild(app, build, build_dir, output_dir, log_dir,
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 904, in trybuild
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 273, in build_server
raise BuildException(message.format(app.id, build.versionName),
fdroidserver.exception.BuildException: Build.py failed on server for com.github.catfriend1.syncthingandroid:1.23.2.1
==== detail begin ====
== Installed Android Tools ==
2023-03-12 18:10:00,659 DEBUG: Reading 'config.yml'
2023-03-12 18:10:00,675 DEBUG: ipfs_cid not found, skipping CIDv1 generation
2023-03-12 18:10:00,676 INFO: Creating log directory
2023-03-12 18:10:00,676 INFO: Creating temporary directory
2023-03-12 18:10:00,676 INFO: Creating output directory
2023-03-12 18:10:00,760 DEBUG: Getting git vcs interface for https://github.com/Catfriend1/syncthing-android-fdroid.git
2023-03-12 18:10:00,760 DEBUG: Checking com.github.catfriend1.syncthingandroid:1230201
2023-03-12 18:10:00,760 INFO: Building version 1.23.2.1 (1230201) of com.github.catfriend1.syncthingandroid
2023-03-12 18:10:00,761 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2023-03-12 18:10:01,072 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 36772 files and directories currently installed.)
Removing sudo (1.9.5p2-3+deb11u1) ...
Purging configuration files for sudo (1.9.5p2-3+deb11u1) ...
dpkg: warning: while removing sudo, directory '/etc/sudoers.d' not empty so not removed
2023-03-12 18:10:13,179 INFO: Getting source for revision 8c1db138435b3372b100d1256622d4ff43ed5aef
2023-03-12 18:10:13,179 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:13,180 DEBUG: > git rev-parse --show-toplevel
2023-03-12 18:10:13,392 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:13,393 DEBUG: > git submodule foreach --recursive git reset --hard
2023-03-12 18:10:14,608 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:14,608 DEBUG: > git reset --hard
2023-03-12 18:10:15,121 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:15,121 DEBUG: > git submodule foreach --recursive git clean -dffx
2023-03-12 18:10:15,333 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:15,333 DEBUG: > git clean -dffx
2023-03-12 18:10:15,445 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:15,445 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 origin
2023-03-12 18:10:16,259 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:16,260 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 remote prune origin
2023-03-12 18:10:16,772 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:16,773 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
2023-03-12 18:10:17,385 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:17,386 DEBUG: > git remote set-head origin --auto
2023-03-12 18:10:18,099 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:18,099 DEBUG: > git checkout -f 8c1db138435b3372b100d1256622d4ff43ed5aef
2023-03-12 18:10:18,612 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:18,612 DEBUG: > git clean -dffx
2023-03-12 18:10:18,724 INFO: Initialising submodules
2023-03-12 18:10:18,725 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:18,725 DEBUG: > git rev-parse --show-toplevel
2023-03-12 18:10:18,940 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:18,941 DEBUG: > git submodule sync
2023-03-12 18:10:19,152 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid
2023-03-12 18:10:19,152 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 submodule update --init --force --recursive
Submodule path 'syncthing/src/github.com/syncthing/syncthing': checked out '8bbf2ba9ac7048cdc7527c3b6e71b3086448fa3a'
2023-03-12 18:10:21,572 INFO: Creating local.properties file at build/com.github.catfriend1.syncthingandroid/local.properties
2023-03-12 18:10:21,573 INFO: Creating local.properties file at build/com.github.catfriend1.syncthingandroid/app/local.properties
2023-03-12 18:10:21,574 DEBUG: Removing debuggable flags from build/com.github.catfriend1.syncthingandroid/app
2023-03-12 18:10:23,712 INFO: Removing specified files
2023-03-12 18:10:23,713 INFO: Removing syncthing/src/github.com/syncthing/syncthing/lib/model/testdata
2023-03-12 18:10:23,719 INFO: Cleaned build.gradle of keysigning configs at build/com.github.catfriend1.syncthingandroid/app/build.gradle
2023-03-12 18:10:23,792 INFO: Running 'prebuild' commands in build/com.github.catfriend1.syncthingandroid/app
2023-03-12 18:10:23,792 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid/app
2023-03-12 18:10:23,792 DEBUG: > bash -e -u -o pipefail -x -c -- sed -i -e '/signingConfig/d' build.gradle; sed -i -e '/executable/s/python/python3/' {../syncthing,.}/build.gradle; echo 'org.gradle.jvmargs=-Xmx4096m' >> ../gradle.properties
/etc/bash.bashrc: line 7: PS1: unbound variable
+ sed -i -e /signingConfig/d build.gradle
+ sed -i -e /executable/s/python/python3/ ../syncthing/build.gradle ./build.gradle
+ echo org.gradle.jvmargs=-Xmx4096m
2023-03-12 18:10:24,102 INFO: Cleaning Gradle project...
2023-03-12 18:10:24,103 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid/app
2023-03-12 18:10:24,103 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 7.4 via distributionUrl
Downloading missing gradle version 7.4
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-7.4-bin.zip: OK
Running /opt/gradle/versions/7.4/bin/gradle clean
Welcome to Gradle 7.4!
Here are the highlights of this release:
- Aggregated test and JaCoCo reports
- Marking additional test source directories as tests in IntelliJ
- Support for Adoptium JDKs in Java toolchains
For more details see https://docs.gradle.org/7.4/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.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Task :app:clean UP-TO-DATE
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 1m 4s
1 actionable task: 1 up-to-date
2023-03-12 18:11:34,288 INFO: Scanning source for common problems...
2023-03-12 18:11:34,307 DEBUG: scanner is configured to use signature data from: 'suss'
2023-03-12 18:11:34,431 WARNING: Found executable binary, possibly code at syncthing/src/github.com/syncthing/syncthing/cmd/ursrv/static/fonts/glyphicons-halflings-regular.woff
2023-03-12 18:11:34,432 WARNING: Found executable binary, possibly code at syncthing/src/github.com/syncthing/syncthing/cmd/ursrv/static/fonts/glyphicons-halflings-regular.ttf
2023-03-12 18:11:34,432 WARNING: Found executable binary, possibly code at syncthing/src/github.com/syncthing/syncthing/cmd/ursrv/static/fonts/glyphicons-halflings-regular.eot
2023-03-12 18:11:34,509 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2023-03-12 18:11:34,510 INFO: Creating source tarball...
2023-03-12 18:11:38,766 INFO: Building Gradle project...
2023-03-12 18:11:38,766 DEBUG: Directory: build/com.github.catfriend1.syncthingandroid/app
2023-03-12 18:11:38,766 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid :syncthing:buildNative assembleRelease
Found 7.4 via distributionUrl
Running /opt/gradle/versions/7.4/bin/gradle :syncthing:buildNative assembleRelease
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
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
> Task :syncthing:checkPython
Using python 3.9.2 from /usr (python3)
> Task :syncthing:pipInstall SKIPPED
> Task :syncthing:buildNative
[python] python3 -u ./build-syncthing.py
git_bin='/usr/bin/git'
Warning: go is not available on the PATH.
Downloading prebuilt-go to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz
Downloaded prebuilt-go to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz
SHA-256: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz 000a5b1fca4f75895f78befeb2eecf10bfff3c428597f3f1e69133b63b911b02
[ok] Checksum of /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz matches expected value.
Extracting prebuilt-go ...
Adding to PATH: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin
go_bin='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin/go'
Warning: ANDROID_NDK_HOME environment variable not defined.
Downloading NDK to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip
Downloaded NDK to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip
SHA-1: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip eceb18f147282eb93615eff1ad84a9d3962fbb31
[ok] Checksum of /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip matches expected value.
Extracting NDK ...
Setting permissions on NDK executables ...
Adding ANDROID_NDK_HOME='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24'
ANDROID_NDK_HOME='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24'
Invoking git fetch ...
From https://github.com/syncthing/syncthing
* [new tag] v0.14 -> v0.14
Invoking git describe ...
Cleaning go-build cache
Building syncthing version v1.23.2
*** Building for arm
# runtime/cgo
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH
Traceback (most recent call last):
File "/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/./build-syncthing.py", line 388, in <module>
subprocess.check_call([
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin/go', 'run', 'build.go', '-goos', 'android', '-goarch', 'arm', '-cc', '/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang', '-version', 'v1.23.2', '-no-upgrade', 'build']' returned non-zero exit status 1.
> Task :syncthing:buildNative FAILED
BUILD FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':syncthing:buildNative'.
> Python call failed: python3 -u ./build-syncthing.py
OUTPUT:
git_bin='/usr/bin/git'
Warning: go is not available on the PATH.
Downloading prebuilt-go to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz
Downloaded prebuilt-go to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz
SHA-256: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz 000a5b1fca4f75895f78befeb2eecf10bfff3c428597f3f1e69133b63b911b02
[ok] Checksum of /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz matches expected value.
Extracting prebuilt-go ...
Adding to PATH: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin
go_bin='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin/go'
Warning: ANDROID_NDK_HOME environment variable not defined.
Downloading NDK to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip
Downloaded NDK to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip
SHA-1: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip eceb18f147282eb93615eff1ad84a9d3962fbb31
[ok] Checksum of /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip matches expected value.
Extracting NDK ...
Setting permissions on NDK executables ...
Adding ANDROID_NDK_HOME='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24'
ANDROID_NDK_HOME='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24'
Invoking git fetch ...
From https://github.com/syncthing/syncthing
* [new tag] v0.14 -> v0.14
Invoking git describe ...
Cleaning go-build cache
Building syncthing version v1.23.2
*** Building for arm
# runtime/cgo
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH
Traceback (most recent call last):
File "/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/./build-syncthing.py", line 388, in <module>
subprocess.check_call([
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin/go', 'run', 'build.go', '-goos', 'android', '-goarch', 'arm', '-cc', '/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang', '-version', 'v1.23.2', '-no-upgrade', 'build']' returned non-zero exit status 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 57s
2 actionable tasks: 2 executed
2023-03-12 18:13:37,352 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/com.github.catfriend1.syncthingandroid, universal_newlines=False, shell=None, istream=<valid stream>)
2023-03-12 18:13:37,371 ERROR: Could not build app com.github.catfriend1.syncthingandroid: Build failed for com.github.catfriend1.syncthingandroid:1.23.2.1@8c1db138435b3372b100d1256622d4ff43ed5aef
==== detail begin ====
Found 7.4 via distributionUrl
Running /opt/gradle/versions/7.4/bin/gradle :syncthing:buildNative assembleRelease
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
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
> Task :syncthing:checkPython
Using python 3.9.2 from /usr (python3)
> Task :syncthing:pipInstall SKIPPED
> Task :syncthing:buildNative
[python] python3 -u ./build-syncthing.py
git_bin='/usr/bin/git'
Warning: go is not available on the PATH.
Downloading prebuilt-go to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz
Downloaded prebuilt-go to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz
SHA-256: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz 000a5b1fca4f75895f78befeb2eecf10bfff3c428597f3f1e69133b63b911b02
[ok] Checksum of /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz matches expected value.
Extracting prebuilt-go ...
Adding to PATH: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin
go_bin='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin/go'
Warning: ANDROID_NDK_HOME environment variable not defined.
Downloading NDK to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip
Downloaded NDK to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip
SHA-1: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip eceb18f147282eb93615eff1ad84a9d3962fbb31
[ok] Checksum of /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip matches expected value.
Extracting NDK ...
Setting permissions on NDK executables ...
Adding ANDROID_NDK_HOME='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24'
ANDROID_NDK_HOME='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24'
Invoking git fetch ...
From https://github.com/syncthing/syncthing
* [new tag] v0.14 -> v0.14
Invoking git describe ...
Cleaning go-build cache
Building syncthing version v1.23.2
*** Building for arm
# runtime/cgo
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH
Traceback (most recent call last):
File "/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/./build-syncthing.py", line 388, in <module>
subprocess.check_call([
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin/go', 'run', 'build.go', '-goos', 'android', '-goarch', 'arm', '-cc', '/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang', '-version', 'v1.23.2', '-no-upgrade', 'build']' returned non-zero exit status 1.
> Task :syncthing:buildNative FAILED
BUILD FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':syncthing:buildNative'.
> Python call failed: python3 -u ./build-syncthing.py
OUTPUT:
git_bin='/usr/bin/git'
Warning: go is not available on the PATH.
Downloading prebuilt-go to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz
Downloaded prebuilt-go to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz
SHA-256: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz 000a5b1fca4f75895f78befeb2eecf10bfff3c428597f3f1e69133b63b911b02
[ok] Checksum of /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1.tgz matches expected value.
Extracting prebuilt-go ...
Adding to PATH: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin
go_bin='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin/go'
Warning: ANDROID_NDK_HOME environment variable not defined.
Downloading NDK to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip
Downloaded NDK to: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip
SHA-1: /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip eceb18f147282eb93615eff1ad84a9d3962fbb31
[ok] Checksum of /home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/ndk_r24.zip matches expected value.
Extracting NDK ...
Setting permissions on NDK executables ...
Adding ANDROID_NDK_HOME='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24'
ANDROID_NDK_HOME='/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24'
Invoking git fetch ...
From https://github.com/syncthing/syncthing
* [new tag] v0.14 -> v0.14
Invoking git describe ...
Cleaning go-build cache
Building syncthing version v1.23.2
*** Building for arm
# runtime/cgo
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH
Traceback (most recent call last):
File "/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/./build-syncthing.py", line 388, in <module>
subprocess.check_call([
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/go_1.20.1/bin/go', 'run', 'build.go', '-goos', 'android', '-goarch', 'arm', '-cc', '/home/vagrant/build/com.github.catfriend1.syncthingandroid/syncthing/../../syncthing-android-prereq/android-ndk-r24/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang', '-version', 'v1.23.2', '-no-upgrade', 'build']' returned non-zero exit status 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 57s
2 actionable tasks: 2 executed
==== detail end ====
2023-03-12 18:13:37,372 DEBUG: Error encoutered, stopping by user request.
==== detail end ====