Opened 2 years ago

Last modified 8 months ago

#65225 closed defect

antlr @2.7.7_3 fails to build on macOS 12: "Unable to locate a Java Runtime." — at Version 2

Reported by: hyodae-seo (Hyodae Seo) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: monterey Cc:
Port: antlr

Description (last modified by jmroot (Joshua Root))

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)

Change History (2)

comment:1 Changed 2 years ago by hyodae-seo (Hyodae Seo)

Description: modified (diff)

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: monterey added; antlr removed
Port: antlr added
Summary: antlr-2.7.7_3.darwin_21.arm64.tbz2 missingantlr @2.7.7_3 fails to build on macOS 12: "Unable to locate a Java Runtime."

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/.

Note: See TracTickets for help on using tickets.