[MacPorts] #65225: antlr @2.7.7_3 fails to build on macOS 12: "Unable to locate a Java Runtime." (was: antlr-2.7.7_3.darwin_21.arm64.tbz2 missing)

MacPorts noreply at macports.org
Wed May 25 05:19:06 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       |
-------------------------+----------------------
Changes (by jmroot):

 * keywords:  antlr => monterey
 * port:   => antlr


Old description:

> unable to install antlr (which is required by nco) on new Mac
>
> MacBook-Air: sudo port install antlr
> --->  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://ywg.ca.packages.macports.org/mirror/macports/packages/antlr
> --->  Attempting to fetch antlr-2.7.7_3.darwin_21.arm64.tbz2 from
> https://mse.uk.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.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port antlr failed
>

> In
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_antlr/antlr/main.log
>
> :info:archivefetch --->  antlr-2.7.7_3.darwin_21.arm64.tbz2 doesn't seem
> to exist in /opt/local/var/macports/incoming/verified
> :msg:archivefetch --->  Attempting to fetch
> antlr-2.7.7_3.darwin_21.arm64.tbz2 from
> https://packages.macports.org/antlr
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> antlr-2.7.7_3.darwin_21.arm64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/antlr
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> antlr-2.7.7_3.darwin_21.arm64.tbz2 from
> https://mse.uk.packages.macports.org/antlr
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
>

> So there is no antlr-2.7.7_3.darwin_21.arm64.tbz2 in
> https://ywg.ca.packages.macports.org/mirror/macports/packages/antlr
> (there is antlr-2.7.7_3.darwin_20.arm64.tbz2)

New description:

 unable to install antlr (which is required by nco) on new Mac
 {{{
 MacBook-Air: sudo port install antlr
 --->  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://ywg.ca.packages.macports.org/mirror/macports/packages/antlr
 --->  Attempting to fetch antlr-2.7.7_3.darwin_21.arm64.tbz2 from
 https://mse.uk.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.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port antlr failed
 }}}

 In
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_antlr/antlr/main.log
 {{{
 :info:archivefetch --->  antlr-2.7.7_3.darwin_21.arm64.tbz2 doesn't seem
 to exist in /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch
 antlr-2.7.7_3.darwin_21.arm64.tbz2 from
 https://packages.macports.org/antlr
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 antlr-2.7.7_3.darwin_21.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/antlr
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 antlr-2.7.7_3.darwin_21.arm64.tbz2 from
 https://mse.uk.packages.macports.org/antlr
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 }}}

 So there is no antlr-2.7.7_3.darwin_21.arm64.tbz2 in
 https://ywg.ca.packages.macports.org/mirror/macports/packages/antlr
 (there is antlr-2.7.7_3.darwin_20.arm64.tbz2)

--

Comment:

 You didn't include the part of the log with the actual build failure, but
 I assume it's the same one that can be seen at
 https://ports.macports.org/port/antlr/builds/.

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


More information about the macports-tickets mailing list