[Bug report] [gpgme]: build may fail if gnupg is not installed

Werner Koch wk at gnupg.org
Wed Jul 30 14:57:02 CEST 2025


Hi!

On Mon, 28 Jul 2025 11:23, Pierre Labastie said:

> When building gpgme, the presence of gnupg on the system is not tested,

Well, it is pretty pointless to build gpgme w/o an installed GnuPG.  You
would not be able to run even the most basic checks.

> There is an obvious workaround, which is to pass "--disable-gpg-test"
> to configure, but this is nowhere documented.

Hmm, ./configure --help shows:

  [...]
  --disable-gpgconf-test  disable GPGCONF regression test
  --disable-gpg-test      disable GPG regression test
  --disable-gpgsm-test    disable GPGSM regression test
  --disable-g13-test      disable G13 regression test
  [...]

> It seems the "-" was removed at commit a5b040cc57c, without anything in

I guess I remove this because ignoring this or other recipe is not a
good idea.  It may also be some leftover from former tests or so.


Salam-Shalom,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20250730/a855142e/attachment.sig>


More information about the Gnupg-devel mailing list