[MacPorts] #59786: perl5.30 forces modules to build with clang-3.4, though they don't declare a dependency on it

MacPorts noreply at macports.org
Wed Feb 5 16:16:55 UTC 2020


#59786: perl5.30 forces modules to build with clang-3.4, though they don't declare
a dependency on it
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  mojca
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  perl5.30    |
-------------------------+----------------------

Comment (by ryandesign):

 Another remaining example:
 [https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/18899/steps
 /install-port/logs/stdio p5.28-io-tty]:

 {{{
 Now let's see what we can find out about your system
 (logfiles of failing tests are available in the conf/ dir)...

 ERROR: cannot run the configured compiler '/opt/local/bin/clang-mp-3.4'
 (see conf/compilerok.log). Suggestions:
 1) The compiler '/opt/local/bin/clang-mp-3.4' is not in your PATH. Add it
    to the PATH and try again. OR
 2) The compiler isn't installed on your system. Install it. OR
 3) You only have a different compiler installed (e.g. 'gcc').
    Either fix the compiler config in the perl Config.pm
    or install a perl that was built with the right compiler
    (you could build perl yourself with the available compiler).

 Note: this is a system-administration issue, please ask your local
 admin for help. Thank you.
 }}}

 It is so dumb that perl uses the compiler that was used to build itself to
 build other modules. What an idiotic design decision. Yes, let's replace
 it with /usr/bin/cc I guess.

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


More information about the macports-tickets mailing list