Project

General

Profile

Bug #50436

master FTBFS with GCC11 on openSUSE Tumbleweed

Added by Nathan Cutler almost 2 years ago. Updated almost 2 years ago.

Status:
Can't reproduce
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In an openSUSE Tumbleweed environment, Ceph (master branch) fails to build from source when using GCC 11:

[ 3256s] In file included from /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-
suse-linux/boost/include/boost/beast/http/empty_body.hpp:15,
[ 3256s]                  from /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/src/lib
rbd/migration/HttpProcessorInterface.h:7,
[ 3256s]                  from /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/src/lib
rbd/migration/HttpClient.h:10,
[ 3256s]                  from /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/src/lib
rbd/migration/HttpClient.cc:4:
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-suse-linux/boost/inclu
de/boost/beast/http/message.hpp: In instantiation of 'class boost::beast::http::header<false, b
oost::beast::http::basic_fields<std::allocator<char> > >':
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-suse-linux/boost/inclu
de/boost/beast/http/message.hpp:494:7:   required from 'class boost::beast::http::message<false
, boost::beast::http::empty_body, boost::beast::http::basic_fields<std::allocator<char> > >'
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-suse-linux/boost/inclu
de/boost/beast/http/parser.hpp:61:55:   required from 'class boost::beast::http::parser<false, 
boost::beast::http::empty_body>'
[ 3256s] /usr/include/c++/11/type_traits:1199:4:   required from 'struct std::__is_trivially_copy_constructible_impl<boost::beast::http::parser<false, boost::beast::http::empty_body>, true>'
[ 3256s] /usr/include/c++/11/type_traits:1204:12:   required from 'struct std::is_trivially_copy_constructible<boost::beast::http::parser<false, boost::beast::http::empty_body> >'
[ 3256s] /usr/include/c++/11/type_traits:3127:43:   required from 'constexpr const bool std::is_trivially_copy_constructible_v<boost::beast::http::parser<false, boost::beast::http::empty_body> >'
[ 3256s] /usr/include/c++/11/optional:663:11:   required from 'class std::optional<boost::beast::http::parser<false, boost::beast::http::empty_body> >'
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/src/librbd/migration/HttpClient.cc:221:63:   required from here
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-suse-linux/boost/include/boost/beast/http/message.hpp:265:38: error: static assertion failed: Fields type requirements not met
[ 3256s]   265 |     static_assert(is_fields<Fields>::value,
[ 3256s]       |                                      ^~~~~
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-suse-linux/boost/include/boost/beast/http/message.hpp:265:38: note: 'std::integral_constant<bool, false>::value' evaluates to false
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-suse-linux/boost/include/boost/beast/http/message.hpp: In instantiation of 'class boost::beast::http::header<true, boost::beast::http::basic_fields<std::allocator<char> > >':
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-suse-linux/boost/include/boost/beast/http/message.hpp:494:7:   required from 'class boost::beast::http::message<true, boost::beast::http::empty_body, boost::beast::http::basic_fields<std::allocator<char> > >'
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/src/librbd/migration/HttpClient.cc:800:6:   required from here
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-suse-linux/boost/include/boost/beast/http/message.hpp:61:38: error: static assertion failed: Fields type requirements not met
[ 3256s]    61 |     static_assert(is_fields<Fields>::value,
[ 3256s]       |                                      ^~~~~
[ 3256s] /home/abuild/rpmbuild/BUILD/ceph-17.0.0-3329-g4f6adfd148/x86_64-suse-linux/boost/include/boost/beast/http/message.hpp:61:38: note: 'std::integral_constant<bool, false>::value' evaluates to false
[ 3259s] [ 83%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/migration/HttpStream.cc.o
[ 3270s] [ 84%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_sts.cc.o
[ 3271s] [ 84%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_perf_counters.cc.o
[ 3272s] make[2]: *** [src/librbd/CMakeFiles/rbd_internal.dir/build.make:1590: src/librbd/CMakeFiles/rbd_internal.dir/migration/HttpClient.cc.o] Error 1

History

#1 Updated by Nathan Cutler almost 2 years ago

  • Subject changed from master FTBFS with GCC11 to master FTBFS with GCC11 on openSUSE Tumbleweed

#2 Updated by Nathan Cutler almost 2 years ago

  • Description updated (diff)

#3 Updated by Nathan Cutler almost 2 years ago

  • Status changed from New to Can't reproduce
  • Backport deleted (pacific)

The fix for this issue is in GCC 11.1 RC1, apparently. Updating to that version made the problem go away.

Also available in: Atom PDF