Bug 1422930 - dnf upgrade yielded non-functioning compiler
Summary: dnf upgrade yielded non-functioning compiler
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rust
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rust SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-16 15:03 UTC by mulhern
Modified: 2017-02-26 00:18 UTC (History)
4 users (show)

Fixed In Version: rust-1.15.1-1.fc24.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-26 00:18:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.