[Debian-astro-maintainers] Bug#1119727: astrometry.net: FTBFS: util_wrap.c:36982: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:28:07 GMT 2025
Package: src:astrometry.net
Version: 0.97+dfsg-2
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:astrometry.net, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
util.i:516: Warning 302: Redefinition of identifier 'L' ignored,
util.i:504: Warning 302: previous definition of 'L'.
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declar [too-long-redacted] metry -I/usr/include/wcslib -I.
<command-line>: warning: âAN_GIT_REVISIONâ redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: âAN_GIT_DATEâ redefined
<command-line>: note: this is the location of the previous definition
<command-line>: warning: âAN_GIT_URLâ redefined
<command-line>: note: this is the location of the previous definition
util_wrap.c: In function âSWIG_mod_execâ:
util_wrap.c:36982:3: error: returning âvoid *â from a function with return type âintâ makes integer from pointer without a cast [-Wint-conversion]
36982 | import_array();
| ^~~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
make[3]: *** [Makefile:168: _util.cpython-313-x86_64-linux-gnu.so] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/util'
make[2]: *** [Makefile:148: pyutil] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Debian-astro-maintainers
mailing list