Re: [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 10:38:20 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
Resolution:                          |   Keywords:  powerpc, leopard,
      Port:  py310-pycryptodome,     |  snowleopard
  py-pycryptodome                    |
-------------------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 kencu]:
 > As step 1 I would:
 >
 > 1. add legacysupport
 > 1. add {{{configure.cflags-append -std=c99}}}

 For some reason it does not want to pass the flag. Weird. I will return to
 this.

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


More information about the macports-tickets mailing list