Page MenuHome GnuPG

gnupg-2.1.11, compile error for: make -f build-aux/ native
Closed, ResolvedPublic


On Ubuntu 14.04 "make -f build-aux/ native" fails while compiling
dirmngr, at different places on different machines, probably depending on
installed dev-packages (which should not be relevant at all as
downloads its prerequisites).

On one of my machines I see this:

CC       t_dns_stuff-dns-stuff.o

/home/lechten/local/gnupg-2.1.11/dirmngr/dns-stuff.c: In function
/home/lechten/local/gnupg-2.1.11/dirmngr/dns-stuff.c:178:42: error:
‘GPG_ERR_SERVER_FAILED’ undeclared (first use in this function)

On another machine I had an error complaining that gcrypt.h could not be found.
Installing libgcrypt-dev moved the error to a later location.

Event Timeline

justus added a subscriber: justus.

That particular problem is fixed in 9a1778ab. Can you be more specific on the
other problem(s)?

I believe your problem is fixed in 9f0ba508. With that change I was able to
build gnupg-2.1.11 using speedo in a very minimal Debian jessie chroot.

To test this change, please apply the attached patch (generated using 'git diff
gnupg-2.1.11 dirmngr/' from gnupg master).

If the problem persists, feel free to reopen this bug.