[MacPorts] #57365: slatec @4.1: f77: No such file or directory
MacPorts
noreply at macports.org
Fri Oct 19 09:38:41 UTC 2018
#57365: slatec @4.1: f77: No such file or directory
-------------------------+----------------------
Reporter: ryandesign | Owner: smaret
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: slatec |
-------------------------+----------------------
Comment (by majoc-at-astro):
Replying to [comment:7 ryandesign]:
> Unfortunately this port's build system evidently doesn't know to exit
when an error occurs. It would be nice if we could fix that.
This I think is the most entertaining part of this: `${FC} -O other_args`
-> `-O other_args` -> `O other_args` plus an instruction to Make to ignore
the error-exit value. It's actually two features of Make interacting to
produce a bug, for which the only portable fix afaict is "don't do that".
With `gmake`, I've used startup-time traps before now of the form:
{{{
ifeq "" "${FC}"
$(error I see an empty FC value here)
endif
}}}
.... which isn't entirely complete (checking for `${FC}` being all-
whitespace is left as an exercise), and would have to be replicated for
all other interesting variables. I've no idea what the BSD-make version
would be; and, erm, is there a cmake expert in the house?
Hope this helps.
--
Ticket URL: <https://trac.macports.org/ticket/57365#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list