Bug 817555
Summary: | mosh FTBFS on ARM | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Robinson <pbrobinson> |
Component: | mosh | Assignee: | Alex Chernyakhovsky <achernya> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | achernya |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-07-02 21:46:33 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: | 834447 | ||
Bug Blocks: | 245418 |
Description
Peter Robinson
2012-04-30 13:33:16 UTC
Hi, I've talked with mosh upstream about this, and we're not entirely sure what's going on because mosh has been successfully built on Debian ARM. Do you know if it is possible to get access to a Fedora Project ARM testing machine so that we can take care of this? > Do you know if it is possible to get access to a Fedora Project ARM testing
> machine so that we can take care of this?
Fedora doesn't generally have devices to provide remote access. Do you have access to any ARM based devices as it's not hard to boot a Fedora image off a SD card to get a Fedora ARM platform running.
The actual failure is: network.cc: In member function 'std::string Network::Packet::tostring(Crypto::Session*)': network.cc:76:28: error: narrowing conversion of '({...})' from 'unsigned int' to 'uint16_t {aka short unsigned int}' inside { } is ill-formed in C++11 [-Werror=narrowing] network.cc:76:50: error: narrowing conversion of '({...})' from 'unsigned int' to 'uint16_t {aka short unsigned int}' inside { } is ill-formed in C++11 [-Werror=narrowing] So I'm not sure if that's a change in gcc 4.7.x as Debian I don't believe uses such a new version of gcc or because Fedora has tightens the build failure errors. I'm expecting to receive a Raspberry Pi soon, but I suppose I could try extracting a Fedora image on one of my Android devices as a chroot. I looked into the error and it appears to be a conflict between the glibc headers and C++11 automatic type promotion to avoid overflow, but I'll need to set up my ARM environment before I can verify. We've traced the bug to an issue in glibc, http://sourceware.org/bugzilla/show_bug.cgi?id=12194. Additionally, I've written a work-around patch and submitted it to upstream (https://github.com/keithw/mosh/pull/288) but I do not want to include it in the package yet as this is actually a glibc bug. This is now built in rawhide with the latest glibc in rawhide. We still don't have it built for F-17 Hi Peter, Just wanted to let you know that I just uploaded mosh 1.2.3, which contains the workaround fixes, so it should now build on F17 as well. |