[MacPorts] #54308: cargo: configure: error: needed, but unable to find any of: CFG_CARGO cargo

MacPorts noreply at macports.org
Tue Jul 4 15:00:37 UTC 2017


#54308: cargo: configure: error: needed, but unable to find any of: CFG_CARGO cargo
-----------------------+------------------------
  Reporter:  ostefano  |      Owner:  seanfarley
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.1
Resolution:            |   Keywords:
      Port:  cargo     |
-----------------------+------------------------

Comment (by grr):

 Replying to [comment:3 raimue]:
 > Looks like cargo has a dependency on itself: https://github.com/rust-
 lang/cargo/issues/3437
 >
 > In order to bootstrap we would need to additionally download a prior
 release as a binary, similar to how it is done for rust itself.

 Examples from other projects bootstrapping off the prebuilt cargo
 binaries:

 * https://github.com/Linuxbrew/homebrew-
 core/issues/1588#issuecomment-277258146
 * https://github.com/Homebrew/homebrew-
 core/blob/e71290ba967f41f4e9e59b01bae3beb659872031/Formula/rust.rb#L54
 * https://github.com/dhuseby/cargo-bootstrap

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


More information about the macports-tickets mailing list