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

MacPorts noreply at macports.org
Fri Sep 17 11:11:15 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):

 kesterlester - The error from your log is

 {{{
 :info:build [ERROR] COMPILATION ERROR :
 11235   :info:build [INFO]
 -------------------------------------------------------------
 11236   :info:build [ERROR] No compiler is provided in this environment.
 Perhaps you are running on a JRE rather than a JDK?
 11237   :info:build [INFO] 1 error
 11238   :info:build [INFO]
 -------------------------------------------------------------
 11239   :info:build [INFO]
 ------------------------------------------------------------------------
 11240   :info:build [INFO] BUILD FAILURE
 11241   :info:build [INFO]
 ------------------------------------------------------------------------
 11242   :info:build [INFO] Total time:  24.524 s
 11243   :info:build [INFO] Finished at: 2021-08-16T13:09:13+01:00
 11244   :info:build [INFO]
 ------------------------------------------------------------------------
 11245   :info:build [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-
 compile) on project commons-lang3: Compilation failure
 11246   :info:build [ERROR] No compiler is provided in this environment.
 Perhaps you are running on a JRE rather than a JDK?
 11247   :info:build [ERROR]
 11248   :info:build [ERROR] -> [Help 1]
 11249   :info:build [ERROR]
 11250   :info:build [ERROR] To see the full stack trace of the errors, re-
 run Maven with the -e switch.
 11251   :info:build [ERROR] Re-run Maven using the -X switch to enable
 full debug logging.
 11252   :info:build [ERROR]
 11253   :info:build [ERROR] For more information about the errors and
 possible solutions, please read the following articles:
 11254   :info:build [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 11255   :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_java_commons-lang3/commons-lang3/work
 /commons-lang3-3.11-src" && mvn3
 -Dmaven.repo.local=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_java_commons-lang3/commons-lang3/work
 /commons-lang3-3.11-src/.m2/repository -Drat.ignoreErrors=true -DskipTests
 }}}

 what Have JDKs environment(s) do you have installed ? I am using the
 MacPorts openjdk11 env

 {{{
 s > javac --version
 javac 11.0.12
 }}}

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


More information about the macports-tickets mailing list