Nuitka: Android: Creating compression onefile payload got killed
Before submitting an Issue, please review the Issue Guidelines.
-
Please check whether the bug was already reported or fixed.
-
Please check out if the develop version of Nuitka works better for you.
-
Nuitka version, full Python version, flavor, OS, etc. as output by this command.
python -m nuitka --version
The latest nuitka and python 3.11, i’m using linux termux:
1.7.5 Commercial: None Python: 3.11.4 (main, Jul 2 2023, 11:17:16) [Clang 14.0.7 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0 Flavor: Android Termux Executable: /data/data/com.termux/files/usr/bin/python3.11 OS: Linux Arch: armv7l Distribution: Android None Version C compiler: /data/data/com.termux/files/usr/bin/gcc (gcc).
If you are not providing the full output. The issue cannot be solved and will
be considered invalid. It does more than you think, and we are adding more
all the time. We do not want to left guessing or trying things out to
reproduce your issue.
This is my output
Nuitka-Options:INFO: Used command line options: test.py --onefile --low-memory
Nuitka:INFO: Starting Python compilation with Nuitka '1.7.5' on Python '3.11' commercial grade 'not installed'.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating source code for C backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C compilation via Scons.
Nuitka-Scons:INFO: Backend C compiler: gcc (gcc).
Nuitka-Scons:INFO: Backend linking program with 7 files (no progress information available for this stage).
Nuitka-Scons:INFO: Compiled 6 C files using ccache.
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache miss': 6
Nuitka-Postprocessing:INFO: Creating single file from dist folder, this may take a while.
Nuitka-Onefile:INFO: Running bootstrap binary compilation via Scons.
Nuitka-Scons:INFO: Onefile C compiler: gcc (gcc).
Nuitka-Scons:INFO: Onefile linking program with 1 files (no progress information available for this stage).
Nuitka-Scons:INFO: Compiled 1 C files using ccache.
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache miss': 1
Nuitka-Onefile:INFO: Using compression for onefile payload.
Onefile Payload: 0.0%| | 0/38, test.binKilled
-
How did you install Nuitka and Python
Did you use pip, anaconda, deb, rpm, from source, git clone, then install into a virtualenv or not, this is very important usually and one thing, the above command does not tell us (yet).
I used pip install nuitka.
-
The specific PyPI names and versions
It should be taken from this output if there specific packages involved, e.g.
numpy, you are expected to shorten this to the relevant ones.python -m pip freeze
-
Many times when you get an error from Nuitka, your setup may be special
Then even a
print("hello world")program will not work, please try that and report that error instead. We do not need a report that says “Tensorflow does not work” when nothing actually works for you. You ought to also read the User Manual and check that your setup is actually supported already.
I get the error everytime i’m trying with an empty python file.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 29 (29 by maintainers)
Thanks for the pleasant help, i gonna make the pull request