[MacPorts] #66164: libctl fails to build with gcc-4.2 (x86_64 and ppc)
MacPorts
noreply at macports.org
Sat Nov 5 15:37:45 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
Resolution: | Keywords:
Port: libctl |
---------------------------+--------------------
Comment (by barracuda156):
Xcode Clang of 10.6.8 also fails on the header:
{{{
libtool: compile: /usr/bin/clang -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:12: fatal error: 'guile/gh.h' file not found
# include <guile/gh.h>
^
1 error generated.
In file included from ctl.c:27:
./ctl.h:30:12: fatal error: 'guile/gh.h' file not found
# include <guile/gh.h>
^
In file included from subplex.c:62:
./ctl.h:30:12: fatal error: 'guile/gh.h' file not found
# include <guile/gh.h>
^
make[3]: *** [ctl-f77-glue.lo] Error 1
}}}
In fact configure has a clause for modern Guile headers, but old compilers
fail to account for it:
{{{
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern non-gh
interface" >&5
$as_echo_n "checking for modern non-gh interface... " >&6; }
ok=yes
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66164#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list