[MacPorts] #65992: py310-pycryptodome fails to build on 10.5.8: error: #error No routines for aligned memory; error: ‘for’ loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Sat Oct 15 05:22:50 UTC 2022


#65992: py310-pycryptodome fails to build on 10.5.8: error: #error No routines for
aligned memory; error: ‘for’ loop initial declaration used outside C99 mode
-------------------------------------+-------------------------------------
 Reporter:  barracuda156             |      Owner:  catap
     Type:  defect                   |     Status:  assigned
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.7.2
 Keywords:  powerpc, leopard,        |       Port:  py310-pycryptodome, py-
  snowleopard                        |  pycryptodome
-------------------------------------+-------------------------------------
 There are numerous errors of the following kind:
 {{{
 In file included from src/MD2.c:28:
 src/common.h:179:2: error: #error No routines for aligned memory
 }}}
 And also:
 {{{
 In file included from src/ed25519.c:46:
 src/common.h:179:2: error: #error No routines for aligned memory
 src/ed25519.c: In function ‘ed25519_cmp’:
 src/ed25519.c:267: error: ‘for’ loop initial declaration used outside C99
 mode
 src/ed25519.c:275: error: redefinition of ‘i’
 src/ed25519.c:267: error: previous definition of ‘i’ was here
 src/ed25519.c:275: error: ‘for’ loop initial declaration used outside C99
 mode
 }}}

 P. S. The port also fails on 10.6 PPC in a same manner.

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


More information about the macports-tickets mailing list