Bug#857943: libgnutls28-dev: pkg-config gnutls --libs --static: bogus -R... flag

Aaron M. Ucko ucko at debian.org
Thu Mar 16 14:23:58 UTC 2017

Package: libgnutls28-dev
Version: 3.5.8-3
Severity: normal

The output of `pkg-config gnutls --libs --static` includes a flag of
the form -R/usr/lib/$DEB_HOST_MULTIARCH, which is not only superfluous
but also outright broken without a leading -Wl,:

  $ gcc `pkg-config gnutls --libs --static`
  gcc: error: unrecognized command line option ‘-R’; did you mean ‘-R’?
  $ pkg-config gnutls --libs --static
  -lgnutls -lz -R/usr/lib/x86_64-linux-gnu     -lp11-kit   -lgmp -lnettle -lhogweed -lgmp -lnettle -ltasn1 -lidn -lp11-kit -lz

Could you please clean it up?


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgnutls28-dev depends on:
ii  libc6-dev [libc-dev]  2.24-9
ii  libgnutls-dane0       3.5.8-3
ii  libgnutls-openssl27   3.5.8-3
ii  libgnutls30           3.5.8-3
ii  libgnutlsxx28         3.5.8-3
ii  libidn11-dev          1.33-1
ii  libp11-kit-dev        0.23.3-2
ii  libtasn1-6-dev        4.10-1
ii  nettle-dev            3.3-1+b1
ii  zlib1g-dev            1:1.2.8.dfsg-5

libgnutls28-dev recommends no packages.

Versions of packages libgnutls28-dev suggests:
ii  gnutls-bin  3.5.8-3
pn  gnutls-doc  <none>

-- no debconf information

More information about the Pkg-gnutls-maint mailing list