user [email protected] usertags 1133595 + bsp-2026-04-br-campinas thanks
Hi, This is a proposed patch to fix the FTBFS. Upstream already fixed it, so this is just a backport. The attached debdiff fixes the problem (and another unrelated issue I noticed while building the package). I've also filed an MR at https://salsa.debian.org/hpc-team/openmpi/-/merge_requests/4 . Feel free to adopt either. Thanks, -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible https://sergiodj.net/ diff --git a/debian/patches/gcc-16.patch b/debian/patches/gcc-16.patch new file mode 100644 index 000000000..3f411148b --- /dev/null +++ b/debian/patches/gcc-16.patch @@ -0,0 +1,29 @@ +From aa024ac73d624611cfe3af6f541b5d28dedf07bb Mon Sep 17 00:00:00 2001 +From: Orion Poplawski <[email protected]> +Date: Thu, 5 Mar 2026 08:32:13 -0700 +Subject: [PATCH] Drop __opal_attribute_always_inline__ for + mca_part_persist_start (fixes #13721) + +Signed-off-by: Orion Poplawski <[email protected]> + +Origin: upstream, https://github.com/open-mpi/ompi/commit/aa024ac73d624611cfe3af6f541b5d28dedf07bb +Bug: https://github.com/open-mpi/ompi/issues/13721 +Bug-Debian: https://bugs.debian.org/1133595 + +--- + ompi/mca/part/persist/part_persist.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ompi/mca/part/persist/part_persist.h b/ompi/mca/part/persist/part_persist.h +index ccc8f8f1971..86fb9bac42d 100644 +--- a/ompi/mca/part/persist/part_persist.h ++++ b/ompi/mca/part/persist/part_persist.h +@@ -490,7 +490,7 @@ mca_part_persist_psend_init(const void* buf, + return err; + } + +-__opal_attribute_always_inline__ static inline int ++static inline int + mca_part_persist_start(size_t count, ompi_request_t** requests) + { + int err = OMPI_SUCCESS; diff --git a/debian/patches/series b/debian/patches/series index 3fd3d4809..383258316 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,3 +9,4 @@ opal_fifo.patch verbose-ompi-rules.patch #version-script.patch no-warning-unused.patch +gcc-16.patch diff --git a/debian/rules b/debian/rules index dafdb27cc..80d48f106 100755 --- a/debian/rules +++ b/debian/rules @@ -308,10 +308,10 @@ endif rm -d debian/openmpi-doc/usr/share/doc/openmpi-doc/html/_static/$$f ; \ ln -s /usr/share/javascript/sphinxdoc/1.0/$$f debian/openmpi-doc/usr/share/doc/openmpi-doc/html/_static/$$f ; \ done - rm -f debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-dir/jquery-3.7.1.min.js - ln -s XXX debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-dir/jquery-3.7.1.min.js + rm -f debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-files/jquery-3.7.1.min.js + ln -s XXX debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-files/jquery-3.7.1.min.js for f in jquery-ui.min.css jquery-ui.min.js ; do \ - rm -f debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-dir/$$f ; \ + rm -f debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-files/$$f ; \ done - ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-dir/jquery-ui.min.js - ln -s /usr/share/javascript/jquery-ui/themes/base/jquery-ui.min.css debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-dir/jquery-ui.min.css + ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-files/jquery-ui.min.js + ln -s /usr/share/javascript/jquery-ui/themes/base/jquery-ui.min.css debian/openmpi-doc/usr/share/doc/openmpi-doc/javadoc-openmpi/script-files/jquery-ui.min.css -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
