Bug#865674: gnutls28: Disable RPATH during build

Andreas Metzler ametzler at bebt.de
Fri Jun 23 17:25:11 UTC 2017


Control: tags -1 pending

On 2017-06-23 Dan Nicholson <nicholson at endlessm.com> wrote:
> 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.

Hello Dan,

thanks for pointing this out. I have applied the patch to GIT.

cu Andreasa
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-gnutls-maint mailing list