Package: libgpg-error-dev
Version: 1.51-3
Severity: important

When the PKG_CONFIG_PATH environment variable is set,
"gpgrt-config --modversion gpgme" fails:

cventin:~> echo $PKG_CONFIG_PATH
/home/vlefevre/opt/tcc/lib/pkgconfig
cventin:~> gpgrt-config --modversion gpgme
Can't find gpgme.pc
cventin:~[1]>

No problems with pkg-config:

cventin:~> pkg-config --path gpgme
/usr/lib/x86_64-linux-gnu/pkgconfig/gpgme.pc

The cause is PKG_CONFIG_PATH, because if I unset it,
gpgrt-config works fine:

cventin:~> env -u PKG_CONFIG_PATH gpgrt-config --modversion gpgme
1.24.1

(The consequence was I got Mutt built without GPGME support on this
machine.)

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), 
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.10-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libgpg-error-dev depends on:
ii  libgpg-error0  1.51-3

libgpg-error-dev recommends no packages.

libgpg-error-dev suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to