Bug 1435585
Summary: | FTBFS with Rust enabled for all arches | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
Component: | firefox | Assignee: | Jan Horak <jhorak> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | bugproxy, gecko-bugs-nobody, hannsj_uhl, jhorak, jistone, kengert, normand, pjasicek, stransky, timo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-05-29 10:19:25 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: | |||
Bug Depends On: | |||
Bug Blocks: | 467765, 1071880 |
Description
Dan Horák
2017-03-24 10:03:51 UTC
FYI, I made few days ago two rust related patches for ppc64 and ppc64le to allow to build firefox (on openSUSE)(1) I assume this should apply to fedora. I do not know how to reconcile the two as only one patch, because do not understand enough the internals of firefox. (1) https://michelmno.fedorapeople.org/MozillaFirefox_openSUSE/ At least x86_64 looks like it got through... :) > DEBUG: Executing: `/usr/bin/rustc --crate-type staticlib --target=i586-unknown-linux-gnu -o /tmp/conftestKgxLjk.rlib /tmp/conftest0If1n3.rs` > DEBUG: The command returned non-zero exit status 101. > DEBUG: Its error output was: > DEBUG: | error[E0463]: can't find crate for `std` > DEBUG: | | > DEBUG: | = note: the `i586-unknown-linux-gnu` target may not be installed > DEBUG: | > DEBUG: | error: aborting due to previous error > DEBUG: | > ERROR: Cannot compile for i686-pc-linux-gnu with /usr/bin/rustc This should be targeting i686-unknown-linux-gnu, not i586. > ERROR: Don't know how to translate armv7l-unknown-linux-gnueabihf for rustc armv7-unknown-linux-gnueabihf > ERROR: Don't know how to translate s390x-ibm-linux-gnu for rustc s390x-unknown-linux-gnu > ERROR: Don't know how to translate aarch64-unknown-linux-gnu for rustc > ERROR: Don't know how to translate powerpc64-unknown-linux-gnu for rustc > ERROR: Don't know how to translate powerpc64le-unknown-linux-gnu for rustc These triples look fine as-is. If it helps, you could just fall back to rustc's own triple from: $ /usr/bin/rustc -Vv rustc 1.16.0 binary: rustc commit-hash: unknown commit-date: unknown host: x86_64-unknown-linux-gnu release: 1.16.0 LLVM version: 3.9 That's what it will use if you don't specify --target=... at all. (In reply to Michel Normand from comment #1) > FYI, I made few days ago two rust related patches for ppc64 and ppc64le to > allow to build firefox (on openSUSE)(1) I assume this should apply to > fedora. > > I do not know how to reconcile the two as only one patch, because do not > understand enough the internals of firefox. > > (1) https://michelmno.fedorapeople.org/MozillaFirefox_openSUSE/ Thanks. Is the bug reported upstream or shall we report that? (In reply to Martin Stransky from comment #4) > (In reply to Michel Normand from comment #1) > > FYI, I made few days ago two rust related patches for ppc64 and ppc64le to > > allow to build firefox (on openSUSE)(1) I assume this should apply to > > fedora. > > > > I do not know how to reconcile the two as only one patch, because do not > > understand enough the internals of firefox. > > > > (1) https://michelmno.fedorapeople.org/MozillaFirefox_openSUSE/ > > Thanks. Is the bug reported upstream or shall we report that? I did not reported it upstream. Okay, reported as https://bugzilla.mozilla.org/show_bug.cgi?id=1368458 |