On Ubuntu 14.04 "make -f build-aux/speedo.mk 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 speedo.mk
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
‘map_eai_to_gpg_error’:
/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.