Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian....@packages.debian.org
Usertags: pu
X-Debbugs-Cc: e...@packages.debian.org, sanv...@debian.org
Control: affects -1 + src:elpa

[ Reason ]
This fixes Bug #1057556, FTBFS if less than two slots are detected.

[ Impact ]
Anybody trying to build this package might find that the build does
not work when less than two slots are detected (the changelog
explains in detail when this may happen).

[ Tests ]
I've checked that the package builds again on the systems where it
previously failed and also on the ones in which it previously did not.

[ Risks ]
Very low. The fix is standard in OpenMPI when we want packages
to pass the tests everywhere.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
Add a line to debian/rules to enable oversubscription for the tests.

[ Other info ]

- I'll wait for confirmation before upload and commiting to salsa.

- Note: There is a norm about updates for stable which I'm not sure how
to interpret in this case:

In OpenMPI 5.0, the variable required to fix this changed its name,
and we have to fix it again, but the fix is already in salsa and
will be uploaded soon.

For the purposes of "already fixed in unstable", the change proposed
now for bookworm was indeed already included in version 2022.11.001-3
six months ago in unstable and has already proved to work, if that's
what matters.

So: If a strict reading of proposed-updates Policy does not allow this
upload for bookworm to happen yet, please just put it on hold.

Thanks.
diff -Nru elpa-2022.11.001/debian/changelog elpa-2022.11.001/debian/changelog
--- elpa-2022.11.001/debian/changelog   2023-01-10 19:32:33.000000000 +0100
+++ elpa-2022.11.001/debian/changelog   2024-12-31 13:25:00.000000000 +0100
@@ -1,3 +1,13 @@
+elpa (2022.11.001-2+deb12u1) bookworm; urgency=medium
+
+  * Team upload.
+  * Enable oversubscribe to run the tests, allowing the package
+    to be built when less than 2 slots are detected. This not only
+    happens on machines with 1 CPU but also on some AWS machines
+    with 2 vCPUs like c6a.large or m6a.large. Closes: #1057556.
+
+ -- Santiago Vila <sanv...@debian.org>  Tue, 31 Dec 2024 13:25:00 +0100
+
 elpa (2022.11.001-2) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru elpa-2022.11.001/debian/rules elpa-2022.11.001/debian/rules
--- elpa-2022.11.001/debian/rules       2023-01-10 00:20:41.000000000 +0100
+++ elpa-2022.11.001/debian/rules       2024-12-31 01:16:12.000000000 +0100
@@ -3,6 +3,7 @@
 
 include /usr/share/mpi-default-dev/debian_defaults
 
+export OMPI_MCA_rmaps_base_oversubscribe=true
 export OMPI_MCA_plm_rsh_agent=/bin/false
 export LIBS=-lscalapack-$(ARCH_DEFAULT_MPI_IMPL)
 # The gold linker is currently broken on mips64el. See #851736.

Reply via email to