Package Details: nuitka 2.5.9-3

Git Clone URL: https://aur.archlinux.org/nuitka.git (read-only, click to copy)
Package Base: nuitka
Description: Python compiler with full language support and CPython compatibility
Upstream URL: https://nuitka.net
Keywords: compiler python
Licenses: Apache-2.0
Submitter: jelly
Maintainer: txtsd
Last Packager: txtsd
Votes: 4
Popularity: 1.24
First Submitted: 2024-04-21 10:54 (UTC)
Last Updated: 2025-01-06 11:53 (UTC)

Latest Comments

1 2 Next › Last »

simona commented on 2025-01-06 13:32 (UTC) (edited on 2025-01-06 13:33 (UTC) by simona)

now solved for me

simona commented on 2025-01-06 11:54 (UTC)

sorry. changed to public.

txtsd commented on 2025-01-06 11:51 (UTC)

I will push a fix soon to test with system python only. In the meantime if you want to build without testing, you can pass --nocheck to makepkg.

@simona that paste is private btw. Please use bpa.st or similar.

simona commented on 2025-01-06 10:36 (UTC)

https://pastebin.com/wkZPPYug

actionless commented on 2025-01-06 10:33 (UTC)

@simona, i have the same last line in the error i posted, but it's not possible to tell from just one line if it's the same issue or a different one

simona commented on 2025-01-06 10:32 (UTC) (edited on 2025-01-06 10:33 (UTC) by simona)

the error I have to install with yay.

actionless commented on 2025-01-06 10:27 (UTC)

@simona ?

simona commented on 2025-01-06 10:11 (UTC)

+FATAL: Error, usable static libpython is not found for this Python installation. You might be missing required packages. Disable with --static-libpython=no" if you don't want to install it.
Updating CPython cache by force due to non-matching comparison results.

actionless commented on 2025-01-06 09:40 (UTC)

if manually editing tests/run-tests file and adding:

print(sys.version_info)

i am getting:

$ ./run-tests
sys.version_info(major=3, minor=13, micro=1, releaselevel='final', serial=0)
Cannot execute tests with Python 2.6, disabled or not installed.
Executing test case called 'python2.7-debug' with CPython 'python2.7' and extra flags '--debug'.
Running the basic tests with options '--debug' with 'python2.7':
Run '/usr/sbin/python ./tests/basics/run_all.py search' in '/home/lie/.cache/pikaur/build/nuitka/src/Nuitka-2.5.9'.
Using concrete python 2.7.18 on x86_64
Comparing output of 'AssertsTest.py' using '/usr/sbin/python2.7' with flags silent, expect_success, remove_output, --nofollow-im
ports, --file-reference-choice=original, cpython_cache, timing, plugin_enable:pylint-warnings ...
--- /usr/sbin/python2.7 (stdout)
+++ nuitka (stdout)
<....>

so idk whatever this an upstream nuitka issue then?

actionless commented on 2025-01-06 09:33 (UTC) (edited on 2025-01-06 09:50 (UTC) by actionless)

one of the tests is failing because it's trying to use python2

just to be clear:

$ pacman -Qo /usr/bin/python
/usr/bin/python is owned by python 3.13.1-1

so i have no clue so far why it's trying to pick up python2:

<...>
Nuitka-Scons: Cached C files (using ccache) with result 'cache hit': 4
Nuitka-Scons: Cached C files (using ccache) with result 'cache miss': 2
Nuitka: Keeping build directory 'main.build'.
Nuitka: Successfully created 'main'.
[x] Can compile main.py to an executable.
[x] Can run the resulting executable.
Cannot execute tests with Python 2.6, disabled or not installed.
Executing test case called 'python2.7-debug' with CPython 'python2.7' and extra flags '--debug'.
Running the basic tests with options '--debug' with 'python2.7':
Run '/usr/bin/python ./tests/basics/run_all.py search' in '/home/lie/.cache/pikaur/build/nuitka/src/Nuitka-2.5.9'.
Using concrete python 2.7.18 on x86_64
Comparing output of 'AssertsTest.py' using '/usr/bin/python2.7' with flags silent, expect_success, remove_output, --nofollow-imports, --file-reference-choice=original, cpython_cache, timing, plugin_enable:pylint-warnings ...
--- /usr/bin/python2.7 (stdout)
+++ nuitka (stdout)

@@ -1,8 +0,0 @@

-Function that will assert.
-Raised <type 'exceptions.AssertionError'>
-Function that will not assert.
-No exception.
-Function that will assert with argument.
-Raised <type 'exceptions.AssertionError'> argument
-Assertion with tuple argument.(3,)
-Assertion with plain argument.3
--- /usr/bin/python2.7 (stderr)
+++ nuitka (stderr)

@@ -0,0 +1 @@

+FATAL: Error, usable static libpython is not found for this Python installation. You might be missing required packages. Disable with --static-libpython=no"
if you don't want to install it.
Updating CPython cache by force due to non-matching comparison results.
--- /usr/bin/python2.7 (stdout)
+++ nuitka (stdout)

@@ -1,8 +0,0 @@

-Function that will assert.
-Raised <type 'exceptions.AssertionError'>
-Function that will not assert.
-No exception.
-Function that will assert with argument.
-Raised <type 'exceptions.AssertionError'> argument
-Assertion with tuple argument.(3,)
-Assertion with plain argument.3
--- /usr/bin/python2.7 (stderr)
+++ nuitka (stderr)

@@ -0,0 +1 @@

+FATAL: Error, usable static libpython is not found for this Python installation. You might be missing required packages. Disable with --static-libpython=no"
if you don't want to install it.
Exit codes 0 (CPython) != 1 (Nuitka)
Error, results differed (stdout,stderr,exit_code).
Error exit! 1
==> ERROR: A failure occurred in check().
    Aborting...