[MacPorts] #62132: libgcrypt @1.9.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of "error: redefinition of typedef 'cipher_bulk_ops_t'"

MacPorts noreply at macports.org
Sun Jan 24 09:11:59 UTC 2021


#62132: libgcrypt @1.9.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of
"error: redefinition of typedef 'cipher_bulk_ops_t'"
------------------------+----------------------------
  Reporter:  ballapete  |      Owner:  Schamschula
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:             |   Keywords:  leopard, tiger
      Port:  libgcrypt  |
------------------------+----------------------------

Comment (by ballapete):

 Trying to build on `PPC Tiger` with `GCC7` leads to a new error:

 {{{
 /opt/local/bin/gcc-mp-7 -DHAVE_CONFIG_H -I. -I..  -I../src -I../src
 -I/opt/local/include -I/opt/local/include -pipe -Os -std=gnu89 -arch ppc
 -fno-delete-null-pointer-checks -Wall -MT random.o -MD -MP -MF
 .deps/random.Tpo -c -o random.o random.c
 random.c:509:10: fatal error: spawn.h: No such file or directory
  #include <spawn.h>
           ^~~~~~~~~
 compilation terminated.
 make[2]: *** [random.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_devel_libgcrypt/libgcrypt/work/libgcrypt-1.9.0/tests'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_libgcrypt/libgcrypt/work/libgcrypt-1.9.0'
 make: *** [all] Error 2
 }}}

 `spawn.h` is in `Legacy Support` although as `sys/spawn.h`, but let's see!

-- 
Ticket URL: <https://trac.macports.org/ticket/62132#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list