This is what it shuold do:
fdroid@buildserverfire:~/fdroiddata$ fdroid build --latest --no-tarball --verbose com.atr.tedit
2024-03-07 03:23:50,810 DEBUG: ipfs_cid not found, skipping CIDv1 generation
2024-03-07 03:23:50,812 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/fdroid/fdroiddata, universal_newlines=False, shell=None, istream=<valid stream>)
2024-03-07 03:23:50,817 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/home/fdroid/fdroiddata, universal_newlines=False, shell=None, istream=None)
2024-03-07 03:23:50,899 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/home/fdroid/fdroiddata, universal_newlines=False, shell=None, istream=None)
2024-03-07 03:23:51,024 DEBUG: Popen(['git', 'ls-files', '--modified'], cwd=/home/fdroid/fdroiddata, universal_newlines=False, shell=None, istream=None)
2024-03-07 03:23:51,217 DEBUG: Popen(['git', 'status', '--porcelain', '--untracked-files'], cwd=/home/fdroid/fdroiddata, universal_newlines=False, shell=None, istream=None)
2024-03-07 03:23:53,032 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/fdroid/fdroidserver, universal_newlines=False, shell=None, istream=<valid stream>)
2024-03-07 03:23:53,039 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/home/fdroid/fdroidserver, universal_newlines=False, shell=None, istream=None)
2024-03-07 03:23:53,051 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/home/fdroid/fdroidserver, universal_newlines=False, shell=None, istream=None)
2024-03-07 03:23:53,059 DEBUG: Popen(['git', 'ls-files', '--modified'], cwd=/home/fdroid/fdroidserver, universal_newlines=False, shell=None, istream=None)
2024-03-07 03:23:53,065 DEBUG: Popen(['git', 'status', '--porcelain', '--untracked-files'], cwd=/home/fdroid/fdroidserver, universal_newlines=False, shell=None, istream=None)
2024-03-07 03:23:53,112 DEBUG: skip deploying full build logs: not enabled in config
2024-03-07 03:23:53,702 DEBUG: skip deploying full build logs: not enabled in config
2024-03-07 03:23:53,703 DEBUG: Getting git vcs interface for https://github.com/ATryder/TEdit.git
2024-03-07 03:23:53,703 DEBUG: Checking com.atr.tedit:27
2024-03-07 03:23:53,704 INFO: Building version 3.0.2 (27) of com.atr.tedit
2024-03-07 03:23:53,704 INFO: Getting source for revision 3cfc28e7b2c592e5ada104bf9454536d6280b689
2024-03-07 03:23:53,705 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 clone -- https://github.com/ATryder/TEdit.git build/com.atr.tedit
Cloning into 'build/com.atr.tedit'...
2024-03-07 03:23:57,123 DEBUG: Directory: build/com.atr.tedit
2024-03-07 03:23:57,124 DEBUG: > git rev-parse --show-toplevel
2024-03-07 03:23:57,331 DEBUG: Directory: build/com.atr.tedit
2024-03-07 03:23:57,332 DEBUG: > git checkout -f 3cfc28e7b2c592e5ada104bf9454536d6280b689
2024-03-07 03:23:57,640 DEBUG: Directory: build/com.atr.tedit
2024-03-07 03:23:57,641 DEBUG: > git clean -dffx
2024-03-07 03:23:57,751 DEBUG: Directory: build/com.atr.tedit
2024-03-07 03:23:57,751 DEBUG: > git rev-parse --show-toplevel
2024-03-07 03:23:57,961 DEBUG: Directory: build/com.atr.tedit
2024-03-07 03:23:57,961 DEBUG: > git submodule deinit --all --force
2024-03-07 03:23:58,070 INFO: Creating local.properties file at build/com.atr.tedit/local.properties
2024-03-07 03:23:58,071 INFO: Creating local.properties file at build/com.atr.tedit/app/local.properties
2024-03-07 03:23:58,071 DEBUG: Removing debuggable flags from build/com.atr.tedit/app
2024-03-07 03:23:58,088 INFO: Running 'prebuild' commands in build/com.atr.tedit/app
2024-03-07 03:23:58,088 DEBUG: Directory: build/com.atr.tedit/app
2024-03-07 03:23:58,088 DEBUG: > bash -e -u -o pipefail -x -c -- sed -i -e 's/constraint-layout:1.0.0-beta3/constraint-layout:1.0.2/' build.gradle
+ sed -i -e s/constraint-layout:1.0.0-beta3/constraint-layout:1.0.2/ build.gradle
2024-03-07 03:23:58,296 INFO: Cleaning Gradle project...
2024-03-07 03:23:58,297 DEBUG: Directory: build/com.atr.tedit/app
2024-03-07 03:23:58,297 DEBUG: > /home/fdroid/fdroidserver/gradlew-fdroid clean
Found 6.5 via distributionUrl
Downloading missing gradle version 6.5
cachedir /home/fdroid/.cache/fdroidserver
/home/fdroid/.cache/fdroidserver/gradle-6.5-bin.zip: OK
Running /home/fdroid/.cache/fdroidserver/gradle/6.5/bin/gradle clean