[MacPorts] #66849: xar @494.81.1 fails to build with gcc-4.2

MacPorts noreply at macports.org
Sun Feb 5 16:10:32 UTC 2023


#66849: xar @494.81.1 fails to build with gcc-4.2
----------------------------------+-------------------------
 Reporter:  barracuda156          |      Owner:  Schamschula
     Type:  defect                |     Status:  assigned
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.8.1
 Keywords:  leopard, snowleopard  |       Port:  xar
----------------------------------+-------------------------
 {{{
 ln -s librxar.1.dylib lib/librxar.dylib
 In file included from src/xar.c:55:
 /opt/local/include/util.h:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘namespace’
 In file included from src/xar.c:55:
 /opt/local/include/util.h:8:18: error: string: No such file or directory
 /opt/local/include/util.h:9:20: error: iostream: No such file or directory
 /opt/local/include/util.h:10:19: error: fstream: No such file or directory
 In file included from src/xar.c:55:
 /opt/local/include/util.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘ngram’
 /opt/local/include/util.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘mfstream’
 /opt/local/include/util.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘:’ token
 /opt/local/include/util.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘:’ token
 /opt/local/include/util.h:48: error: expected ‘)’ before ‘&’ token
 /opt/local/include/util.h:50: warning: type defaults to ‘int’ in
 declaration of ‘std’
 /opt/local/include/util.h:50: error: expected ‘;’, ‘,’ or ‘)’ before ‘:’
 token
 /opt/local/include/util.h:58: warning: type defaults to ‘int’ in
 declaration of ‘std’
 /opt/local/include/util.h:58: error: expected ‘;’, ‘,’ or ‘)’ before ‘:’
 token
 /opt/local/include/util.h:63: error: expected ‘)’ before ‘&’ token
 /opt/local/include/util.h:65: warning: type defaults to ‘int’ in
 declaration of ‘std’
 /opt/local/include/util.h:65: error: expected ‘;’, ‘,’ or ‘)’ before ‘:’
 token
 /opt/local/include/util.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘irstlm’
 /opt/local/include/util.h:88: error: expected ‘)’ before ‘x’
 rm -f lib/libxar.dylib
 ln -s libxar.1.dylib lib/libxar.dylib
 make: *** [src/xar.o] Error 1
 make: *** Waiting for unfinished jobs....
 }}}

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


More information about the macports-tickets mailing list