[Bug report] [gpgme]: build may fail if gnupg is not installed
Pierre Labastie
pierre.labastie at neuf.fr
Wed Jul 30 16:00:49 CEST 2025
On Wed, 2025-07-30 at 14:57 +0200, Werner Koch wrote:
> 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.
Thanks for the advice. If other editors agree, we'll recommend GnuPG
for building gpgme.
>
> > 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
Yes, I meant it is not documented either that:
- GnuPG is required for the build to succeed (even if not running the
tests) without the switch
- or that the switch removes the need for GnuPG.
But I agree it is a minor point
Thanks for the answer
Pierre
More information about the Gnupg-devel
mailing list