[MacPorts] #66164: libctl fails to build with gcc-4.2 (x86_64 and ppc)

MacPorts noreply at macports.org
Sat Nov 5 15:22:26 UTC 2022


#66164: libctl fails to build with gcc-4.2 (x86_64 and ppc)
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.0
 Keywords:                |       Port:  libctl
--------------------------+--------------------
 The build quickly fails on:
 {{{
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I..
 -I/opt/x86_64/include -I/opt/x86_64/include/guile/3.0 -I/opt/x86_64 -pipe
 -Os -arch x86_64 -MT integrator.lo -MD -MP -MF .deps/integrator.Tpo -c
 integrator.c -o integrator.o
 In file included from ctl-f77-glue.c:25:
 ctl.h:30:24: error: guile/gh.h: No such file or directory
 In file included from ctl-f77-glue.c:25:
 ctl.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'list'
 ctl.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'function'
 ctl.h:84: error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'object'
 ctl.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before
 'ctl_gh_bool2scm'
 ctl.h:203: error: expected ')' before 'sv'
 }}}

 With `gcc12` it builds fine.

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


More information about the macports-tickets mailing list