MidnightBSD Magus

devel/py-cython-test-exception-raiser

Trivial extension that just raises an exception

Flavor Version Run OSVersion Arch License Restricted Build Fetch Test Scan
py312 26.4.1 652 4.1 i386 mit 0 fail pass untested untested Reset Port

License Permissions: dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

Events

Machine Phase Type Time Message
m4132 fetch info 2026-11-04 09:55:12.461846 Fetch Started
m4132 fetch pass 2026-11-04 09:55:14.878028 Fetch complete.
m4132 build info 2026-11-05 11:06:37.500829 Build Started
m4132 build fail 2026-11-05 11:07:07.572536 make build returned non-zero: 1
m4132 build fail 2026-11-05 11:07:07.654657 Build complete.

Build Log

===>  Building for py312-cython-test-exception-raiser-26.4.1
* Getting build dependencies for wheel...
Compiling cython_test_exception_raiser/raiser.pyx because it changed.
[1/1] Cythonizing cython_test_exception_raiser/raiser.pyx
running egg_info
writing cython_test_exception_raiser.egg-info/PKG-INFO
writing dependency_links to cython_test_exception_raiser.egg-info/dependency_links.txt
writing top-level names to cython_test_exception_raiser.egg-info/top_level.txt
reading manifest file 'cython_test_exception_raiser.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'cython_test_exception_raiser.egg-info/SOURCES.txt'
* Building wheel...
/usr/local/lib/python3.12/site-packages/wheel/bdist_wheel.py:4: FutureWarning: The 'wheel' package is no longer the canonical location of the 'bdist_wheel' command, and will be removed in a future release. Please update to setuptools v70.1 or later which contains an integrated version of this command.
  warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib.midnightbsd-4.1-i386-cpython-312
creating build/lib.midnightbsd-4.1-i386-cpython-312/cython_test_exception_raiser
copying cython_test_exception_raiser/__init__.py -> build/lib.midnightbsd-4.1-i386-cpython-312/cython_test_exception_raiser
running build_ext
building 'cython_test_exception_raiser.raiser' extension
creating build/temp.midnightbsd-4.1-i386-cpython-312
creating build/temp.midnightbsd-4.1-i386-cpython-312/cython_test_exception_raiser
cc -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPy_LIMITED_API=50855936 -I/usr/local/include/python3.12 -c cython_test_exception_raiser/raiser.c -o build/temp.midnightbsd-4.1-i386-cpython-312/cython_test_exception_raiser/raiser.o
cython_test_exception_raiser/raiser.c:88:8: error: "Cython 3.3 requires the Python Limited API version to be 3.9 or greater."
   88 |       #error "Cython 3.3 requires the Python Limited API version to be 3.9 or greater."
      |        ^
cython_test_exception_raiser/raiser.c:2838:54: warning: call to undeclared function 'PyInterpreterState_Get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 2838 |     PY_INT64_T current_id = PyInterpreterState_GetID(PyInterpreterState_Get());
      |                                                      ^
cython_test_exception_raiser/raiser.c:2838:54: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'PyInterpreterState *' (aka 'struct _is *') [-Wint-conversion]
 2838 |     PY_INT64_T current_id = PyInterpreterState_GetID(PyInterpreterState_Get());
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/python3.12/pystate.h:36:66: note: passing argument to parameter here
   36 | PyAPI_FUNC(int64_t) PyInterpreterState_GetID(PyInterpreterState *);
      |                                                                  ^
1 warning and 2 errors generated.
error: command '/usr/bin/cc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make: stopped in /usr/mports/devel/py-cython-test-exception-raiser

Links

Depends On

Depend Of

Categories

CVEs

  • Loading CVE information...

LLM Analysis