BUG report gnupg-2.2.4 (or npth)

Henry nbsd4ever at gmail.com
Sat Jan 13 10:18:01 CET 2018

I can't build gnupg-2.2.4 because npth.h includes headers with
conflicting types.

% uname -srp ==>> NetBSD 7.0.2 i386

% ./configure --enable-g13 --enable-symcryptrun --enable-wks-tools \
  --enable-selinux-support --with-npth-prefix=/usr/local \

Output before "gmake[3]: *** [Makefile:2050: libcommonpth_a-sysutils.o]
 Error 1":
In file included from /usr/local/include/npth.h:52:0,
                 from sysutils.c:72:
/usr/local/include/pthread.h:357:18: error: conflicting types for
‘pthread_kill extern int       pthread_kill(pthread_t, int);
In file included from /usr/local/include/npth.h:50:0,
                 from sysutils.c:72:
/usr/include/signal.h:69:5: note: previous declaration of ‘pthread_kill’ was he
 int pthread_kill(pthread_t, int);
I can build gnupg-2.2.4 if I don't use npth, but then the tests
(gmake check) fail.



More information about the Gnupg-users mailing list