[med-svn] [Git][med-team/tree-puzzle][master] 3 commits: fix-conftest.c: new: fix failure to detect mpicc with gcc-14.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Tue Sep 10 20:17:56 BST 2024



Étienne Mollier pushed to branch master at Debian Med / tree-puzzle


Commits:
692e16d6 by Étienne Mollier at 2024-09-10T21:12:00+02:00
fix-conftest.c: new: fix failure to detect mpicc with gcc-14.

Closes: #1075584

- - - - -
75a60f96 by Étienne Mollier at 2024-09-10T21:14:13+02:00
d/s/lintian-overrides: fix mismatched override.

- - - - -
2f2ca223 by Étienne Mollier at 2024-09-10T21:17:23+02:00
Ready for upload to unstable.

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/fix-conftest.c
- debian/patches/series
- debian/source/lintian-overrides


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,6 @@
-tree-puzzle (5.3~rc16+dfsg-10) UNRELEASED; urgency=medium
+tree-puzzle (5.3~rc16+dfsg-10) unstable; urgency=medium
+
+  * Team upload.
 
   [ Pino Toscano ]
   * Use /usr/share/dpkg/architecture.mk in debian/rules to make sure to have
@@ -6,7 +8,12 @@ tree-puzzle (5.3~rc16+dfsg-10) UNRELEASED; urgency=medium
   * Add -ffloat-store to the CFLAGS also on non-Linux i386 architectures, as
     the problems are the same as on Linux i386.
 
- -- Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>  Thu, 17 Feb 2022 08:54:29 +0100
+  [ Étienne Mollier ]
+  * fix-conftest.c: new: fix failure to detect mpicc with gcc-14.
+    (Closes: #1075584)
+  * d/s/lintian-overrides: fix mismatched override.
+
+ -- Étienne Mollier <emollier at debian.org>  Tue, 10 Sep 2024 21:16:12 +0200
 
 tree-puzzle (5.3~rc16+dfsg-9) unstable; urgency=medium
 


=====================================
debian/patches/fix-conftest.c
=====================================
@@ -0,0 +1,33 @@
+Description: fix failure to detect mpicc with gcc-14.
+ Starting with gcc-14, when specifying mpicc, the configuration test
+ considers it unusable:
+ .
+         checking for mpicc... /usr/bin/mpicc
+         […]
+         checking whether /usr/bin/mpicc works as MPI compiler... no
+ .
+ This turns out to be caused by a warning gone fatal in the conftest.c:
+ .
+         $ 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’
+
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075584
+Forwarded: no
+Last-Update: 2024-09-10
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- tree-puzzle.orig/configure.ac
++++ tree-puzzle/configure.ac
+@@ -45,6 +45,7 @@
+  if test  "$MPICCSET" = ""  ; then
+ cat > conftest.c <<EOF
+ #include<mpi.h>
++#include<stdlib.h>
+ int main (int argc, char **argv)
+ {
+ MPI_Init(&argc,&argv);


=====================================
debian/patches/series
=====================================
@@ -6,3 +6,4 @@ update_test_results.patch
 reproducible-build.patch
 reduce_decimals_for_testing.patch
 add-failsafe-for-ut-prottest.patch
+fix-conftest.c


=====================================
debian/source/lintian-overrides
=====================================
@@ -1,2 +1,2 @@
 # False positive
-tree-puzzle source: unpack-message-for-orig tree-puzzle_5.3~rc16+dfsg.orig.tar.xz ar failed for tree-puzzle-5.3.rc16/data*
+unpack-message-for-orig tree-puzzle_5.3~rc16+dfsg.orig.tar.xz . ar failed for tree-puzzle-5.3.rc16/data/*



View it on GitLab: https://salsa.debian.org/med-team/tree-puzzle/-/compare/a555b5e7184c55a4abbec8ceda30fd228eb46265...2f2ca223125385588a2d8ec69e97484215c4d37d

-- 
View it on GitLab: https://salsa.debian.org/med-team/tree-puzzle/-/compare/a555b5e7184c55a4abbec8ceda30fd228eb46265...2f2ca223125385588a2d8ec69e97484215c4d37d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240910/cd74cfd0/attachment-0001.htm>


More information about the debian-med-commit mailing list