Opened 7 years ago
Closed 2 years 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)
Change History (15)
Changed 7 years ago by rriosm (Ricardo Rios)
Attachment: | rustc_llvm.rtf added |
---|
comment:1 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | MarcusCalhoun-Lopez added |
---|
comment:2 Changed 7 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 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attachment: | Portfile.diff added |
---|
comment:3 follow-up: 6 Changed 7 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 7 years ago by mf2k (Frank Schima)
Owner: | set to g5pw |
---|---|
Status: | new → assigned |
comment:5 Changed 7 years ago by Marcus Calhoun-Lopez <marcuscalhounlopez@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 7 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:8 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | herbygillot added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Summary: | rust 1.25.0 won't compile in MacOS HighSierra 10.13.4 → rust @1.25.0 won't compile when llvm is installed with the universal variant |
The workaround that was committed to resolve this ticket was recently removed so the problem has reappeared. Can the workaround be put back in, please?
comment:9 Changed 4 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:10 Changed 4 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy removed |
---|
comment:11 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:13 Changed 2 years ago by mascguy (Christopher Nielsen)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Closing as fixed. If this is still an issue, please reopen.
Logfile of rust 1.25.0 compilation