Bug#865674: gnutls28: Disable RPATH during build

Dan Nicholson nicholson at endlessm.com
Fri Jun 23 16:29:46 UTC 2017


Source: gnutls28
Version: 3.5.13-2
Severity: normal
Tags: patch

The --enable/disable-rpath option is provided by one of the GnuTLS m4
macros. It's used when searching for system libraries. When a library is
not found in one of /usr/lib or /usr/lib64, the build will supplement
the link command with an RPATH. Since most system libraries will be
found in the multiarch library directory (e.g.,
/usr/lib/x86_64-linux-gnu), then the build will add an RPATH to this
directory.

This is usually not an issue since the build later strips all the RPATHs
from the binaries. However, for tests that run during the build, this
might result in using system installed gnutls libraries instead of the
build libraries. This particularly can cause a test failure in
test-ciphers-openssl.sh since cipher-openssl-compat links to the system
libcrypto, and the RPATH added by the build will cause the system
libgnutls to be used instead of the built libgnutls.

--
Dan Nicholson  |  +1.206.437.0833  |  Endless
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable-rpath.patch
Type: text/x-patch
Size: 1527 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20170623/c5da4236/attachment.bin>


More information about the Pkg-gnutls-maint mailing list