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

[Bug]: Building termux-am hangs indefinitely #20651

Open
CloudControlPro opened this issue Jun 24, 2024 · 4 comments
Open

[Bug]: Building termux-am hangs indefinitely #20651

CloudControlPro opened this issue Jun 24, 2024 · 4 comments
Labels

Comments

@CloudControlPro
Copy link

Problem description

termux - building termux-am for arch aarch64...
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Task :app:compileReleaseJavaWithJavac
Note: /root/.termux-build/termux-am/src/app/src/main/java/com/termux/termuxam/IntentCmd.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

BUILD SUCCESSFUL in 31s
36 actionable tasks: 36 executed
<-------------> 0% WAITING
> IDLE
> IDLE

image

What steps will reproduce the bug?

./build-package.sh -a aarch64 php

What is the expected behavior?

No response

System information

termux - building termux-am for arch aarch64...
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 

> Task :app:compileReleaseJavaWithJavac
Note: /root/.termux-build/termux-am/src/app/src/main/java/com/termux/termuxam/IntentCmd.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

BUILD SUCCESSFUL in 31s
36 actionable tasks: 36 executed
<-------------> 0% WAITING
> IDLE
> IDLE
@CloudControlPro CloudControlPro added bug report Something is not working properly. untriaged labels Jun 24, 2024
@TomJo2000
Copy link
Member

This isn't an issue with the php package, but with the termux-am package by the looks of it.

@TomJo2000
Copy link
Member

Can't replicate the issue locally.
Gradle can take a pretty long time sometimes.
Please use a process monitor like htop or btop to check that it is actually stuck, and not still processing background tasks.

@TomJo2000 TomJo2000 added has build issues Package compilation fails. not reproducible / bug report and removed bug report Something is not working properly. labels Jun 24, 2024
@TomJo2000 TomJo2000 changed the title [Bug]: ./build-package.sh -a aarch64 php Indefinite suspension [Bug]: Building termux-am hangs indefinitely Jun 24, 2024
@Grimler91
Copy link
Member

Seems like you are not building in our docker image, and you have not provided any information about your environment, so pretty hard for anyone to investigate.

Please do not build as root user, there should be no reason to do so.

@TomJo2000
Copy link
Member

Not sure why I didn't catch that.
But yeah, building as root is not recommended.

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

No branches or pull requests

3 participants