[MacPorts] #57642: p5.26-http-xsheaders: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’

MacPorts noreply at macports.org
Mon Nov 19 12:14:27 UTC 2018


#57642: p5.26-http-xsheaders: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘void’
------------------------+-------------------------------
 Reporter:  ryandesign  |      Owner:  dbevans
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:  leopard     |       Port:  p5-http-xsheaders
------------------------+-------------------------------
 p5.26-http-xsheaders fails to build on Leopard:
 {{{
 /usr/bin/gcc-4.2 -c  -I. -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-
 aliasing -fstack-protector -I/opt/local/include -D_FORTIFY_SOURCE=2
 -DPERL_USE_SAFE_PUTENV -Wall -std=c89 -arch i386 -O3
 -DVERSION=\"0.400004\" -DXS_VERSION=\"0.400004\"
 "-I/opt/local/lib/perl5/5.26/darwin-thread-multi-2level/CORE"
 XSHeaders.c
 In file included from /usr/include/string.h:148,
                  from /opt/local/lib/perl5/5.26/darwin-thread-multi-
 2level/CORE/perl.h:941,
                  from XSHeaders.xs:3:
 /usr/include/secure/_string.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘void’
 /usr/include/secure/_string.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘void’
 /usr/include/secure/_string.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘void’
 /usr/include/secure/_string.h:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘char’
 /usr/include/secure/_string.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘char’
 /usr/include/secure/_string.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘char’
 /usr/include/secure/_string.h:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘char’
 /usr/include/secure/_string.h:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘char’
 make: *** [XSHeaders.o] Error 1
 }}}
 But it builds on Snow Leopard and later.

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


More information about the macports-tickets mailing list