[MacPorts] #66739: gnupg2 @2.4.0 does not build on PPC Tiger, Mac OS X 10.4.11, because of redefinition of typedef 'KEYRING_HANDLE' and 'KEYBOX_HANDLE'

MacPorts noreply at macports.org
Sun Jan 22 13:15:29 UTC 2023


#66739: gnupg2 @2.4.0 does not build on PPC Tiger, Mac OS X 10.4.11, because of
redefinition of typedef 'KEYRING_HANDLE' and 'KEYBOX_HANDLE'
-----------------------+--------------------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.0
 Keywords:  tiger ppc  |       Port:  ionic at macports.org
-----------------------+--------------------------------
 {{{
 /opt/local/bin/gcc-apple-4.2 -DHAVE_CONFIG_H -I. -I..
 -DLOCALEDIR=\"/opt/local/share/locale\"
 -DGNUPG_BINDIR="\"/opt/local/bin\""
 -DGNUPG_LIBEXECDIR="\"/opt/local/libexec\""
 -DGNUPG_LIBDIR="\"/opt/local/lib/gnupg\""
 -DGNUPG_DATADIR="\"/opt/local/share/gnupg\""
 -DGNUPG_SYSCONFDIR="\"/opt/local/etc/gnupg\""
 -DGNUPG_LOCALSTATEDIR="\"/opt/local/var\""
 -DGNUPG_DEFAULT_PINENTRY="\"/opt/local/bin/pinentry\""
 -I/opt/local/include  -I/opt/local/include -I/opt/local/include
 -I/opt/local/include -I/opt/local/include -Wall -Wno-pointer-sign
 -Wpointer-arith -pipe -Os -arch ppc -MT keydb.o -MD -MP -MF
 .deps/keydb.Tpo -c -o keydb.o keydb.c
 In file included from keydb.c:41:
 keydb-private.h:30: error: redefinition of typedef 'KEYRING_HANDLE'
 keyring.h:25: error: previous declaration of 'KEYRING_HANDLE' was here
 keydb-private.h:32: error: redefinition of typedef 'KEYBOX_HANDLE'
 ../kbx/keybox.h:36: error: previous declaration of 'KEYBOX_HANDLE' was
 here
 make[2]: *** [keydb.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_mail_gnupg2/gnupg2/work/gnupg-2.4.0/g10'
 }}}

 BTW:

 {{{
 configure: WARNING: unrecognized options: --disable-openldap
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66739>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list