Opened 8 years ago

Closed 7 years ago

#53804 closed defect (fixed)

cargo @0.14.0: build error

Reported by: mathomp4 (Matthew Thompson) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: hmeine (Hans Meine), SickTeddyBear
Port: cargo

Description

When I tried to build cargo (actually ripgrep), I got:

(183) $ port install cargo
--->  Computing dependencies for cargo
--->  Building cargo
Error: Failed to build cargo: command execution failed
Error: See /Users/mathomp4/macports/var/macports/logs/_Users_mathomp4_macports_var_macports_sources_distfiles.macports.org_ports_devel_cargo/cargo/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port cargo failed

I've attached the main.log from above. As I have zero rust experience, I can't even attempt an explanation.

I can also attach info from a port -v install if needed.

(Note: I am installing macports in userspace a la https://github.com/citibeth/usermacports and I was able to install cargo (via a ripgrep install) with 2.4.0.)

Attachments (1)

main.log (417.1 KB) - added by mathomp4 (Matthew Thompson) 8 years ago.
Log file from incomplete build

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by mathomp4 (Matthew Thompson)

Attachment: main.log added

Log file from incomplete build

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: sean@… removed
Owner: set to seanfarley
Status: newassigned

comment:2 Changed 7 years ago by mohd-akram (Mohamed Akram)

Cc: mohd-akram added

comment:3 Changed 7 years ago by hmeine (Hans Meine)

I also got a build problem, but my log looks different. How can you even get this far? If I understand https://github.com/rust-lang/cargo/issues/3437 right, one needs cargo in order to build cargo, so cargo cannot build on a fresh MacPorts installation, right?

comment:4 in reply to:  3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: hmeine added

Replying to hmeine:

I also got a build problem, but my log looks different. How can you even get this far? If I understand https://github.com/rust-lang/cargo/issues/3437 right, one needs cargo in order to build cargo, so cargo cannot build on a fresh MacPorts installation, right?

That's a different problem; see #54308.

Presumably the older version of cargo the reporter of this ticket was using did not have that requirement.

comment:5 Changed 7 years ago by mohd-akram (Mohamed Akram)

Cc: mohd-akram removed

comment:6 Changed 7 years ago by SickTeddyBear

Cc: SickTeddyBear added

comment:7 Changed 7 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

I believe this is closed since upgrading both rust and cargo. If not, feel free to reopen and attach a new build log.

Note: See TracTickets for help on using tickets.