Opened 4 years ago
Closed 4 years ago
#62377 closed defect (fixed)
bat @0.17.1 build failure on Apple Silicon: failed to run `rustc` to learn about target-specific information
Reported by: | dzhub | Owned by: | l2dy (Zero King) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | arm64 | Cc: | herbygillot (Herby Gillot) |
Port: | bat |
Description
Hi folks,
I was trying to upgrade some ports on a MacBook pro running macOS 11.2.2 with Apple Silicon, and part of that process was to upgrade bat from version 0.13.0_0 to 0.17.1. The build process stopped with an error, please see the attached main.log.
Is there anything I can do?
Thanks for any help.
Attachments (1)
Change History (8)
Changed 4 years ago by dzhub
comment:1 Changed 4 years ago by jmroot (Joshua Root)
Cc: | herbygillot added |
---|---|
Keywords: | arm64 added |
Owner: | set to l2dy |
Status: | new → assigned |
Summary: | Failed to build bat: error: failed to run `rustc` to learn about target-specific information → bat @0.17.1 build failure on Apple Silicon: failed to run `rustc` to learn about target-specific information |
comment:2 Changed 4 years ago by l2dy (Zero King)
comment:3 Changed 4 years ago by jmroot (Joshua Root)
The cargo port sets supported_archs x86_64
. If a matching supported_archs option were added to the cargo portgroup, then ports using it should be installable as x86_64 on arm64 hardware for the time being, right?
comment:4 Changed 4 years ago by jmroot (Joshua Root)
The Trac ticket for adding arm64 support to rust and cargo is #60943, BTW.
comment:5 Changed 4 years ago by herbygillot (Herby Gillot)
Rust has now been updated with native ARM64 support. Can you try again?
comment:6 Changed 4 years ago by dzhub
I just tried, and it worked seemlessly.
Thank you very much! :-)
Also, a big part of my upgrading process has worked flawlessly. Now only building of ossp-uuid did not work, but I'll open another ticket for that.
comment:7 Changed 4 years ago by herbygillot (Herby Gillot)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
OK that's good to hear. Closing this.
Blocked by https://github.com/macports/macports-ports/pull/9904, we need to get rust updated first.