[MacPorts] #66330: cfitsio @4.2.0 fails to build on 10.5.8: error: redefinition of typedef ‘ParseData’

MacPorts noreply at macports.org
Wed Nov 23 04:26:06 UTC 2022


#66330: cfitsio @4.2.0 fails to build on 10.5.8: error: redefinition of typedef
‘ParseData’
-------------------------------------------+-------------------------
 Reporter:  barracuda156                   |      Owner:  Schamschula
     Type:  defect                         |     Status:  assigned
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.8.0
 Keywords:  powerpc, leopard, snowleopard  |       Port:  cfitsio
-------------------------------------------+-------------------------
 {{{
 In file included from eval.l:68:
 eval_defs.h:21: error: redefinition of typedef ‘ParseData’
 fitsio2.h:1022: error: previous declaration of ‘ParseData’ was here
 eval_defs.h:22: error: redefinition of typedef ‘yyscan_t’
 eval_l.c:338: error: previous declaration of ‘yyscan_t’ was here
 In file included from eval.l:68:
 eval_defs.h:21: error: redefinition of typedef ‘ParseData’
 fitsio2.h:1022: error: previous declaration of ‘ParseData’ was here
 eval_defs.h:22: error: redefinition of typedef ‘yyscan_t’
 eval_l.c:338: error: previous declaration of ‘yyscan_t’ was here
 fatal error: lipo: can't open input file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_cfitsio/cfitsio/work/.tmp/cc6EA816.out
 (No such file or directory)
 make[1]: *** [eval_l.o] Error 1
 }}}

 Same failure on 10.6 PPC (that is, +universal is not causing it).

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


More information about the macports-tickets mailing list