assuan.h:588:2 invalid preprocessing directive (Re: GnuPG 2.5.5 released)

Ralph Seichter via Gnupg-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
Here's an error I see when attempting to build on macOS:

---------- 8< ---------- 8< ---------- 8< ----------

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in m4
make[3]: Nothing to be done for `all'.
Making all in common
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/local/gnupg-2.5/share/locale\" -DGNUPG_BINDIR="\"/usr/local/gnupg-2.5/bin\"" -DGNUPG_LIBEXECDIR="\"/usr/local/gnupg-2.5/libexec\"" -DGNUPG_LIBDIR="\"/usr/local/gnupg-2.5/lib/gnupg\"" -DGNUPG_DATADIR="\"/usr/local/gnupg-2.5/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/usr/local/gnupg-2.5/etc/gnupg\"" -DGNUPG_LOCALSTATEDIR="\"/var\"" -DGNUPG_DEFAULT_AGENT="\"/usr/local/gnupg-2.5/bin/gpg-agent\"" -DGNUPG_DEFAULT_PINENTRY="\"/usr/local/gnupg-2.5/bin/pinentry\"" -DGNUPG_DEFAULT_SCDAEMON="\"/usr/local/gnupg-2.5/libexec/scdaemon\""  -DGNUPG_DEFAULT_DIRMNGR="\"/usr/local/gnupg-2.5/bin/dirmngr\"" -DGNUPG_DEFAULT_PROTECT_TOOL="\"/usr/local/gnupg-2.5/libexec/gpg-protect-tool\"" -DGNUPG_DEFAULT_DIRMNGR_LDAP="\"/usr/local/gnupg-2.5/libexec/dirmngr_ldap\"" -arch
  x86_64 -I/tmp/gpgosx-build-2.5.5/x86_64-dist/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.12 -Ofast -I/tmp/gpgosx-build-2.5.5/x86_64-dist/include -I/tmp/gpgosx-build-2.5.5/x86_64-dist/include -I/tmp/gpgosx-build-2.5.5/x86_64-dist/include -I/tmp/gpgosx-build-2.5.5/x86_64-dist/include -I/tmp/gpgosx-build-2.5.5/x86_64-dist/include -DWITHOUT_NPTH=1 -Wall -Wno-pointer-sign -Wpointer-arith -arch x86_64 -m64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.12 -Ofast -MT libcommon_a-sysutils.o -MD -MP -MF .deps/libcommon_a-sysutils.Tpo -c -o libcommon_a-sysutils.o `test -f 'sysutils.c' || echo './'`sysutils.c
In file included from sysutils.c:84:
/tmp/gpgosx-build-2.5.5/x86_64-dist/include/assuan.h:588:2: error: invalid preprocessing directive
  588 | #defined ASSUAN_NO_NPTH_SYSTEM_HOOKS_ANY_MORE 1
      |  ^
1 error generated.
make[4]: *** [libcommon_a-sysutils.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2

---------- 8< ---------- 8< ---------- 8< ----------

Detailed build logs are available, should you need them.

-Ralph
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.