Bug#1119761: pmix: FTBFS: Cython.Compiler.Errors.CompileError: /<<PKGBUILDDIR>>/debian/static-build/bindings/python/pmix.pyx

Santiago Vila sanvila at debian.org
Fri Oct 31 11:29:16 GMT 2025


Package: src:pmix
Version: 6.0.0+really5.0.8-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pmix, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
/usr/bin/python3 ../../../../bindings/python/construct.py --src="../../include" --include-dir="../../../../include"
make  all-am
make[5]: Entering directory '/<<PKGBUILDDIR>>/debian/static-build/bindings/python'
PMIX_BINDINGS_TOP_SRCDIR=/<<PKGBUILDDIR>> PMIX_BINDINGS_TOP_BUILDDIR=/<<PKGBUILDDIR>>/debian/static-build \
	/usr/bin/python3 ../../../../bindings/python/setup.py build_ext --library-dirs="/<<PKGBUILDDIR>>/debian/static-build/src/.libs" --user
performance hint: pmix.pyx:2730:0: Exception check on 'toolconnected' will always require the GIL to be acquired.
Possible solutions:
	1. Declare 'toolconnected' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
	2. Use an 'int' return type on 'toolconnected' to allow an error code to be returned.
performance hint: pmix.pyx:2767:0: Exception check on 'log' will always require the GIL to be acquired.
Possible solutions:
	1. Declare 'log' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
	2. Use an 'int' return type on 'log' to allow an error code to be returned.

Error compiling Cython file:
------------------------------------------------------------
...
    else:
        print("Unrecognized boolean value type provided")

    return int_bool

pmix_int_types = (int, long)
                       ^
------------------------------------------------------------

pmix.pxi:875:23: undeclared name not builtin: long
Compiling /<<PKGBUILDDIR>>/debian/static-build/bindings/python/pmix.pyx because it changed.
[1/1] Cythonizing /<<PKGBUILDDIR>>/debian/static-build/bindings/python/pmix.pyx
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/debian/static-build/bindings/python/../../../../bindings/python/setup.py", line 135, in <module>
    sys.exit(main())
             ~~~~^^
  File "/<<PKGBUILDDIR>>/debian/static-build/bindings/python/../../../../bindings/python/setup.py", line 129, in main
    package_setup(package_name, package_vers)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/debian/static-build/bindings/python/../../../../bindings/python/setup.py", line 114, in package_setup
    ext_modules = cythonize([Extension("pmix",
                  ~~~~~~~~~^^^^^^^^^^^^^^^^^^^
                                       [src_filename],
                                       ^^^^^^^^^^^^^^^
                                       libraries=["pmix"],
                                       ^^^^^^^^^^^^^^^^^^^
                                       depends=[], )],
                                       ^^^^^^^^^^^^^^^
                            compiler_directives={'language_level': 3}),
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1150, in cythonize
    cythonize_one(*args)
    ~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1294, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: /<<PKGBUILDDIR>>/debian/static-build/bindings/python/pmix.pyx
make[5]: *** [Makefile:819: pmix.c] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/static-build/bindings/python'
make[4]: *** [Makefile:579: all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/static-build/bindings/python'
make[3]: *** [Makefile:633: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/static-build/bindings'
make[2]: *** [Makefile:795: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/static-build'
dh_auto_build: error: cd debian/static-build && make -j2 returned exit code 2
make[1]: *** [debian/rules:78: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the debian-science-maintainers mailing list