Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1231939

Bug#1095260: libgpg-error-dev: can't find gpgme.pc when PKG_CONFIG_PATH is set

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#1095260: libgpg-error-dev: can't find gpgme.pc when PKG_CONFIG_PATH is set
Date 2025-02-06 00:50 +0100
Message-ID <KcXjz-eHsr-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 <vincent@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)

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1095260: libgpg-error-dev: can't find gpgme.pc when PKG_CONFIG_PATH is set Vincent Lefevre <vincent@vinc17.net> - 2025-02-06 00:50 +0100
  Bug#1095260: libgpg-error-dev: can't find gpgme.pc when PKG_CONFIG_PATH is set Vincent Lefevre <vincent@vinc17.net> - 2025-02-06 01:20 +0100
  Bug#1095260: [pkg-gnupg-maint] Bug#1095260: libgpg-error-dev: can't find gpgme.pc when PKG_CONFIG_PATH is set NIIBE Yutaka <gniibe@fsij.org> - 2025-02-06 02:30 +0100

csiph-web