Debian Patches

Status for opm-common/2024.10+ds-2

Patch Description Author Forwarded Bugs Origin Last update
0001-Install-cmake-package-configuration-to-correct-locat.patch Install cmake package configuration to correct location with lib.
If we ship a library than we are architecture dependent and should
allow for installations for multiple architectures. For this to work
the package configuration files need to be installed in an
architecture aware location (e.g. lib/arch/cmake/module_name on
Debian). Just like the pkg-config files. This is done with this patch.
Markus Blatt <markus@dr-blatt.de> no 2021-03-31
0003-Always-install-pkg-config-files-in-multiarch-library.patch Always install pkg-config files in multiarch library directory.
Even if we do not ship a library, our pkg-config file will include
architecture dependent library paths and libraries that we depend on.
Hence we still need to install into the multiarch library directory.
Markus Blatt <markus@dr-blatt.de> no 2021-04-15
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
0010-Fix-Python-usage-in-msim-and-its-tests.patch Fix Python usage in msim and its tests.
There can only be one embedded Python interpreter in a program,
as Python will never totally cleaned up if it is embedded (using
pybind11).

Unfortunately, test_msim_ACTIONX.cpp created a couple Python
interpreters and with Python 3,12 this resulted in double frees.

This commit fixes this by creating the Python interpreter in a static
shared_ptr and making the tests use that.
Markus Blatt <markus@dr-blatt.de> no 2024-11-06
0011-Removed-HAVE_UMFPACK-alias.patch Removed HAVE_UMFPACK alias.
This is not used even in DUNE 2.7 and we get annoying redefined
warnings with it.
Markus Blatt <markus@dr-blatt.de> no 2024-09-09
0012-Workaround-possibly-set-HAVE_DUNE_MODULE-DUNE-2.10.patch Workaround possibly set HAVE_DUNE_MODULE (DUNE 2.10).
For 2.10 this is set by the *-config.cmake file to TRUE which
suddenly resulted in
```
```
appearing in config.h. As TRUE is not defined we would pretend that there
is no dune-istl and compilation would fail where we pack BlockVectors
for serialization.
Markus Blatt <markus@dr-blatt.de> no 2024-09-09
0013-Fix-the-obvious-typos-in-the-license-specifications.patch Fix the obvious typos in the license specifications.
Here I am 100% sure that these are fixes.
Markus Blatt <markus@dr-blatt.de> no 2024-11-08
0014-Corrected-license-of-Python-packages-to-GPLv3.patch Corrected license of Python packages to GPLv3+ Markus Blatt <markus@dr-blatt.de> no 2024-11-08
0015-Use-correct-license-ODBL-instead-GPL-for-mswell-data.patch Use correct license (ODBL instead GPL) for mswell data files Markus Blatt <markus@dr-blatt.de> no 2024-11-08
0016-Fixed-handling-of-CMake-Bool-in-config.h.patch Fixed handling of CMake Bool in config.h
Only values 0 or 1 were handled correctly.
A value defined to TRUE, ON, OFF would have made the value appear in
the config.h as text e.g.
```
```

This caused a lot of trouble with refactored DUNE build system.
Markus Blatt <markus@dr-blatt.de> no 2024-11-17
0017-Use-uppercase-for-components-in-FindSuitesparse.patch Use uppercase for components in FindSuitesparse
This is in line with DUNE since 2015 and fixes problems when trying to
use opm-grid as a DUNE module.
Markus Blatt <markus@dr-blatt.de> no 2024-11-17

All known versions for source package 'opm-common'

Links