[Git][reproducible-builds/reproducible-notes][master] cmake_rpath_contains_build_path: update description
Mattia Rizzolo (@mattia)
gitlab at salsa.debian.org
Mon Sep 19 10:14:21 UTC 2022
Mattia Rizzolo pushed to branch master at Reproducible Builds / reproducible-notes
Commits:
6c4d7438 by Andrea Pappacoda at 2022-09-19T10:11:46+00:00
cmake_rpath_contains_build_path: update description
Debhelper 14 will only enable CMAKE_BUILD_RPATH_USE_ORIGIN by default,
see the (previously linked) bug: https://bugs.debian.org/1004939
- - - - -
1 changed file:
- issues.yml
Changes:
=====================================
issues.yml
=====================================
@@ -2060,18 +2060,14 @@ cmake_rpath_contains_build_path:
RPATH will contain the build path. Even if this is stripped on installation,
the build-id will remain unchanged.
.
- Packages can set `-DCMAKE_SKIP_RPATH=ON` as workaround, but then possibly
- have to set `LD_LIBRARY_PATH` while running tests.
- .
- Alternately with cmake 3.14+, BUILD_RPATH_USE_ORIGIN could be used
- https://gitlab.kitware.com/cmake/cmake/-/blob/master/Help/prop_tgt/BUILD_RPATH_USE_ORIGIN.rst
- .
- Using the currently experimental debhelper compat level v14 will
- enable both options by default.
- .
- https://bugs.debian.org/1004939 proposes to drop
- -DCMAKE_SKIP_RPATH in favor of -DBUILD_RPATH_USE_ORIGIN in
- debhelper.
+ With CMake 3.14+, packages can set `-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON` to
+ fix the issue. This is done automatically when using the currently
+ experimental debhelper compat level v14.
+ https://cmake.org/cmake/help/latest/prop_tgt/BUILD_RPATH_USE_ORIGIN.html
+ .
+ When working with older CMake versions, the `CMAKE_SKIP_RPATH` option can be
+ enabled instead, but it may be required to also set `LD_LIBRARY_PATH` while
+ running tests.
url: https://gitlab.kitware.com/cmake/cmake/issues/18413
build_path_in_texi_figure_documentation:
description: |
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-notes/-/commit/6c4d74385ef8680347e0f166e2388e19ec8b9abc
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-notes/-/commit/6c4d74385ef8680347e0f166e2388e19ec8b9abc
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20220919/c478c53a/attachment.htm>
More information about the rb-commits
mailing list