What's the problem with Syncthing-Fork


#1

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’


#2

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.


#3

Thanks, @uniqx for fixing it that quickly.