[MacPorts] #66604: ragel-devel again broken on Rosetta

MacPorts noreply at macports.org
Mon Jan 2 20:28:48 UTC 2023


#66604: ragel-devel again broken on Rosetta
-------------------------------------------+--------------------------
 Reporter:  barracuda156                   |      Owner:  barracuda156
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.8.0
 Keywords:  powerpc, rosetta, snowleopard  |       Port:  ragel-devel
-------------------------------------------+--------------------------
 No idea atm what has broken it:

 {{{
 In file included from inputdata.h:26,
                  from main.cc:23:
 nragel.h:25: error: redefinition of ‘struct HostLang’
 /opt/local/include/libfsm/common.h:226: error: previous definition of
 ‘struct HostLang’
 nragel.h:47: error: redefinition of ‘class output_filter’
 /opt/local/include/libfsm/common.h:397: error: previous definition of
 ‘class output_filter’
 nragel.h:73: error: redefinition of ‘class cfilebuf’
 /opt/local/include/libfsm/common.h:433: error: previous definition of
 ‘class cfilebuf’
 nragel.h:100: error: redefinition of ‘class costream’
 /opt/local/include/libfsm/common.h:460: error: previous definition of
 ‘class costream’
 In file included from inputdata.h:26,
                  from reducer.h:41,
                  from rlreduce.cc:20:
 nragel.h:25: error: redefinition of ‘struct HostLang’
 /opt/local/include/libfsm/common.h:226: error: previous definition of
 ‘struct HostLang’
 nragel.h:47: error: redefinition of ‘class output_filter’
 /opt/local/include/libfsm/common.h:397: error: previous definition of
 ‘class output_filter’
 nragel.h:73: error: redefinition of ‘class cfilebuf’
 /opt/local/include/libfsm/common.h:433: error: previous definition of
 ‘class cfilebuf’
 nragel.h:100: error: redefinition of ‘class costream’
 /opt/local/include/libfsm/common.h:460: error: previous definition of
 ‘class costream’
 In file included from main.cc:23:
 inputdata.h: In constructor ‘InputData::InputData(const HostLang*,
 colm_sections*, colm_sections*)’:
 inputdata.h:214: error: no matching function for call to
 ‘FsmGbl::FsmGbl()’
 /opt/local/include/libfsm/fsmgraph.h:1019: note: candidates are:
 FsmGbl::FsmGbl(const HostLang*)
 /opt/local/include/libfsm/fsmgraph.h:1018: note:
 FsmGbl::FsmGbl(const FsmGbl&)
 /opt/local/include/libfsm/common.h: At global scope:
 /opt/local/include/libfsm/common.h:245: error: previous declaration of
 ‘const HostLang hostLangC’ with ‘C++’ linkage
 main.cc:26: error: conflicts with new declaration with ‘C’ linkage
 In file included from reducer.h:41,
                  from rlreduce.cc:20:
 inputdata.h: In constructor ‘InputData::InputData(const HostLang*,
 colm_sections*, colm_sections*)’:
 inputdata.h:214: error: no matching function for call to
 ‘FsmGbl::FsmGbl()’
 /opt/local/include/libfsm/fsmgraph.h:1019: note: candidates are:
 FsmGbl::FsmGbl(const HostLang*)
 /opt/local/include/libfsm/fsmgraph.h:1018: note:
 FsmGbl::FsmGbl(const FsmGbl&)
 make[3]: *** [ragel-main.o] Error 1
 }}}

 Need to check a native build – if this is Rosetta-only failure or not.

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


More information about the macports-tickets mailing list