[Debian-med-packaging] Bug#1106704: tree-puzzle FTCBFS: uses mpicc
Helmut Grohne
helmut at subdivi.de
Mon Dec 8 11:01:27 GMT 2025
Hi Andreas,
On Sun, Dec 07, 2025 at 09:49:21PM +0100, Andreas Tille wrote:
> I tried to apply your patch but it breaks dh_auto_reconf:
>
>
> dh_autoreconf -O--no-parallel
> configure.ac:173: warning: The macro 'AC_HEADER_STDC' is obsolete.
> configure.ac:173: You should run autoupdate.
> ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
> configure.ac:173: the top level
> configure.ac:43: error: possibly undefined macro: AC_TEST_MPICC
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:101: error: possibly undefined macro: AC_PATH_PROG
> autoreconf: error: /usr/bin/autoconf failed with exit status: 1
> dh_autoreconf: error: autoreconf -f -i returned exit code 1
> make: *** [debian/rules:17: binary] Error 255
>
>
> The build passes without the patch.
Thank you for looking into my patch. I realize that my instructions for
applying it were not sufficiently clear and that the error message given
by autoconf is not helpful.
What it really wants to tell you here is that the definition of the
PKG_CHECK_MODULES macro was not found, because the package pkgconf has
not been added to Build-Depends. Regardless of whether pkgconf ends up
being used for discovering mpi-c, it is needed by autoconf to
interpolate the macro now.
It works once you add pkgconf to Build-Depends. Don't bother trying to
cross build it though, because something else broke on the openmpi side
in the mean time.
Helmut
More information about the Debian-med-packaging
mailing list