Package: libpython3.12-dev
Version: 3.12.4-1
Severity: normal
X-Debbugs-Cc: antde...@gmail.com

Dear Maintainer,
if I try to compile a simple test file with "nuitka":
        print("TEST")

these errors return:
        /bin/ld: /usr/lib/python3.12/config-3.12-x86_64-linux-
gnu/libpython3.12-pic.a(sha2module.o): in function
`SHA512Type_hexdigest':(.text+0x2ac): undefined reference to
`python_hashlib_Hacl_Hash_SHA2_digest_512'
        /bin/ld: /usr/lib/python3.12/config-3.12-x86_64-linux-
gnu/libpython3.12-pic.a(sha2module.o): in function
`SHA512_dealloc':(.text+0x3c2): undefined reference to
`python_hashlib_Hacl_Hash_SHA2_free_512'
        /bin/ld: /usr/lib/python3.12/config-3.12-x86_64-linux-
gnu/libpython3.12-pic.a(sha2module.o): in function
`SHA256Type_hexdigest':(.text+0x45c): undefined reference to
`python_hashlib_Hacl_Hash_SHA2_digest_256'
        /bin/ld: /usr/lib/python3.12/config-3.12-x86_64-linux-
gnu/libpython3.12-pic.a(sha2module.o): in function
`SHA256Type_digest':(.text+0x4fc): undefined reference to
`python_hashlib_Hacl_Hash_SHA2_digest_256'
        ...
        linux-gnu/libpython3.12-pic.a(sha2module.o): in function
`SHA512Type_update':(.text+0x8af): undefined reference to
`python_hashlib_Hacl_Hash_SHA2_update_512'/bin/ld: (.text+0x8c4): undefined
reference to `python_hashlib_Hacl_Hash_SHA2_update_512'/bin/ld: (.text+0x924):
undefined reference to `python_hashlib_Hacl_Hash_SHA2_update_512'/bin/ld:
(.text+0x9ef): undefined reference to
`python_hashlib_Hacl_Hash_SHA2_update_512'/bin/ld:
/usr/lib/python3.12/config-3.12-x86_64-linux-gnu/
        ...
        libpython3.12-pic.a(sha2module.o): in function
`_sha2_sha384':(.text+0x1818): undefined reference to
`python_hashlib_Hacl_Hash_SHA2_malloc_384'/bin/ld: (.text+0x1851): undefined
reference to `python_hashlib_Hacl_Hash_SHA2_update_512'/bin/ld: (.text+0x18b6):
undefined reference to `python_hashlib_Hacl_Hash_SHA2_malloc_384'/bin/ld:
(.text+0x1977): undefined reference to
`python_hashlib_Hacl_Hash_SHA2_update_512'/bin/ld: (.text+0x1996): undefined
reference to `python_hashlib_Hacl_Hash_SHA2_update_512'collect2: error: ld
returned 1 exit status

while with the previous version of python 3.11 everything was fine: the problem
is in nuitka, or in the new python version?

I tested on Debian/sid, with "nuitka" 2.3.10 installed with "pipx" 1.6.0-1 (gcc
4:13.2.0-7).

command launched internally by scons:
        gcc -o "/home/test/test.bin" -flto=24 -fuse-linker-plugin -fpartial-
inlining -freorder-functions -O2 -s -z noexecstack -Xlinker -export-dynamic
-rdynamic -Wl,-R,'/usr/lib' -Wl,--disable-new-dtags -Wl,-b -Wl,binary
-Wl,./__constants.bin -Wl,-b -Wl,elf64-x86-64 -Wl,-defsym
-Wl,constant_bin_data=_binary_____constants_bin_start @"./@link_input.txt"
-L/usr/lib -ldl -lm "/usr/lib/python3.12/config-3.12-x86_64-linux-
gnu/libpython3.12-pic.a" -lz -lm -lutil -lpthread -lexpat

Thanks,
Antonio


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (520, 'stable-security'), (500, 
'stable-updates'), (500, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.6-1-liquorix-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libpython3.12-dev depends on:
ii  libexpat1-dev         2.6.2-1
ii  libpython3.12-stdlib  3.12.4-1
ii  libpython3.12t64      3.12.4-1
ii  zlib1g-dev            1:1.3.dfsg+really1.3.1-1

Versions of packages libpython3.12-dev recommends:
ii  libc6-dev [libc-dev]  2.38-13

libpython3.12-dev suggests no packages.

-- no debconf information

Reply via email to