mosh failed to build from source in Fedora rawhide
For details on the mass rebuild see:
Please fix mosh at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
mosh will be orphaned. Before branching of Fedora 30,
mosh will be retired, if it still fails to build.
For more details on the FTBFS policy, please visit:
Created attachment 1464448 [details]
Created attachment 1464449 [details]
file root.log too big, will only attach last 32768 bytes
Created attachment 1464450 [details]
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.
I tried to run mosh-1.3.0-1.el7.x86_64.rpm but I kept getting this error:
mosh-server: symbol lookup error: mosh-server: undefined symbol: _ZNK6google8protobuf11MessageLite25InitializationErrorStringEv
Connection to 22.214.171.124 closed.
/usr/bin/mosh: Did not find mosh server startup message. (Have you installed mosh on your server?)
Signature : RSA/SHA256, Sun 26 Mar 2017 02:28:23 PM PDT, Key ID 6a2faea2352c64e5
Source RPM : mosh-1.3.0-1.el7.src.rpm
Build Date : Sun 26 Mar 2017 02:25:46 PM PDT
Build Host : buildhw-10.phx2.fedoraproject.org
I downloaded the source package and tried to build it, and it failed in the configuration step, with 'cpp failed sanity check'.
By installing gcc-g++, (yum install -y gcc-c++), I was able to rebuild the package and get mosh running.
The mosh spec file needs to specify a build dependency on gcc-g++, I think.
Fixed in rawhide via https://src.fedoraproject.org/rpms/mosh/c/ff4e14758f3eac395f4607c11b0af2ef741b1680?branch=master