Opened 2 years ago

Last modified 2 weeks ago

#56351 reopened defect

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
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) 2 years ago.
Logfile of rust 1.25.0 compilation
Portfile.diff (3.0 KB) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 2 years ago.

Download all attachments as: .zip

Change History (11)

Changed 2 years ago by rriosm (Ricardo Rios)

Attachment: rustc_llvm.rtf added

Logfile of rust 1.25.0 compilation

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

Cc: MarcusCalhoun-Lopez added

comment:2 Changed 2 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 2 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile.diff added

comment:3 Changed 2 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 2 years ago by mf2k (Frank Schima)

Owner: set to g5pw
Status: newassigned

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

Resolution: fixed
Status: assignedclosed

comment:6 in reply to:  3 Changed 2 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 2 years ago by rriosm (Ricardo Rios)

Thanks for the help!

comment:8 Changed 2 weeks ago by ryandesign (Ryan 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 2 weeks ago by mascguy

Cc: mascguy added
Note: See TracTickets for help on using tickets.