Debian Patches

Status for opm-common/2026.04+ds-1~exp1

Patch Description Author Forwarded Bugs Origin Last update
0008-Allow-more-deviations-when-calculating-volume-to-fix.patch Allow more deviations when calculating volume to fix tests on i386.
Apparently round off errors are different and the values we test for
are the values we get when computing on amd64.
Markus Blatt <markus@dr-blatt.de> no 2021-05-25
0009-Prevent-32bit-overflow-when-testing-OpmLog.patch Prevent 32bit overflow when testing OpmLog. Markus Blatt <markus@dr-blatt.de> no 2021-05-25
0010-Use-BOOST_CHECK_CLOSE-for-floating-point-comparisons.patch Use BOOST_CHECK_CLOSE for floating point comparisons.
BOOST_CHECK_EQUAL will only reliably work if the computations on the
left and right hand side were made in the exact same order, which is
often not the case.
Markus Blatt <markus@dr-blatt.de> no 2021-05-25
0006-Make-test_ESmry.cpp-usable-for-autopkgtests.patch Make test_ESmry.cpp usable for autopkgtests.
In 2021.10 it uses the header tests/WorkArea.cpp that gets copied
to the same directory as tests/test_ESMry.cpp and we need to make in includable
from the same source directory (which will not be tests but the
uppermost source directory).
Markus Blatt <markus@dr-blatt.de> no 2021-11-15
0012-Skip-rpath-for-python-lib.patch Skip rpath for python lib.
This will prevent lintian error:
```
```
Markus Blatt <markus@dr-blatt.de> no 2023-05-05
0011-hack-Restrict-tabulation-tests-to-double-to-prevent-.patch [hack] Restrict tabulation tests to double to prevent FTBFS.
Theses tests have been failing all the time, but im previous
opm-common releases these fails have not been fatal. They are now,
because upstream changed this (but without fixing architectures).

While this is a hack, we do because the errors were actually there in
previous releases, but did not make the build failing. Also this will
allow binary packages to actually migrate to testing.
Markus Blatt <markus@dr-blatt.de> no 2024-03-11
0013-Prevent-pybind11-from-stripping-debug-symbols.patch Prevent pybind11 from stripping debug symbols
pybind11_add_module will strip debug symbols if CMAKE_BUILD_TYPE is
neither Debug nor RelWithDebInfo) and there is no option to prevent
this. To fix this we temporarily reset the CMAKE_BUILD_TYPE to Debug

We noticed the problem in the build logs:

dh_dwz -a -O--max-parallel=2
dwz -- debian/libopm-common/usr/lib/x86_64-linux-gnu/libopmcommon.so.2024.04
install -m0755 -d debian/python3-opm-common/usr/lib/debug/.dwz/x86_64-linux-gnu
dwz -mdebian/python3-opm-common/usr/lib/debug/.dwz/x86_64-linux-gnu/python3-opm-common.debug -M/usr/lib/debug/.dwz/x86_64-linux-gnu/python3-opm-common.debug -- debian/python3-opm-common/usr/lib/python3/dist-packages/opm/opmcommon_python.cpython-311-x86_64-linux-gnu.so debian/python3-opm-common/usr/lib/python3/dist-packages/opm_embedded.cpython-311-x86_64-linux-gnu.so
install -m0755 -d debian/libopm-common-bin/usr/lib/debug/.dwz/x86_64-linux-gnu
dwz -mdebian/libopm-common-bin/usr/lib/debug/.dwz/x86_64-linux-gnu/libopm-common-bin.debug -M/usr/lib/debug/.dwz/x86_64-linux-gnu/libopm-common-bin.debug -- debian/libopm-common-bin/usr/bin/arraylist debian/libopm-common-bin/usr/bin/co2brinepvt debian/libopm-common-bin/usr/bin/compareECL debian/libopm-common-bin/usr/bin/convertECL debian/libopm-common-bin/usr/bin/hysteresis debian/libopm-common-bin/usr/bin/opmhash debian/libopm-common-bin/usr/bin/opmpack debian/libopm-common-bin/usr/bin/rst_deck debian/libopm-common-bin/usr/bin/summary
Markus Blatt <markus@dr-blatt.de> no 2024-04-24

All known versions for source package 'opm-common'

Links