[Debian-pan-maintainers] Bug#1119784: xraylib: FTBFS: python/xraylib_wrap.c:23738:3: error: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion]
Santiago Vila
sanvila at debian.org
Fri Oct 31 11:30:00 GMT 2025
Package: src:xraylib
Version: 4.0.0+dfsg1-8
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:xraylib, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
[93/131] cc -Ipython/_xraylib.cpython-313-x86_64-linux-gnu.s [too-long-redacted] ap.c.o -c python/xraylib_wrap.c
FAILED: python/_xraylib.cpython-313-x86_64-linux-gnu.so.p/meson-generated_.._xraylib_wrap.c.o
cc -Ipython/_xraylib.cpython-313-x86_64-linux-gnu.so.p -Ipyt [too-long-redacted] ap.c.o -c python/xraylib_wrap.c
python/xraylib_wrap.c: In function â_wrap_Atomic_Factorsâ:
python/xraylib_wrap.c:10194:7: warning: variable âresultâ set but not used [-Wunused-but-set-variable]
10194 | int result;
| ^~~~~~
python/xraylib_wrap.c: In function âSWIG_mod_execâ:
python/xraylib_wrap.c:23738:3: error: returning âvoid *â from a function with return type âintâ makes integer from pointer without a cast [-Wint-conversion]
23738 | import_array();
| ^~~~~~~~~~~~
[94/131] cc -Ipython/xraylib_np.cpython-313-x86_64-linux-gnu [too-long-redacted] b_np.c.o -c python/xraylib_np.c
python/xraylib_np.c: In function â__pyx_pymod_exec_xraylib_npâ:
python/xraylib_np.c:31791:30: note: variable tracking size limit exceeded with â-fvar-tracking-assignmentsâ, retrying without
31791 | static CYTHON_SMALL_CODE int __pyx_pymod_exec_xraylib_np(PyObject *__pyx_pyinit_module)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu-py3.13 && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make[1]: *** [debian/rules:23: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Debian-pan-maintainers
mailing list