Opened 6 years ago

Closed 20 months ago

#56351 closed defect (fixed)

rust @1.25.0 won't compile when llvm is installed with the universal variant

Reported by: rriosm (Ricardo Rios) Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version: 2.4.3
Keywords: haspatch Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), herbygillot (Herby Gillot), mascguy (Christopher Nielsen)
Port: rust

Description

Hi,

I'm trying to install port rust 1.25.0 but the installation process does not complete. The problem seems to be with the rustc_llvm source and llvm-6.0/lib/libLLVMX86Disassembler.a, which is reported to be too small to be an archive.

Any help would be welcomed!

System: MacOS 10.13.4

Attachments (2)

rustc_llvm.rtf (157.0 KB) - added by rriosm (Ricardo Rios) 6 years ago.
Logfile of rust 1.25.0 compilation
Portfile.diff (3.0 KB) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 6 years ago.

Download all attachments as: .zip

Change History (15)

Changed 6 years ago by rriosm (Ricardo Rios)

Attachment: rustc_llvm.rtf added

Logfile of rust 1.25.0 compilation

comment:1 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:2 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Keywords: haspatch added

I encounter this same problem.
It seems the new version of Rust does not like the fact that LLVM is built as a universal.
I created an upstream bug report.
Attached is a rather ugly workaround.

Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile.diff added

comment:3 Changed 6 years ago by mf2k (Frank Schima)

Keywords: rustc_llvm removed
Milestone: MacPorts 2.4.4
Port: 1.25.0 removed

The Milestone field is for use by Macports team members only, please do not set it.

In the future, please Cc the port maintainer(s) (port info --maintainers rust), if any.

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Owner: set to g5pw
Status: newassigned

comment:5 Changed 6 years ago by Marcus Calhoun-Lopez <marcuscalhounlopez@…>

Resolution: fixed
Status: assignedclosed

comment:6 in reply to:  3 Changed 6 years ago by rriosm (Ricardo Rios)

Ok, sorry!

Replying to mf2k:

The Milestone field is for use by Macports team members only, please do not set it.

In the future, please Cc the port maintainer(s) (port info --maintainers rust), if any.

comment:7 Changed 6 years ago by rriosm (Ricardo Rios)

Thanks for the help!

comment:8 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: herbygillot added
Resolution: fixed
Status: closedreopened
Summary: rust 1.25.0 won't compile in MacOS HighSierra 10.13.4rust @1.25.0 won't compile when llvm is installed with the universal variant

comment:9 Changed 4 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:10 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy removed

comment:11 Changed 20 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:12 Changed 20 months ago by mascguy (Christopher Nielsen)

Is this still an issue?

comment:13 Changed 20 months ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: reopenedclosed

Closing as fixed. If this is still an issue, please reopen.

Note: See TracTickets for help on using tickets.