[MacPorts] #70277: octave-piqp @0.4.1: sh: /opt/local/bin/clang++-mp-16: No such file or directory
MacPorts
noreply at macports.org
Mon Jun 24 23:35:27 UTC 2024
#70277: octave-piqp @0.4.1: sh: /opt/local/bin/clang++-mp-16: No such file or
directory
--------------------------+-------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords:
Port: octave-piqp |
--------------------------+-------------------------
Comment (by ryandesign):
Replying to [comment:3 Schamschula]:
> I've looked at my local install (Sonoma/arm64). I get
> {{{
> % mkoctfile -p CC
> /usr/bin/clang
> }}}
>
> and
>
> {{{
> % mkoctfile -p CXX
> /usr/bin/clang++ -std=gnu++11
> }}}
Yes, but that's not what happens with the package built on El Capitan:
{{{
% ./opt/local/bin/mkoctfile -p CC
/opt/local/bin/clang-mp-16
% ./opt/local/bin/mkoctfile -p CXX
/opt/local/bin/clang++-mp-16
}}}
Any port using the compiler specified by `mkoctfile` is wrong, regardless
whether `mkoctfile` said to use Xcode clang or some MacPorts clang. All
ports should use the compiler specified by `configure.cc`,
`configure.cxx`, etc.
--
Ticket URL: <https://trac.macports.org/ticket/70277#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list