Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build instructions #10

Open
agowa opened this issue Feb 6, 2024 · 0 comments
Open

Build instructions #10

agowa opened this issue Feb 6, 2024 · 0 comments

Comments

@agowa
Copy link

agowa commented Feb 6, 2024

Hi, could you please add build instructions to this repository? Especially what versions of the dependencies and gradle you used.
When I try to compile this on Arch Linux it fails with an Gradle incompatibility error.

# gradle build --warning-mode all
Configuring project ':pubkeyGenerator' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/pubkeyGenerator' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP:client' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP/client' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP:client:Android:Studio:freeRDPCore' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP/client/Android/Studio/freeRDPCore' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':terminal-emulator' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/termux-app/terminal-emulator' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':terminal-view' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/termux-app/terminal-view' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':terminal-app' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/termux-app/app' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP:client:Android' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP/client/Android' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':UserLAndLibrary' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/app' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':bVNC' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/bVNC' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP:client:Android:Studio' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP/client/Android/Studio' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory

> Configure project :
Build file '/mnt/GIMP/build.gradle': line 16
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 9.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_6.html#jcenter_deprecation
        at build_1kpyu37dpdnx659z9fg9xsflg$_run_closure1$_closure3.doCall$original(/mnt/GIMP/build.gradle:16)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_1kpyu37dpdnx659z9fg9xsflg$_run_closure1.doCall$original(/mnt/GIMP/build.gradle:14)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/mnt/GIMP/build.gradle': line 30
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 9.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_6.html#jcenter_deprecation
        at build_1kpyu37dpdnx659z9fg9xsflg$_run_closure1$_closure3.doCall$original(/mnt/GIMP/build.gradle:30)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_1kpyu37dpdnx659z9fg9xsflg$_run_closure1.doCall$original(/mnt/GIMP/build.gradle:28)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

> Configure project :app
The org.gradle.util.WrapUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_7.html#org_gradle_util_reports_deprecations
The Project.getConvention() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_access_to_conventions
The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_access_to_conventions
The org.gradle.api.plugins.BasePluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#base_convention_deprecation
The BasePluginExtension.archivesBaseName property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the archivesName property instead. For more information, please refer to https://docs.gradle.org/8.6/dsl/org.gradle.api.plugins.BasePluginExtension.html#org.gradle.api.plugins.BasePluginExtension:archivesName in the Gradle documentation.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':CustomLibrary'.
> Failed to notify project evaluation listener.
   > org/gradle/api/plugins/MavenPlugin

* 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.

BUILD FAILED in 2s

Edit: It appears the above was because the gradle build script doesn't itself initialize missing git submodules. After running git submodule update --init --remote --recursive it is now failing with this:

# gradle build --warning-mode all
Configuring project ':remoteClientLib:jni:libs:deps' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP:client' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP/client' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP:client:Android:Studio:freeRDPCore' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP/client/Android/Studio/freeRDPCore' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP:client:Android' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP/client/Android' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory
Configuring project ':remoteClientLib:jni:libs:deps:FreeRDP:client:Android:Studio' without an existing directory is deprecated. The configured projectDirectory '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP/client/Android/Studio' does not exist, can't be written to or is not a directory. This behavior has been deprecated. This will fail with an error in Gradle 9.0. Make sure the project directory exists and can be written. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_missing_project_directory

> Configure project :
Build file '/mnt/GIMP/build.gradle': line 16
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 9.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_6.html#jcenter_deprecation
        at build_1kpyu37dpdnx659z9fg9xsflg$_run_closure1$_closure3.doCall$original(/mnt/GIMP/build.gradle:16)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_1kpyu37dpdnx659z9fg9xsflg$_run_closure1.doCall$original(/mnt/GIMP/build.gradle:14)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
Build file '/mnt/GIMP/build.gradle': line 30
The RepositoryHandler.jcenter() method has been deprecated. This is scheduled to be removed in Gradle 9.0. JFrog announced JCenter's sunset in February 2021. Use mavenCentral() instead. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_6.html#jcenter_deprecation
        at build_1kpyu37dpdnx659z9fg9xsflg$_run_closure1$_closure3.doCall$original(/mnt/GIMP/build.gradle:30)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
        at build_1kpyu37dpdnx659z9fg9xsflg$_run_closure1.doCall$original(/mnt/GIMP/build.gradle:28)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

> Configure project :app
The org.gradle.util.WrapUtil type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_7.html#org_gradle_util_reports_deprecations
The Project.getConvention() method has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_access_to_conventions
The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#deprecated_access_to_conventions
The org.gradle.api.plugins.BasePluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.6/userguide/upgrading_version_8.html#base_convention_deprecation
The BasePluginExtension.archivesBaseName property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the archivesName property instead. For more information, please refer to https://docs.gradle.org/8.6/dsl/org.gradle.api.plugins.BasePluginExtension.html#org.gradle.api.plugins.BasePluginExtension:archivesName in the Gradle documentation.

FAILURE: Build failed with an exception.

* Where:
Build file '/mnt/GIMP/UserLAndLibrary/remote-desktop-clients/bVNC/build.gradle' line: 35

* What went wrong:
A problem occurred evaluating project ':bVNC'.
> Project with path ':freeRDPCore' could not be found in project ':bVNC'.

* 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.

BUILD FAILED in 3s

Edit2: The gradle build appears to try to do something within /mnt/GIMP/UserLAndLibrary/remote-desktop-clients/remoteClientLib/jni/libs/deps/FreeRDP/client but the folder "deps" and everything within it doesn't exist.

Edit3: Also it looks like one dependency has vanished (or was never released publicly?), when I try to execute the build-deps.sh file within the parent directory of that missing deps folder it tries to download https://github.com/freedesktop/spice-usbredir/archive/usbredir-0.8.0.tar.gz, however that github page lists 0.7 as the last version. And trying to download it using that URL also only returns a 404 Not Found. (I suppose this needs to be updated to point towards the actual source and not the unofficial mirror? https://gitlab.freedesktop.org/spice/usbredir)?

Edit4: Using the integrated gradlew also doesn't work:

# ./gradlew build --warning-mode all
Downloading https://services.gradle.org/distributions/gradle-6.7.1-bin.zip
..................................................................................................
Unzipping /root/.gradle/wrapper/dists/gradle-6.7.1-bin/bwlcbys1h7rz3272sye1xwiv6/gradle-6.7.1-bin.zip to /root/.gradle/wrapper/dists/gradle-6.7.1-bin/bwlcbys1h7rz3272sye1xwiv6
Set executable permissions for: /root/.gradle/wrapper/dists/gradle-6.7.1-bin/bwlcbys1h7rz3272sye1xwiv6/gradle-6.7.1/bin/gradle

Welcome to Gradle 6.7.1!

Here are the highlights of this release:
 - File system watching is ready for production use
 - Declare the version of Java your build requires
 - Java 15 support

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

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file '/mnt/GIMP/settings.gradle' (/root/.gradle/caches/6.7.1/scripts/5alwezlne1vov3ozpqopm24t3).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

* 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

BUILD FAILED in 14s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant