Bug 1422930

Summary: dnf upgrade yielded non-functioning compiler
Product: [Fedora] Fedora Reporter: mulhern <amulhern>
Component: rustAssignee: Rust SIG <rust-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: ignatenko, jistone, rust-sig, TicoTimo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rust-1.15.1-1.fc24.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-26 00:18:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mulhern 2017-02-16 15:03:32 UTC
Description of problem:

Upgraded to current dnf Rust version: 1.15.1

Version-Release number of selected component (if applicable):


How reproducible:

Consistent (2 times).

Steps to Reproduce:
1. dnf upgrade rust
2. Try to run compiler, fail.

Actual results:

Compiler appears not to have been built properly.

Expected results:

New working compiler.

Additional info:

[mulhern@dhcp-25-209 stratisd]$ cargo build --verbose
error: process didn't exit successfully: `rustc -vV` (exit code: 127)
--- stderr
rustc: symbol lookup error: /usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-570da8f8.so: undefined symbol: _ZN4llvm13MipsSubTypeKVE

dnf downgrade rust --allowerasing worked fine.

Comment 1 Josh Stone 2017-02-16 17:19:18 UTC
I'm guessing you have llvm-3.8.0-1 -- can you try updating that?  The Mips target was enabled in an update, and here is an unintended consequence.  If that works, I'll update the spec to Requires: >= llvm-3.8.1-2.

Comment 2 mulhern 2017-02-16 18:08:13 UTC
You were right, LLVM update fixed the problem. Thanks!

Comment 3 Fedora Update System 2017-02-17 02:58:28 UTC
cargo-0.16.0-1.fc24 rust-1.15.1-1.fc24.1 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-9e7217f11d

Comment 4 Fedora Update System 2017-02-17 02:58:38 UTC
cargo-0.16.0-1.fc24 rust-1.15.1-1.fc24.1 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-9e7217f11d

Comment 5 Fedora Update System 2017-02-17 21:48:42 UTC
cargo-0.16.0-1.fc24, rust-1.15.1-1.fc24.1 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-9e7217f11d

Comment 6 Fedora Update System 2017-02-26 00:18:41 UTC
cargo-0.16.0-1.fc24, rust-1.15.1-1.fc24.1 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.