Debian Patches

Status for opm-common/2023.10+ds-3

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
0007-Added-missing-include-for-g-11.2.0.patch Added missing include for g++-11.2.0.
Won't compile without it.
Markus Blatt <markus@dr-blatt.de> no 2022-01-21
0008-cmake-Limit-dimensions-for-Alberta.patch [cmake] Limit dimensions for Alberta
Default is now 3 as in DUNE but user can request more via variable
ALBERTA_MAX_WORLD_DIM.
Markus Blatt <markus@dr-blatt.de> no 2022-12-23
0009-cmake-Also-search-for-Alberta-with-pkgconfig-to-be-D.patch [cmake] Also search for Alberta with pkgconfig to be DUNE compliant
If OPM modules are used as DUNE modules then CMake otherwise
complains about missing targets:

```
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/dune-grid/dune-grid-targets.cmake:78 (set_target_properties):
The link interface of target "dunealbertagrid1d" contains:

PkgConfig::Alberta1d

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

```
Markus Blatt <markus@dr-blatt.de> no 2022-12-23
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

All known versions for source package 'opm-common'

Links