Fatal: repository '...' does not exist

I just installed fdroidserver and android-sdk packages from Ubuntu repositories and now I’am trying to build an app from source obtained from F-Droid site. But right after fdroid build, I get an error “fatal: repository ‘…’ does not exist”. I followed instructions from docs Building Applications#Running fdroid build in your app’s source, downloaded and unpacked .tar.gz archive, and then put corresponding metadata to .fdroid.yml file in the current working directory. What’s missed yet? Can I build it without Git?

mymedia@barberry:~/код/андроид/org.sufficientlysecure.keychain_55000_src.tar.gz$ LANGUAGE=en ANDROID_HOME=/usr/lib/android-sdk fdroid build
WARNING: No 'config.py' found, using defaults.
INFO: Creating log directory
INFO: Creating temporary directory
INFO: Creating output directory
INFO: Creating build directory
INFO: Using git version 2.25.1
INFO: Building version 5.5 (55000) of org.sufficientlysecure.keychain
INFO: Getting source for revision v5.5
ERROR: VCS error while building app org.sufficientlysecure.keychain: Git clone failed
==== detail begin ====
fatal: repository '/home/mymedia/код/андроид/org.sufficientlysecure.keychain_55000_src.tar.gz' does not exist
==== detail end ====
INFO: Build for app org.sufficientlysecure.keychain failed:
Git clone failed
==== detail begin ====
fatal: repository '/home/mymedia/код/андроид/org.sufficientlysecure.keychain_55000_src.tar.gz' does not exist
==== detail end ====
INFO: Finished
INFO: 1 build failed

it seems to me it expects an url to online repo

In the src tar the .git directory is missing so fdroidserver can’t checkout the tags.
I don’t think fdroidserver is able to build from the source tar.
Why not use git?
If you clone the repo and the submodules with
git clone --recurse-submodules https://github.com/open-keychain/open-keychain.git and put the .fdroid.yml in the repo it should work fine.

Keep in mind that the repo versions are older, please clone fdroiddata and fdroidserver (uninstall fdroidserver from repo BUT KEEP DEPS) and run fdroidserver/fdroid instead.

I thought “source code” that published on f-droid.org, is “the preferred form of the work for making modifications to it”, as the license of OpenKeychain says. Why else is it there? Is there really no way to build the app using that archive? Is it so useless?

@Licaon_Kter, version 1.1.6 released less than year ago, is currently available in Ubuntu 20.04. You call it old? Is something important missing in the latest version? I found version 1.1.9 that has some sort of fixes. I believe it’s better to backport them into current stable Ubuntu release. This way they would be delivered to wider range of users. As for me, I’m personally not fan to install software from all over the Internet :slight_smile:

Wait, your first assumption is false.

The source code of the app is there but we don’t work with it like that, fdroiddata as a whole is something else, and needed too.

We need more maintainers, yes, use HEAD from Gitlab for fdroidserver (as said above)

The yml has the info, fdroidserver uses git to get the sourcecode

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