F-Droid fails to build
https://f-droid.org/wiki/index.php?title=io.github.muntashirakon.AppManager/lastbuild_375&oldid=284341
VCS error? You have to remove the existing repo and clone it again or deinit the toybox module and remove the .git/modules/toybox directory and then update the submodules.
It's a clean VM, there is no existing repo to remove before the cloning is done.
It's a clean VM, there is no existing repo to remove before the cloning is done.
Not sure what happened, then. Github builds it without any issues. The git version (2.11.x) is outdated though.
I don't know if it's related but Fdroid does not have the new 2.5.20 version and the apk does not want to install on my Galaxy S10.
I don't know if it's related but Fdroid does not have the new 2.5.20 version and the apk does not want to install on my Galaxy S10.
You have to wait until F-Droid publishes the new release as it has a different signature.
@licaon-kter Can you re-try with an updated git (2.11.0 is released 4 years ago)? I've tried it 2.24.3 (macOS) and 2.29.2 (Linux). Both worked fine.
We can install from backports a newer version I guess.
We can install from backports a newer version I guess.
How can we do that?
Tested with same git version in fdroid build ci image, and everything works. So it's probably not due to the version of git
Tested with same git version in fdroid build ci image, and everything works. So it's probably not due to the version of git
Interesting. Since git is failing to create submodules, I thought it must be an issue with git or VCS. Toybox submodule was located at toybox but later moved to toybox/toybox, so git shouldn't complain if only the specific tag was cloned from scratch.
Could you share the build script or make a PR so that it can run when new tags are created, preferably using GitHub actions?
Tested with same git version in fdroid build ci image, and everything works. So it's probably not due to the version of git
Interesting. Since git is failing to create submodules, I thought it must be an issue with git or VCS. Toybox submodule was located at
toyboxbut later moved totoybox/toybox, so git shouldn't complain if only the specific tag was cloned from scratch.Could you share the build script or make a PR so that it can run when new tags are created, preferably using GitHub actions?
What I did was exactly the fdroid build job in https://gitlab.com/fdroid/fdroiddata/-/blob/master/.gitlab-ci.yml minus doing the system upgrade.
To make it even easier and more intuitive, I triggered a build: https://gitlab.com/proletarius101/fdroiddata/-/jobs/933060759
It fails to build due to missing ndks. But at least it shows it can be cloned by git 2.11.0
Any update on this?
Maybe that's because it scandeletes toybox rather than toybox/toybox? You move the submodule after 2.5.17 which is the last build that can be successfully built.
@licaon-kter Can you verify that? It's not reproducable in Docker containers, so I can't say it for sure. But I would love to make such PR to give it a try. Of course the best option is you may try it on the server directly.
@licaon-kter Again, any updates? I'd love to help if there's anything I can do :)
It's almost 20 days since the issue was opened and almost 25 days since the release. Please do something on this. F-Droid users are eagerly waiting for the release.
Let's see: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/8116
https://f-droid.org/wiki/index.php?title=io.github.muntashirakon.AppManager/lastbuild_375&oldid=285631 :(