[MacPorts] #65225: antlr @2.7.7_3 fails to build on macOS 12: "Unable to locate a Java Runtime."

MacPorts noreply at macports.org
Thu Jun 2 12:33:14 UTC 2022


#65225: antlr @2.7.7_3 fails to build on macOS 12: "Unable to locate a Java
Runtime."
-------------------------+----------------------
  Reporter:  hyodae-seo  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  monterey
      Port:  antlr       |
-------------------------+----------------------

Comment (by simona-liens):

 Hello,
 I've a new (so I don't do migration) mac monterey, I woulk like to install
 nco, but
 sudo port install nco:....
 --->  Computing dependencies for nco
 The following dependencies will be installed:
  antlr
  bison
  bison-runtime
  gmp
  gnutls
  gsl
  libedit
  libffi
  libtasn1
  libxslt
  nettle
  p11-kit
  pcre2
  perl5.34
  texinfo
  wget
  xercesc3
 Continue? [Y/n]: y
 --->  Fetching archive for antlr
 --->  Attempting to fetch antlr-2.7.7_3.darwin_21.arm64.tbz2 from
 https://packages.macports.org/antlr
 --->  Attempting to fetch antlr-2.7.7_3.darwin_21.arm64.tbz2 from
 https://mse.uk.packages.macports.org/antlr
 --->  Attempting to fetch antlr-2.7.7_3.darwin_21.arm64.tbz2 from
 https://fra.de.packages.macports.org/antlr
 --->  Building antlr
 Error: Failed to build antlr: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_antlr/antlr/main.log
 for details.


 antlr is already installed :

 port installed | grep antlr
 antlr3 @3.5.2_0 (active)

 But I cannot install the oldest on (2.7.7_3.darwin_21. because is not
 available, if I understand well).

 Do you know if there is a workaround to install nco without antlr or
 without this old version?
 thanks,
 Simona

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


More information about the macports-tickets mailing list