Your message dated Tue, 16 Sep 2025 11:42:40 +0200
with message-id <[email protected]>
and subject line Bug resolved according to discussion in upstream bug report
has caused the Debian Bug report #1043227,
regarding opm-common: test failure on ppc64el with -O3
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1043227: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043227
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: opm-common
Version: 2023.04+ds-2
Tags: patch
Forwarded: https://github.com/OPM/opm-common/issues/3620
Hello, as per upstream ticket, there is a build failure (test failure) on ppc64
and ppc64el (confirmed on perotto and platti porter machines)
A simple fix is to make sure that O3 is not used on ppc64el (I don't care about
ppc64 because it has ~12 test failures
regardless of the optimization level used).
This is the patch I used in Ubuntu
diff -Nru opm-common-2023.04+ds/debian/changelog
opm-common-2023.04+ds/debian/changelog
--- opm-common-2023.04+ds/debian/changelog 2023-07-17 13:05:05.000000000
+0000
+++ opm-common-2023.04+ds/debian/changelog 2023-08-04 06:33:40.000000000
+0000
@@ -1,3 +1,9 @@
+opm-common (2023.04+ds-2.1) unstable; urgency=medium
+
+ * Reduce optimization on ppc64el to -O2 (Closes: #-1)
+
+ -- Gianfranco Costamagna <[email protected]> Fri, 04 Aug 2023
08:33:40 +0200
+
opm-common (2023.04+ds-2) unstable; urgency=medium
* d/control: Correctly reflect the merge of opm-material into opm-common
diff -Nru opm-common-2023.04+ds/debian/rules opm-common-2023.04+ds/debian/rules
--- opm-common-2023.04+ds/debian/rules 2023-07-17 13:05:05.000000000 +0000
+++ opm-common-2023.04+ds/debian/rules 2023-08-04 06:33:40.000000000 +0000
@@ -7,6 +7,13 @@
OPM_DEBIAN_CMAKE_FLAGS = -DOPM_ENABLE_PYTHON=1 -DOPM_INSTALL_PYTHON=1 -DPYTHON_EXECUTABLE=/usr/bin/python3 -DOPM_INSTALL_COMPILED_PYTHON=OFF -DOPM_ENABLE_EMBEDDED_PYTHON=1
+ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el))
+ export DEB_CFLAGS_MAINT_STRIP = -O3
+ export DEB_CXXFLAGS_MAINT_STRIP = -O3
+ export DEB_CFLAGS_MAINT_APPEND = -O2
+ export DEB_CXXFLAGS_MAINT_APPEND = -O2
+endif
+
need_gb_ram_per_process=3
free_ram=$(shell free -g | sed -n 2p| sed "s/ \+/ /g"| cut -d " " -f 2)
max_procs=$(shell echo "$(free_ram)/$(need_gb_ram_per_process)" | bc)
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Version: 2024.10+ds-1
Hi,
According to Gianfranco in [1] this is fixed since at least April 1 2025.
Marking it as such in the last Debian release before that here, too.
Best,
Markus
[1] <https://github.com/OPM/opm-common/issues/3620#issuecomment-2769960315>
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers