Fdroidserver.exception no more details on failure

I’m trying to build my app locally and I’m getting this error. I’ve previously succeeded in building it and I’m trying currently to solve a build issue on gitlab so I can include my app in the repo.

The current error I’m getting is

Could not build app com.gitlab.uak.mobile_paper_wallet: fdroidserver.exception

Full log:

vagrant@ad1bbbbc8a60:/build$ fdroid build $name
2022-08-15 19:26:11,225 INFO: Using git version 2.11.0
2022-08-15 19:26:11,226 INFO: Building version 1.3.9 (102110309) of com.gitlab.uak.mobile_paper_wallet
2022-08-15 19:26:11,226 WARNING: Android NDK version 'r23b' could not be found!
2022-08-15 19:26:11,226 WARNING: Configured versions:
2022-08-15 19:26:11,227 ERROR: Could not build app com.gitlab.uak.mobile_paper_wallet: fdroidserver.exception
2022-08-15 19:26:11,229 INFO: Build for app com.gitlab.uak.mobile_paper_wallet:102110309 failed:
fdroidserver.exception
2022-08-15 19:26:11,229 INFO: Finished
2022-08-15 19:26:11,229 INFO: 1 build failed
vagrant@ad1bbbbc8a60:/build$ fdroid build $name
2022-08-15 19:56:04,675 INFO: Using git version 2.11.0
2022-08-15 19:56:04,676 INFO: Building version 1.3.9 (102110309) of com.gitlab.uak.mobile_paper_wallet
2022-08-15 19:56:04,676 WARNING: Android NDK version 'r23b' could not be found!
2022-08-15 19:56:04,676 WARNING: Configured versions:
2022-08-15 19:56:04,677 ERROR: Could not build app com.gitlab.uak.mobile_paper_wallet: fdroidserver.exception
2022-08-15 19:56:04,679 INFO: Build for app com.gitlab.uak.mobile_paper_wallet:102110309 failed:
fdroidserver.exception
2022-08-15 19:56:04,680 INFO: Finished
2022-08-15 19:56:04,680 INFO: 1 build failed

Could you please help me solve it

1 Like

fdroid build --verbose $name ?

created fresh zero dependency package to test with, same error on both. Not much info with verbose

vagrant@b394a19a96fb:/build$ fdroid build  --verbose com.gitlab.uak.kivy_hello_world
2022-08-15 21:53:08,811 DEBUG: Reading 'config.yml'
2022-08-15 21:53:08,838 WARNING: apksigner not found! Cannot sign or verify modern APKs
2022-08-15 21:53:08,839 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/build, universal_newlines=False, shell=None)
2022-08-15 21:53:08,843 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/build, universal_newlines=False, shell=None)
2022-08-15 21:53:08,889 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/build, universal_newlines=False, shell=None)
2022-08-15 21:53:08,977 DEBUG: Popen(['git', 'ls-files', '--modified'], cwd=/build, universal_newlines=False, shell=None)
2022-08-15 21:53:09,116 DEBUG: Popen(['git', 'status', '--porcelain', '--untracked-files'], cwd=/build, universal_newlines=False, shell=None)
2022-08-15 21:53:09,672 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/fdroidserver, universal_newlines=False, shell=None)
2022-08-15 21:53:09,676 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/home/vagrant/fdroidserver, universal_newlines=False, shell=None)
2022-08-15 21:53:09,681 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/home/vagrant/fdroidserver, universal_newlines=False, shell=None)
2022-08-15 21:53:09,692 DEBUG: Popen(['git', 'ls-files', '--modified'], cwd=/home/vagrant/fdroidserver, universal_newlines=False, shell=None)
2022-08-15 21:53:09,701 DEBUG: Popen(['git', 'status', '--porcelain', '--untracked-files'], cwd=/home/vagrant/fdroidserver, universal_newlines=False, shell=None)
2022-08-15 21:53:09,719 DEBUG: skip deploying full build logs: not enabled in config
2022-08-15 21:53:09,857 DEBUG: skip deploying full build logs: not enabled in config
2022-08-15 21:53:09,857 DEBUG: Getting git vcs interface for https://gitlab.com/uak/kivy-hello-world
2022-08-15 21:53:09,858 DEBUG: > git --version
git version 2.11.0
2022-08-15 21:53:10,061 INFO: Using git version 2.11.0
2022-08-15 21:53:10,061 DEBUG: Checking 0.1
2022-08-15 21:53:10,061 INFO: Building version 0.1 (10211) of com.gitlab.uak.kivy_hello_world
2022-08-15 21:53:10,062 WARNING: Android NDK version 'r23b' could not be found!
2022-08-15 21:53:10,062 WARNING: Configured versions:
2022-08-15 21:53:10,062 ERROR: Could not build app com.gitlab.uak.kivy_hello_world: fdroidserver.exception
2022-08-15 21:53:10,064 DEBUG: skip deploying full build logs: not enabled in config
2022-08-15 21:53:10,064 INFO: Finished
2022-08-15 21:53:10,065 INFO: 1 build failed
2022-08-15 21:53:10,065 DEBUG: skip deploying full build logs: not enabled in config
2022-08-15 21:53:10,062 WARNING: Android NDK version 'r23b' could not be found!
mkdir android-ndk
wget https://dl.google.com/android/repository/android-ndk-r23b-linux-x86_64.zip
unzip android-ndk-r23b-linux-x86_64.zip -d android-ndk/
echo "ndk_paths = { 'r23b': \"\$ANDROID_NDK\" }" >> fdroiddata/config.py
export ANDROID_NDK=~/android-ndk/android-ndk-r23b

I thought this was only a warning, in previous successful builds it showed the warning and proceeded to download the NDK

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