termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
36.08k stars 3.78k forks source link

Current version not available in F-Droid #1504

Closed Krawei closed 4 years ago

Krawei commented 4 years ago

Dear team,

when I take a look on google play store the current version is 0.94.94, in the F-Droid store the current version is 0.92.92.

What's the reason for this gap? Is there a bug in the build process?

Please fix this.

Kind Regards,

Krawei

Grimler91 commented 4 years ago

Seems to be a problem with the fdroid buildbot, discussed in https://github.com/termux/termux-app/issues/1499.

Hard for us to fix since it is not our build process.

ghost commented 4 years ago

Is there a bug in the build process?

This is a problem of F-Droid which does builds on its own. Just incorrect setup of its build bot.

== Installed Android Tools ==

INFO: Creating log directory
INFO: Creating temporary directory
INFO: Creating output directory
INFO: Using git version 2.11.0
INFO: Building version 0.94 (94) of com.termux
INFO: Getting source for revision v0.94
INFO: Creating local.properties file at build/com.termux/local.properties
INFO: Creating local.properties file at build/com.termux/app/local.properties
INFO: Cleaned build.gradle of keysigning configs at build/com.termux/app/build.gradle
INFO: Cleaning Gradle project...
ERROR: Could not build app com.termux: Error cleaning com.termux:0.94
==== detail begin ====
Found 6.2.2 via distributionUrl
Running /opt/gradle/versions/6.2.2/bin/gradle clean

Welcome to Gradle 6.2.2!

Here are the highlights of this release:
 - Dependency checksum and signature verification
 - Shareable read-only dependency cache
 - Documentation links in deprecation messages

For more details see https://docs.gradle.org/6.2.2/release-notes.html

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.2.2/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :app
WARNING: Support for ANDROID_NDK_HOME is deprecated and will be removed in the future. Use android.ndkVersion in build.gradle instead.
Support for ANDROID_NDK_HOME is deprecated and will be removed in the future. Use android.ndkVersion in build.gradle instead.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Requested NDK version 21.0.6113669 did not match the version 12.1.2977051 requested by ndk.dir at /home/vagrant/android-ndk/r12b

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 31s
==== detail end ====

IDK why F-Droid tries to build Termux app with NDK 12.1.2977051...

ghost commented 4 years ago

There no any issues on our end.

angelog0 commented 4 years ago

OK, is there a way to uninstall Termux saving the pakages installed and config. etc. so that one can reinstall Termux from another store witout reinstalling and reconfiguring all?

BTW, there are also other apps installed from F-Droid in the same condition of Termux...

ghost commented 4 years ago

so that one can reinstall Termux from another store witout reinstalling and reconfiguring all?

No, stuff in /data/data/com.termux is being wiped automatically by Android OS and there no way to prevent that (and shouldn't be for space usage optimization).