Build pipeline is failing when adding Flutter App

Surely there’s a misstep here

While in fdroiddata, what does:
ls -la srclibs/flutter.yml
output?

-rw-r--r-- 1 alexis alexis 55 Aug 23 09:26 srclibs/flutter.yml

Show me the output of: fdroid build --verbose appid

DEBUG: Reading 'config.py'
DEBUG: Getting git vcs interface for https://github.com/abhinavmarwaha/curator
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: Directory: build/com.abhinavmarwaha.curator
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
DEBUG: Directory: build/com.abhinavmarwaha.curator
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 origin
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git remote set-head origin --auto
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git checkout -f HEAD
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git clean -dffx
DEBUG: Getting git vcs interface for https://github.com/abhinavmarwaha/curator
DEBUG: > git --version
git version 2.28.0
INFO: Using git version 2.28.0
DEBUG: Checking 0.1.0
INFO: Building version 0.1.0 (1) of com.abhinavmarwaha.curator
INFO: Getting source for revision v0.1.0
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: Directory: build/com.abhinavmarwaha.curator
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
DEBUG: Directory: build/com.abhinavmarwaha.curator
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 origin
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git remote set-head origin --auto
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git checkout -f v0.1.0
DEBUG: Directory: build/com.abhinavmarwaha.curator
DEBUG: > git clean -dffx
INFO: Collecting source libraries
ERROR: VCS error while building app com.abhinavmarwaha.curator: srclib flutter not found.
INFO: Finished
INFO: 1 build failed

and fdroid is run from fdroidserver/fdroid right? and you never installed fdroidserver from pip or distro repos, right?

No, I installed it through

sudo apt-get install fdroidserver (I am on Kali)

So through distro repo… sorry … but fdroid data is definitely from GitLab.

Right, that’s why I asked about fdroidserver, as repo versions are rather old, and we already switched to .YML format srclibs while yours still expects .TXT

Now, as said above, use fdroid FROM THE CLONED repo of fdroidserver, eg. Uninstall fdroidserver from your system via you package manager BUT keep its deps

So finally was able to run this command
The same problem is there:

2020-08-24 10:48:13,530 DEBUG: Reading 'config.py'
2020-08-24 10:48:13,540 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/alexis/Desktop/fdroiddata, universal_newlines=False, shell=None, istream=<valid stream>)
2020-08-24 10:48:13,551 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/home/alexis/Desktop/fdroiddata, universal_newlines=False, shell=None, istream=None)
2020-08-24 10:48:13,596 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/home/alexis/Desktop/fdroiddata, universal_newlines=False, shell=None, istream=None)
2020-08-24 10:48:13,756 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/alexis/Desktop/fdroidserver, universal_newlines=False, shell=None, istream=<valid stream>)
2020-08-24 10:48:13,763 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/home/alexis/Desktop/fdroidserver, universal_newlines=False, shell=None, istream=None)
2020-08-24 10:48:13,769 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/home/alexis/Desktop/fdroidserver, universal_newlines=False, shell=None, istream=None)
2020-08-24 10:48:14,155 DEBUG: skip deploying full build logs: not enabled in config
2020-08-24 10:48:27,122 DEBUG: Getting git vcs interface for https://github.com/abhinavmarwaha/curator
2020-08-24 10:48:27,122 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:27,122 DEBUG: > git rev-parse --show-toplevel
2020-08-24 10:48:27,332 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:27,332 DEBUG: > git submodule foreach --recursive git reset --hard
2020-08-24 10:48:27,447 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:27,447 DEBUG: > git submodule foreach --recursive git clean -dffx
2020-08-24 10:48:27,557 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:27,557 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
2020-08-24 10:48:29,118 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:29,118 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
2020-08-24 10:48:30,667 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:30,667 DEBUG: > git remote set-head origin --auto
2020-08-24 10:48:32,154 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:32,154 DEBUG: > git checkout -f HEAD
2020-08-24 10:48:32,269 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:32,269 DEBUG: > git clean -dffx
2020-08-24 10:48:33,976 DEBUG: skip deploying full build logs: not enabled in config
2020-08-24 10:48:33,976 DEBUG: Getting git vcs interface for https://github.com/abhinavmarwaha/curator
2020-08-24 10:48:33,977 DEBUG: > git --version
git version 2.28.0
2020-08-24 10:48:34,185 INFO: Using git version 2.28.0
2020-08-24 10:48:34,186 DEBUG: Checking 0.1.0
2020-08-24 10:48:34,186 INFO: Building version 0.1.0 (1) of com.abhinavmarwaha.curator
2020-08-24 10:48:34,186 INFO: Getting source for revision v0.1.0
2020-08-24 10:48:34,187 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:34,187 DEBUG: > git rev-parse --show-toplevel
2020-08-24 10:48:34,395 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:34,396 DEBUG: > git submodule foreach --recursive git reset --hard
2020-08-24 10:48:34,512 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:34,513 DEBUG: > git submodule foreach --recursive git clean -dffx
2020-08-24 10:48:34,625 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:34,625 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
2020-08-24 10:48:36,102 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:36,102 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
2020-08-24 10:48:37,667 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:37,667 DEBUG: > git remote set-head origin --auto
2020-08-24 10:48:39,127 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:39,128 DEBUG: > git checkout -f v0.1.0
2020-08-24 10:48:39,350 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:39,351 DEBUG: > git clean -dffx
2020-08-24 10:48:39,480 INFO: Collecting source libraries
2020-08-24 10:48:39,491 DEBUG: Directory: build/srclib/flutter
2020-08-24 10:48:39,491 DEBUG: > git rev-parse --show-toplevel
2020-08-24 10:48:39,720 DEBUG: Directory: build/srclib/flutter
2020-08-24 10:48:39,720 DEBUG: > git submodule foreach --recursive git reset --hard
2020-08-24 10:48:39,833 DEBUG: Directory: build/srclib/flutter
2020-08-24 10:48:39,833 DEBUG: > git submodule foreach --recursive git clean -dffx
2020-08-24 10:48:39,953 DEBUG: Directory: build/srclib/flutter
2020-08-24 10:48:39,954 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
2020-08-24 10:48:50,215 DEBUG: Directory: build/srclib/flutter
2020-08-24 10:48:50,216 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
2020-08-24 10:48:54,974 DEBUG: Directory: build/srclib/flutter
2020-08-24 10:48:54,975 DEBUG: > git remote set-head origin --auto
2020-08-24 10:48:57,895 DEBUG: Directory: build/srclib/flutter
2020-08-24 10:48:57,895 DEBUG: > git checkout -f 1.17.1
2020-08-24 10:48:58,912 DEBUG: Directory: build/srclib/flutter
2020-08-24 10:48:58,912 DEBUG: > git clean -dffx
2020-08-24 10:48:59,120 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/platform_interaction/android/app/build.gradle
2020-08-24 10:48:59,122 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/ui/android/app/build.gradle
2020-08-24 10:48:59,124 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/codegen/android/app/build.gradle
2020-08-24 10:48:59,127 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/flutter_gallery/android/app/build.gradle
2020-08-24 10:48:59,129 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/android_splash_screens/splash_screen_load_rotate/android/app/build.gradle
2020-08-24 10:48:59,130 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/android/app/build.gradle
2020-08-24 10:48:59,132 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/android/app/build.gradle
2020-08-24 10:48:59,134 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/named_isolates/android/app/build.gradle
2020-08-24 10:48:59,137 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/channels/android/app/build.gradle
2020-08-24 10:48:59,138 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/flutter_driver_screenshot_test/android/app/build.gradle
2020-08-24 10:48:59,140 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/android_semantics_testing/android/app/build.gradle
2020-08-24 10:48:59,142 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/release_smoke_test/android/app/build.gradle
2020-08-24 10:48:59,144 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/image_loading/android/app/build.gradle
2020-08-24 10:48:59,145 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/image_loading/android/app/bin/build.gradle
2020-08-24 10:48:59,148 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/abstract_method_smoke_test/android/app/build.gradle
2020-08-24 10:48:59,151 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/flavors/android/app/build.gradle
2020-08-24 10:48:59,152 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/external_ui/android/app/build.gradle
2020-08-24 10:48:59,154 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/android_views/android/app/build.gradle
2020-08-24 10:48:59,156 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/integration_tests/android_embedding_v2_smoke_test/android/app/build.gradle
2020-08-24 10:48:59,158 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/manual_tests/android/app/build.gradle
2020-08-24 10:48:59,160 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/benchmarks/test_apps/stocks/android/app/build.gradle
2020-08-24 10:48:59,162 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/benchmarks/macrobenchmarks/android/app/build.gradle
2020-08-24 10:48:59,164 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/benchmarks/microbenchmarks/android/app/build.gradle
2020-08-24 10:48:59,165 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/benchmarks/platform_views_layout/android/app/build.gradle
2020-08-24 10:48:59,167 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/dev/benchmarks/complex_layout/android/app/build.gradle
2020-08-24 10:48:59,191 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/examples/platform_channel/android/app/build.gradle
2020-08-24 10:48:59,194 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/examples/flutter_view/android/app/build.gradle
2020-08-24 10:48:59,196 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/examples/hello_world/android/app/build.gradle
2020-08-24 10:48:59,198 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/examples/layers/android/app/build.gradle
2020-08-24 10:48:59,200 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/examples/catalog/android/app/build.gradle
2020-08-24 10:48:59,202 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/examples/platform_view/android/app/build.gradle
2020-08-24 10:48:59,204 INFO: Cleaned build.gradle of keysigning configs at build/srclib/flutter/examples/image_list/android/app/build.gradle
2020-08-24 10:48:59,205 DEBUG: Removing debuggable flags from build/srclib/flutter
2020-08-24 10:48:59,262 INFO: Creating local.properties file at build/com.abhinavmarwaha.curator/local.properties
2020-08-24 10:48:59,262 DEBUG: Removing debuggable flags from build/com.abhinavmarwaha.curator
2020-08-24 10:48:59,267 INFO: Cleaned build.gradle of keysigning configs at build/com.abhinavmarwaha.curator/android/app/build.gradle
2020-08-24 10:48:59,268 INFO: Running 'prebuild' commands in build/com.abhinavmarwaha.curator
2020-08-24 10:48:59,268 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:59,269 DEBUG: > bash -x -c -- sed -i -e 's|git@github.com:|https://github.com/|' pubspec.lock pubspec.yaml
+ sed -i -e 's|git@github.com:|https://github.com/|' pubspec.lock pubspec.yaml
2020-08-24 10:48:59,495 INFO: Scanning source for common problems...
2020-08-24 10:48:59,567 INFO: Creating source tarball...
2020-08-24 10:48:59,883 INFO: Running 'build' commands in build/com.abhinavmarwaha.curator
2020-08-24 10:48:59,883 DEBUG: Directory: build/com.abhinavmarwaha.curator
2020-08-24 10:48:59,884 DEBUG: > bash -x -c export PATH=/home/alexis/Desktop/fdroiddata/build/srclib/flutter/bin:$PATH && flutter packages pub get && flutter pub run build_runner build && flutter config --no-analytics && flutter build apk --flavor fdroid
+ export 'PATH=/home/alexis/Desktop/fdroiddata/build/srclib/flutter/bin:$ANDROID_NDK:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/tools:/platform-tools:/home/alexis/Desktop/fdroidserver'
+ PATH='/home/alexis/Desktop/fdroiddata/build/srclib/flutter/bin:$ANDROID_NDK:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/tools:/platform-tools:/home/alexis/Desktop/fdroidserver'
+ flutter packages pub get
Downloading Dart SDK from Flutter engine 6bc433c6b6b5b98dcf4cc11aff31cdee90849f32...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  212M  100  212M    0     0  2198k      0  0:01:39  0:01:39 --:--:-- 2532k
Building flutter tool...
Downloading Material fonts...                                      12.6s
Downloading Gradle Wrapper...                                       1.3s
Downloading package sky_engine...                                   3.3s
Downloading flutter_patched_sdk tools...                            7.1s
Downloading flutter_patched_sdk_product tools...                    7.2s
Downloading linux-x64 tools...                                     14.0s
Downloading linux-x64/font-subset tools...                          3.8s
Resolving dependencies...
Got dependencies!
+ flutter pub run build_runner build
[INFO] Generating build script...
[INFO] Generating build script completed, took 684ms

[INFO] Creating build script snapshot......
[INFO] Creating build script snapshot... completed, took 21.8s

[WARNING] Configuring `reflectable:reflectable` in target `curator:curator` but this is not a known Builder
[SEVERE] Nothing can be built, yet a build was requested.
[INFO] Initializing inputs
[INFO] Building new asset graph...
[INFO] Building new asset graph completed, took 1.1s

[INFO] Checking for unexpected pre-existing outputs....
[INFO] Checking for unexpected pre-existing outputs. completed, took 3ms

[INFO] Running build...
[INFO] Running build completed, took 11ms

[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 85ms

[INFO] Succeeded after 120ms with 0 outputs (0 actions)

+ flutter config --no-analytics
Analytics reporting disabled.

You may need to restart any open editors for them to read new settings.
+ flutter build apk --flavor fdroid
Downloading android-arm-profile/linux-x64 tools...                  3.6s
Downloading android-arm-release/linux-x64 tools...                  2.8s
Downloading android-arm64-profile/linux-x64 tools...                3.8s
Downloading android-arm64-release/linux-x64 tools...                3.1s
Downloading android-x64-profile/linux-x64 tools...                  2.9s
Downloading android-x64-release/linux-x64 tools...                  3.2s
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
    To generate an app bundle, run:
        flutter build appbundle --target-platform android-arm,android-arm64,android-x64
        Learn more on: https://developer.android.com/guide/app-bundle
    To split the APKs per ABI, run:
        flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
        Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleFdroidRelease'...                  
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true

Checking the license for package Android SDK Build-Tools 28.0.3 in /home/alexis/Android/Sdk/licenses

License for package Android SDK Build-Tools 28.0.3 accepted.

Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".

"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready.

Installing Android SDK Build-Tools 28.0.3 in /home/alexis/Android/Sdk/build-tools/28.0.3

"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete.

"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished.

Checking the license for package Android SDK Platform 28 in /home/alexis/Android/Sdk/licenses

License for package Android SDK Platform 28 accepted.

Preparing "Install Android SDK Platform 28 (revision: 6)".

"Install Android SDK Platform 28 (revision: 6)" ready.

Installing Android SDK Platform 28 in /home/alexis/Android/Sdk/platforms/android-28

"Install Android SDK Platform 28 (revision: 6)" complete.

"Install Android SDK Platform 28 (revision: 6)" finished.



Compiler message:

lib/Screens/defRssScreen.dart:1:8: Error: Error when reading 'lib/Screens/SettingsScreen.dart': No such file or directory

import 'package:curator/Screens/SettingsScreen.dart';

       ^

lib/Screens/defRssScreen.dart:3:8: Error: Error when reading 'lib/Screens/WebRssScreen.dart': No such file or directory

import 'package:curator/Screens/WebRssScreen.dart';

       ^

lib/Screens/defRssScreen.dart:44:15: Error: The method 'WebRssScreen' isn't defined for the class '_DefRssScreenState'.

 - '_DefRssScreenState' is from 'package:curator/Screens/defRssScreen.dart' ('lib/Screens/defRssScreen.dart').

Try correcting the name to the name of an existing method, or defining a method named 'WebRssScreen'.

              WebRssScreen(),

              ^^^^^^^^^^^^

lib/Screens/defRssScreen.dart:46:15: Error: The method 'SettingsScreen' isn't defined for the class '_DefRssScreenState'.

 - '_DefRssScreenState' is from 'package:curator/Screens/defRssScreen.dart' ('lib/Screens/defRssScreen.dart').

Try correcting the name to the name of an existing method, or defining a method named 'SettingsScreen'.

              SettingsScreen()

              ^^^^^^^^^^^^^^

Target kernel_snapshot failed: Exception: Errors during snapshot creation: null

build failed.



FAILURE: Build failed with an exception.



* Where:

Script '/home/alexis/Desktop/fdroiddata/build/srclib/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 882



* What went wrong:

Execution failed for task ':app:compileFlutterBuildFdroidRelease'.

> Process 'command '/home/alexis/Desktop/fdroiddata/build/srclib/flutter/bin/flutter'' finished with non-zero exit value 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



BUILD FAILED in 3m 5s
Running Gradle task 'assembleFdroidRelease'...                    186.8s (!)
Gradle task assembleFdroidRelease failed with exit code 1
2020-08-24 10:56:36,601 ERROR: Could not build app com.abhinavmarwaha.curator: Error running build command for com.abhinavmarwaha.curator:0.1.0
==== detail begin ====
+ export 'PATH=/home/alexis/Desktop/fdroiddata/build/srclib/flutter/bin:$ANDROID_NDK:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/tools:/platform-tools:/home/alexis/Desktop/fdroidserver'
+ PATH='/home/alexis/Desktop/fdroiddata/build/srclib/flutter/bin:$ANDROID_NDK:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/tools:/platform-tools:/home/alexis/Desktop/fdroidserver'
+ flutter packages pub get
Downloading Dart SDK from Flutter engine 6bc433c6b6b5b98dcf4cc11aff31cdee90849f32...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  212M  100  212M    0     0  2198k      0  0:01:39  0:01:39 --:--:-- 2532k
Building flutter tool...
Downloading Material fonts...                                      12.6s
Downloading Gradle Wrapper...                                       1.3s
Downloading package sky_engine...                                   3.3s
Downloading flutter_patched_sdk tools...                            7.1s
Downloading flutter_patched_sdk_product tools...                    7.2s
Downloading linux-x64 tools...                                     14.0s
Downloading linux-x64/font-subset tools...                          3.8s
Resolving dependencies...
Got dependencies!
+ flutter pub run build_runner build
[INFO] Generating build script...
[INFO] Generating build script completed, took 684ms

[INFO] Creating build script snapshot......
[INFO] Creating build script snapshot... completed, took 21.8s

[WARNING] Configuring `reflectable:reflectable` in target `curator:curator` but this is not a known Builder
[SEVERE] Nothing can be built, yet a build was requested.
[INFO] Initializing inputs
[INFO] Building new asset graph...
[INFO] Building new asset graph completed, took 1.1s

[INFO] Checking for unexpected pre-existing outputs....
[INFO] Checking for unexpected pre-existing outputs. completed, took 3ms

[INFO] Running build...
[INFO] Running build completed, took 11ms

[INFO] Caching finalized dependency graph...
[INFO] Caching finalized dependency graph completed, took 85ms

[INFO] Succeeded after 120ms with 0 outputs (0 actions)

+ flutter config --no-analytics
Analytics reporting disabled.

You may need to restart any open editors for them to read new settings.
+ flutter build apk --flavor fdroid
Downloading android-arm-profile/linux-x64 tools...                  3.6s
Downloading android-arm-release/linux-x64 tools...                  2.8s
Downloading android-arm64-profile/linux-x64 tools...                3.8s
Downloading android-arm64-release/linux-x64 tools...                3.1s
Downloading android-x64-profile/linux-x64 tools...                  2.9s
Downloading android-x64-release/linux-x64 tools...                  3.2s
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
    To generate an app bundle, run:
        flutter build appbundle --target-platform android-arm,android-arm64,android-x64
        Learn more on: https://developer.android.com/guide/app-bundle
    To split the APKs per ABI, run:
        flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
        Learn more on:  https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleFdroidRelease'...                  
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true

Checking the license for package Android SDK Build-Tools 28.0.3 in /home/alexis/Android/Sdk/licenses

License for package Android SDK Build-Tools 28.0.3 accepted.

Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".

"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready.

Installing Android SDK Build-Tools 28.0.3 in /home/alexis/Android/Sdk/build-tools/28.0.3

"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete.

"Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished.

Checking the license for package Android SDK Platform 28 in /home/alexis/Android/Sdk/licenses

License for package Android SDK Platform 28 accepted.

Preparing "Install Android SDK Platform 28 (revision: 6)".

"Install Android SDK Platform 28 (revision: 6)" ready.

Installing Android SDK Platform 28 in /home/alexis/Android/Sdk/platforms/android-28

"Install Android SDK Platform 28 (revision: 6)" complete.

"Install Android SDK Platform 28 (revision: 6)" finished.



Compiler message:

lib/Screens/defRssScreen.dart:1:8: Error: Error when reading 'lib/Screens/SettingsScreen.dart': No such file or directory

import 'package:curator/Screens/SettingsScreen.dart';

       ^

lib/Screens/defRssScreen.dart:3:8: Error: Error when reading 'lib/Screens/WebRssScreen.dart': No such file or directory

import 'package:curator/Screens/WebRssScreen.dart';

       ^

lib/Screens/defRssScreen.dart:44:15: Error: The method 'WebRssScreen' isn't defined for the class '_DefRssScreenState'.

 - '_DefRssScreenState' is from 'package:curator/Screens/defRssScreen.dart' ('lib/Screens/defRssScreen.dart').

Try correcting the name to the name of an existing method, or defining a method named 'WebRssScreen'.

              WebRssScreen(),

              ^^^^^^^^^^^^

lib/Screens/defRssScreen.dart:46:15: Error: The method 'SettingsScreen' isn't defined for the class '_DefRssScreenState'.

 - '_DefRssScreenState' is from 'package:curator/Screens/defRssScreen.dart' ('lib/Screens/defRssScreen.dart').

Try correcting the name to the name of an existing method, or defining a method named 'SettingsScreen'.

              SettingsScreen()

              ^^^^^^^^^^^^^^

Target kernel_snapshot failed: Exception: Errors during snapshot creation: null

build failed.



FAILURE: Build failed with an exception.



* Where:

Script '/home/alexis/Desktop/fdroiddata/build/srclib/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 882



* What went wrong:

Execution failed for task ':app:compileFlutterBuildFdroidRelease'.

> Process 'command '/home/alexis/Desktop/fdroiddata/build/srclib/flutter/bin/flutter'' finished with non-zero exit value 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



BUILD FAILED in 3m 5s
Running Gradle task 'assembleFdroidRelease'...                    186.8s (!)
Gradle task assembleFdroidRelease failed with exit code 1
==== detail end ====
2020-08-24 10:56:36,605 INFO: Finished
2020-08-24 10:56:36,605 INFO: 1 build failed
2020-08-24 10:56:36,607 DEBUG: skip deploying full build logs: not enabled in config

Yes, this is about your code or build steps.

Not F-Droid specific. I guess.

But it builds when I simply use flutter.

flutter build apk --flavor fdroid

How come there is an error when I do it with fdroid

Dunno, Flutter ain’t my thing.

Can you refer to someone who has deployed a flutter app on fdroid it would be a great help !!!

Just do:
grep -i flutter@ metadata/*.yml|cut -d ":" -f1|uniq
…and look around.

Finally was able to pass the pipeline.

Thanks for all the help… Highly appreciated.

I opened the merge request, so how much time will it take to be accepted?

Any other steps are needed?

I am very happy… I will now encourage my friends to make open source apps and deploy on fdroid!!

Who knows? :slight_smile:

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