What's the problem with Syncthing-Fork

14.53.1 built okay.
14.54.1 no longer builds, no suspicious commit done so far?!

== Installed Android Tools ==

INFO: Creating log directory
INFO: Creating temporary directory
INFO: Creating output directory
INFO: Using git version 2.11.0
INFO: Building version 0.14.54.1 (4180) of com.github.catfriend1.syncthingandroid
INFO: Getting source for revision v0.14.54.1
INFO: Initialising submodules
INFO: Creating local.properties file at build/com.github.catfriend1.syncthingandroid/local.properties
INFO: Removing specified files
INFO: Removing syncthing/src/github.com/syncthing/syncthing/lib/model/testdata
INFO: Cleaned build.gradle of keysigning configs at build/com.github.catfriend1.syncthingandroid/app/build.gradle
INFO: Running ‘prebuild’ commands in build/com.github.catfriend1.syncthingandroid
INFO: Cleaning Gradle project…
INFO: Scanning source for common problems…
INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
WARNING: Found possible binary at syncthing/src/github.com/syncthing/syncthing/cmd/ursrv/static/fonts/glyphicons-halflings-regular.eot
WARNING: Found possible binary at syncthing/src/github.com/syncthing/syncthing/cmd/ursrv/static/fonts/glyphicons-halflings-regular.ttf
WARNING: Found possible binary at syncthing/src/github.com/syncthing/syncthing/cmd/ursrv/static/fonts/glyphicons-halflings-regular.woff
INFO: Creating source tarball…
INFO: Running ‘build’ commands in build/com.github.catfriend1.syncthingandroid
ERROR: Could not build app com.github.catfriend1.syncthingandroid due to unknown error: Traceback (most recent call last):
File “/home/vagrant/fdroidserver/fdroidserver/build.py”, line 1076, in main
options.onserver, options.refresh):
File “/home/vagrant/fdroidserver/fdroidserver/build.py”, line 851, in trybuild
build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, extlib_dir, tmp_dir, force, onserver, refresh)
File “/home/vagrant/fdroidserver/fdroidserver/build.py”, line 523, in build_local
cmd = common.replace_config_vars(build.build, build)
File “/home/vagrant/fdroidserver/fdroidserver/common.py”, line 2461, in replace_config_vars
cmd = cmd.replace(‘$$SDK$$’, config[‘sdk_path’])
AttributeError: ‘list’ object has no attribute ‘replace’

tl;dr: already fixed, will be no issue anymore when a recent version of fdroidserver gets deployed

There has been an update to the yaml metadata format: fdroidserver#427. This build attempt was made with an older version of fdroidserver which does not support the updated metadata format.

1 Like

Thanks, @uniqx for fixing it that quickly.

Hi,

What does build log "“could not bring up vm ‘builder_default’” mean? I think it doesn’t require action from my side so correct me if I’m wrong.
Src : https://f-droid.org/wiki/page/com.github.catfriend1.syncthingandroid/lastbuild_145407

This means that vagrant failed.

No action required from your side.

Do I need to take any action to solve this build error happening since the last two build sessions?

File /home/vagrant/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 28.0.3 in /home/vagrant/android-sdk/licenses
Warning: License for package Android SDK Build-Tools 28.0.3 not accepted.
FAILURE: Build failed with an exception.

We are working on it: Build is failing for many apps due to "some licenses have not been accepted" (#620) · Issues · F-Droid / fdroidserver · GitLab
Sorry for the inconvenience.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.