[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 15:32:06 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 kencu):

 The custom command used to regenerate packages:
 {{{
 post-activate {
     set octave_install_share ${prefix}/share/octave/packages
     set octave_install_lib   ${prefix}/lib/octave/packages
     system "${prefix}/bin/octave-cli -q -f -H --eval 'try; pkg prefix
 ${octave_install_share} ${octave_install_lib}; pkg -verbose -global
 rebuild; disp(lasterror.message); catch; exit(1); end_try_catch;'"
 }
 }}}

 probably needs to have the selected compiler sent to it, otherwise it uses
 the one burned in when it was built:
 {{{
 % /opt/local/bin/mkoctfile-9.2.0 -p CXX
 /usr/bin/clang++ -std=gnu++11

 % CXX=g++ /opt/local/bin/mkoctfile-9.2.0 -p CXX
 g++
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70277#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list