[MacPorts] #63375: commons-lang3 @3.11: No compiler is provided in this environment

MacPorts noreply at macports.org
Mon Sep 20 09:42:09 UTC 2021


#63375: commons-lang3 @3.11: No compiler is provided in this environment
----------------------------+--------------------
  Reporter:  kesterlester   |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.1
Resolution:                 |   Keywords:
      Port:  commons-lang3  |
----------------------------+--------------------

Comment (by cjones051073):

 OK. I can reproduce the build failure if I install openjdk16, so get

 {{{
 Oberon ~/Projects/MacPorts/ports > javac -version
 javac 16.0.2
 }}}

 and uninstalling that so 11 is used works again.

 I am afraid you are likely hitting a big in macOS 11 itself that prevents
 macports correctly picking the java version it needs

 https://trac.macports.org/ticket/61445

 I think your only option for no is to uninstall the non-macports JDK you
 are using, however you installed that, and try against with only macports
 openjdk 11.

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


More information about the macports-tickets mailing list