Bug#1114389: snaphu: FTBFS: snaphu_tile.c:408:20: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(void **, long int, long int, long int, long int, long int, paramT *, long int *, long int *)' {aka 'void (*)(void **, long int, long int, long int, long int, long int, struct paramST *, long int *, long int *)'} [-Wincompatible-pointer-types]

Santiago Vila sanvila at debian.org
Fri Sep 5 19:26:41 BST 2025


Package: src:snaphu
Version: 2.0.7-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

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

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

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

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 could not 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:snaphu, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --sourcedirectory=src
   dh_auto_clean -O--sourcedirectory=src
	cd src && make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C src clobber
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
rm -rf bin/*
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--sourcedirectory=src
   dh_clean -O--sourcedirectory=src
 debian/rules binary
dh binary --sourcedirectory=src
   dh_update_autotools_config -O--sourcedirectory=src
   dh_autoreconf -O--sourcedirectory=src
   dh_auto_configure -O--sourcedirectory=src
   debian/rules execute_before_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p bin
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--sourcedirectory=src
	cd src && make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o snaphu_tile.o snaphu_tile.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -Wall  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o snaphu_solver.o snaphu_solver.c
snaphu_tile.c: In function ‘GrowRegions’:
snaphu_tile.c:408:20: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(void **, long int,  long int,  long int,  long int,  long int,  paramT *, long int *, long int *)’ {aka ‘void (*)(void **, long int,  long int,  long int,  long int,  long int,  struct paramST *, long int *, long int *)’} [-Wincompatible-pointer-types]
  408 |   tempcalccostfnptr=CalcCost;
      |                    ^
snaphu_tile.c:409:20: error: assignment to ‘long int (*)(void)’ from incompatible pointer type ‘long int (*)(void **, short int **, long int,  long int,  long int,  paramT *)’ {aka ‘long int (*)(void **, short int **, long int,  long int,  long int,  struct paramST *)’} [-Wincompatible-pointer-types]
  409 |   tempevalcostfnptr=EvalCost;
      |                    ^
snaphu_tile.c:644:11: error: assignment to ‘void (*)(void **, long int,  long int,  long int,  long int,  long int,  paramT *, long int *, long int *)’ {aka ‘void (*)(void **, long int,  long int,  long int,  long int,  long int,  struct paramST *, long int *, long int *)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
  644 |   CalcCost=tempcalccostfnptr;
      |           ^
snaphu_tile.c:645:11: error: assignment to ‘long int (*)(void **, short int **, long int,  long int,  long int,  paramT *)’ {aka ‘long int (*)(void **, short int **, long int,  long int,  long int,  struct paramST *)’} from incompatible pointer type ‘long int (*)(void)’ [-Wincompatible-pointer-types]
  645 |   EvalCost=tempevalcostfnptr;
      |           ^
make[1]: *** [<builtin>: snaphu_tile.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
dh_auto_build: error: cd src && make -j2 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-grass-devel mailing list