Red Hat Bugzilla – Bug 1285812
ladish FTBFS in rawhide due to glibmm change to use C++11
Last modified: 2017-02-16 04:28:27 EST
ladish can't be built in rawhide at present, because it uses glibmm which now requires C++11 or later.
In file included from /usr/include/glibmm-2.4/glibmm/exception.h:25:0,
/usr/include/glibmm-2.4/glibmm/ustring.h:267:3: error: identifier 'noexcept' is a keyword in C++11 [-Werror=c++0x-compat]
In file included from /usr/include/c++/5.2.1/type_traits:35:0,
/usr/include/c++/5.2.1/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
The spec file needs to pass -std=gnu++11 or similar.
N.B. this will be "fixed" by the F24 mass rebuild using GCC 6, because the default will be -std=gnu++14
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.
More information and reason for this action is here:
This build was still failing in rawhide mass rebuild (f26).
I think the glibmm24 package needs an update. The headers are still using the old throw specifier.
For now, I rebuilt the ladish package with removing the -Werror. This can be revisited if glibmm24 package gets an fix. Feel free to reopen this bug
There's nothing wrong with the glibmm24 package, it uses throw() in C++14 which is fine (deprecated, but still valid). The reason for the build failure was that ladish uses -Werror