[Pkg-julia-devel] Bug#986336: libopenlibm-dev: Wrong prefix used in openlibm.pc

Mitsutoshi Aoe me at maoe.name
Sat Apr 3 15:34:56 BST 2021


Package: libopenlibm-dev
Version: 0.7.0+dfsg-2
Severity: important

Dear Maintainer,

libopenlibm-dev includes a pkg-config file called openlibm.pc but it contains
wrong "prefix" and renderes pkg-config --libs or --cflags openlibm unusable.

I think the following shell session demonstrates the issue well enough:

% pkg-config --libs --cflags openlibm
-I/usr/local/include -L/usr/local/lib -lopenlibm
% grep ^prefix /usr/lib/x86_64-linux-gnu/pkgconfig/openlibm.pc
prefix=/usr/local
% dpkg -L libopenlibm-dev | grep /usr/local
% dpkg -L libopenlibm-dev | grep /usr/lib
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libopenlibm.a
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/openlibm.pc
/usr/lib/x86_64-linux-gnu/libopenlibm.so

In short, the prefix in the pkg-config file (/usr/local) doesn't match
the actual location this package installs the files (/usr). So any
programs that link to this library cannot use pkg-config.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libopenlibm-dev depends on:
ii  libopenlibm3  0.7.0+dfsg-2

libopenlibm-dev recommends no packages.

libopenlibm-dev suggests no packages.

-- no debconf information



More information about the Pkg-julia-devel mailing list