[35/102] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1_build-abi_x86_64.amd64 -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/../third-party -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/../third-party/llhttp/include -I/usr/include/libxml2 -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1_build-abi_x86_64.amd64/lib/includes -march=core-avx2 -O2 -pipe -Wall -Wformat-security -std=c++20 -MD -MT src/CMakeFiles/nghttpx_static.dir/http2.cc.o -MF src/CMakeFiles/nghttpx_static.dir/http2.cc.o.d -o src/CMakeFiles/nghttpx_static.dir/http2.cc.o -c /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.cc FAILED: src/CMakeFiles/nghttpx_static.dir/http2.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1_build-abi_x86_64.amd64 -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/../third-party -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/../third-party/llhttp/include -I/usr/include/libxml2 -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1_build-abi_x86_64.amd64/lib/includes -march=core-avx2 -O2 -pipe -Wall -Wformat-security -std=c++20 -MD -MT src/CMakeFiles/nghttpx_static.dir/http2.cc.o -MF src/CMakeFiles/nghttpx_static.dir/http2.cc.o.d -o src/CMakeFiles/nghttpx_static.dir/http2.cc.o -c /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.cc In file included from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/util.h:57, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.h:40, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.cc:25: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h: In constructor ‘constexpr nghttp2::ImmutableString::ImmutableString(const string&)’: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h:233:19: error: call to non-‘constexpr’ function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ 233 | : len(s.size()), base(copystr(std::begin(s), std::end(s))) {} | ~~~~~~^~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/string:55, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.h:32, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.cc:25: /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/bits/basic_string.h:920:7: note: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ declared here 920 | size() const _GLIBCXX_NOEXCEPT | ^~~~ In file included from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/util.h:57, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.h:40, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.cc:25: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h: In function ‘constexpr bool nghttp2::operator==(const nghttp2::ImmutableString&, const string&)’: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h:325:32: error: call to non-‘constexpr’ function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ 325 | return lhs.size() == rhs.size() && | ~~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/string:55, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.h:32, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.cc:25: /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/bits/basic_string.h:920:7: note: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ declared here 920 | size() const _GLIBCXX_NOEXCEPT | ^~~~ In file included from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/util.h:57, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.h:40, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.cc:25: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h: In constructor ‘constexpr nghttp2::StringRef::StringRef(const string&)’: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h:363:59: error: call to non-‘constexpr’ function ‘const _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ 363 | constexpr StringRef(const std::string &s) : base(s.c_str()), len(s.size()) {} | ~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/string:55, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.h:32, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/http2.cc:25: /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/bits/basic_string.h:2320:7: note: ‘const _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ declared here 2320 | c_str() const _GLIBCXX_NOEXCEPT | ^~~~~ [36/102] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1_build-abi_x86_64.amd64 -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/../third-party -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/../third-party/llhttp/include -I/usr/include/libxml2 -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1_build-abi_x86_64.amd64/lib/includes -march=core-avx2 -O2 -pipe -Wall -Wformat-security -std=c++20 -MD -MT src/CMakeFiles/nghttpx_static.dir/app_helper.cc.o -MF src/CMakeFiles/nghttpx_static.dir/app_helper.cc.o.d -o src/CMakeFiles/nghttpx_static.dir/app_helper.cc.o -c /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/app_helper.cc FAILED: src/CMakeFiles/nghttpx_static.dir/app_helper.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1_build-abi_x86_64.amd64 -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/../third-party -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/../third-party/llhttp/include -I/usr/include/libxml2 -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1_build-abi_x86_64.amd64/lib/includes -march=core-avx2 -O2 -pipe -Wall -Wformat-security -std=c++20 -MD -MT src/CMakeFiles/nghttpx_static.dir/app_helper.cc.o -MF src/CMakeFiles/nghttpx_static.dir/app_helper.cc.o.d -o src/CMakeFiles/nghttpx_static.dir/app_helper.cc.o -c /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/app_helper.cc In file included from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/util.h:57, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/app_helper.cc:57: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h: In constructor ‘constexpr nghttp2::ImmutableString::ImmutableString(const string&)’: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h:233:19: error: call to non-‘constexpr’ function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ 233 | : len(s.size()), base(copystr(std::begin(s), std::end(s))) {} | ~~~~~~^~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/string:55, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/app_helper.cc:49: /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/bits/basic_string.h:920:7: note: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ declared here 920 | size() const _GLIBCXX_NOEXCEPT | ^~~~ In file included from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/util.h:57, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/app_helper.cc:57: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h: In function ‘constexpr bool nghttp2::operator==(const nghttp2::ImmutableString&, const string&)’: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h:325:32: error: call to non-‘constexpr’ function ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ 325 | return lhs.size() == rhs.size() && | ~~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/string:55, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/app_helper.cc:49: /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/bits/basic_string.h:920:7: note: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ declared here 920 | size() const _GLIBCXX_NOEXCEPT | ^~~~ In file included from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/util.h:57, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/app_helper.cc:57: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h: In constructor ‘constexpr nghttp2::StringRef::StringRef(const string&)’: /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/template.h:363:59: error: call to non-‘constexpr’ function ‘const _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ 363 | constexpr StringRef(const std::string &s) : base(s.c_str()), len(s.size()) {} | ~~~~~~~^~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/string:55, from /var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1/src/app_helper.cc:49: /usr/lib/gcc/x86_64-pc-linux-gnu/11/include/g++-v11/bits/basic_string.h:2320:7: note: ‘const _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ declared here 2320 | c_str() const _GLIBCXX_NOEXCEPT | ^~~~~ ninja: build stopped: subcommand failed. * ERROR: net-libs/nghttp2-1.62.1::gentoo failed (compile phase): * ninja -v -j3 -l0 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2554: Called cmake-multilib_src_compile * environment, line 753: Called multilib-minimal_src_compile * environment, line 1893: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 2160: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 1853: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 1851: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 507: Called multilib-minimal_abi_src_compile * environment, line 1887: Called multilib_src_compile * environment, line 2380: Called cmake_src_compile * environment, line 871: Called cmake_build * environment, line 838: Called eninja * environment, line 1320: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" * * If you need support, post the output of `emerge --info '=net-libs/nghttp2-1.62.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/nghttp2-1.62.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/nghttp2-1.62.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/nghttp2-1.62.1/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1_build-abi_x86_64.amd64' * S: '/var/tmp/portage/net-libs/nghttp2-1.62.1/work/nghttp2-1.62.1' Reproducible: Always
Please always include the full build.log and emerge --info.
Please attach the full build log and provide emerge --info in a comment.