MidnightBSD Magus

archivers/py-lzma

Python binding for the LZMA compression library

Flavor Version Run OSVersion Arch License Restricted Status
py311 0.5.0 621 4.0 amd64 lgpl2.1 0 fail

License Permissions:

Events

Machine Type Time Message
m4064b info 2025-12-04 11:35:57.772639 Test Started
m4064b fail 2025-12-04 11:36:22.756682 make build returned non-zero: 1
m4064b fail 2025-12-04 11:36:22.819862 Test complete.

Log

===>  Building for py311-lzma-0.5.0
ez_setup.py is deprecated and when using it setuptools will be pinned to 33.1.1 since it's the last version that supports setuptools self upgrade/installation, check https://github.com/pypa/setuptools/issues/581 for more info; use pip to install setuptools
running build
running build_py
creating build
creating build/lib.midnightbsd-4.0-amd64-cpython-311
copying py7zlib.py -> build/lib.midnightbsd-4.0-amd64-cpython-311
running build_ext
setup.py:102: UnsupportedPlatformWarning: Multithreading is not supported on the platform "midnightbsd4",
please contact mail@joachim-bauch.de for more informations.
  warn("""\
building 'pylzma' extension
creating build/temp.midnightbsd-4.0-amd64-cpython-311
creating build/temp.midnightbsd-4.0-amd64-cpython-311/src
creating build/temp.midnightbsd-4.0-amd64-cpython-311/src/compat
creating build/temp.midnightbsd-4.0-amd64-cpython-311/src/pylzma
creating build/temp.midnightbsd-4.0-amd64-cpython-311/src/sdk
creating build/temp.midnightbsd-4.0-amd64-cpython-311/src/sdk/C
cc -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/usr/local/include/python3.11 -c src/compat/LzmaCompatDecode.c -o build/temp.midnightbsd-4.0-amd64-cpython-311/src/compat/LzmaCompatDecode.o
cc -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/usr/local/include/python3.11 -c src/pylzma/pylzma.c -o build/temp.midnightbsd-4.0-amd64-cpython-311/src/pylzma/pylzma.o
src/pylzma/pylzma.c:296:5: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
  296 |     PyEval_InitThreads();
      |     ^
/usr/local/include/python3.11/ceval.h:132:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here
  132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      | ^
/usr/local/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  336 | #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
      |                                                      ^
1 warning generated.
cc -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/usr/local/include/python3.11 -c src/pylzma/pylzma_aes.c -o build/temp.midnightbsd-4.0-amd64-cpython-311/src/pylzma/pylzma_aes.o
src/pylzma/pylzma_aes.c:158:5: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion]
  158 |     NULL,                                /* printfunc  tp_print;   */
      |     ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
   32 | #define NULL    ((void *)0)
      |                 ^~~~~~~~~~~
1 error generated.
error: command '/usr/bin/cc' failed with exit code 1
*** Error code 1

Stop.
make: stopped in /usr/mports/archivers/py-lzma

Links

Depends On

Depend Of

Categories

CVEs

  • Loading CVE information...

LLM Analysis