[Debian-med-packaging] Bug#1075584: tree-puzzle: ftbfs with GCC-14
Étienne Mollier
emollier at debian.org
Tue Sep 10 19:58:36 BST 2024
Hi,
So, it took some head scratching, but the missing tree-ppuzzle
seems to stem to failure to detect properly the mpi compiler:
checking for mpicc... /usr/bin/mpicc
[…]
checking whether /usr/bin/mpicc works as MPI compiler... no
^~
Which in turn is caused by failure to build the conftest.c, with
the now usual gcc-14 error about implicit function declaration:
$ mpicc conftest.c
conftest.c: In function ‘main’:
conftest.c:6:1: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
6 | exit(0);
| ^~~~
conftest.c:2:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
1 | #include<mpi.h>
+++ |+#include <stdlib.h>
2 | int main (int argc, char **argv)
conftest.c:6:1: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
6 | exit(0);
| ^~~~
conftest.c:6:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
Hopefully this is just a matter of fixing the conftest.c, I'll
probably be in position to upload a fix this evening.
Have a nice day, :)
--
.''`. Étienne Mollier <emollier at debian.org>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/5, please excuse my verbosity
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20240910/6cb637b1/attachment.sig>
More information about the Debian-med-packaging
mailing list