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

Werner Koch via Gnupg-devel <[email protected]> Wed, 30 Jul 2025 14:57:02 +0200
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
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

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
openpgp-digital-signature.asc (application/pgp-signature, 284 B)
-----BEGIN PGP SIGNATURE-----

iJ8EARYKAEcWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCaIoWnhsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDINHHdrQGdudXBnLm9yZwAKCRAZzByeCFsQerocAPoC
wz9Kk05ek2NDQa05fSpL0rv96AKkVu3lL8/kvmmLkwEAkFF8GDQo6D4soK2Jt3oW
QifqmGSNzd8Zuw7FowmJCQU=
=Nkl5
-----END PGP SIGNATURE-----