[MacPorts] #70362: ghc: build failure: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
MacPorts
noreply at macports.org
Fri Jul 12 05:59:27 UTC 2024
#70362: ghc: build failure: warning: a function declaration without a prototype is
deprecated in all versions of C [-Wstrict-prototypes]
-------------------------+--------------------
Reporter: i0ntempest | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: ghc |
-------------------------+--------------------
Comment (by i0ntempest):
Figured it out: {{{${worksrcpath}libraries/terminfo/configure}}} was
executed using an incompatible shell, due to a symlink that I created on
my system. The script immediately exited with an unexpected operator error
but the build process did not catch it and just continued on.
We probably should find a way to force this script to be executed using
{{{/bin/sh}}}. It's not respecting its shebang line.
--
Ticket URL: <https://trac.macports.org/ticket/70362#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list