g++ 12 -std=gnu++20
Brian Inglis
Brian.Inglis@SystematicSW.ab.ca
Wed Oct 30 15:06:23 GMT 2024
Hi folks,
Trying to update a package using c++ (requires gcc 12.4+ for adequate c++ 2020
support) and getting confusing error messages.
It appears that noexcept in the header files may here redefined by the compiler
or headers as __GLIBC_NOEXCEPT.
Those errors look to me like a failure to detect that *glibc* is not available.
Or is *GLIBCXX* actually *glib* for *cxx*, so this could be a library or
compiler issue?
It appears that str::size() should be a constexpr but something messes it up.
Or is something else going on here?
More examples in the attached log, but this appears to be the gist:
```
CXX HtmlParser.o
In file included from
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/util.h:57,
from
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/http2.h:40,
from
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/http2.cc:25:
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In
constructor ‘constexpr nghttp2::ImmutableString::ImmutableString(const
std::string&)’:
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:233:17:
error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits,
_Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const
[with _CharT = char; _Traits = std::char_traits<char>; _Alloc =
std::allocator<char>; 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-cygwin/12/include/c++/bits/basic_string.h:51,
from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/string:53,
from
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/http2.h:32:
/usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note:
‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT,
_Traits, _Alloc>::size() const [with _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned
int]’ declared here
915 | size() const _GLIBCXX_NOEXCEPT
| ^~~~
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In
function ‘constexpr bool nghttp2::operator==(const ImmutableString&, const
std::string&)’:
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:325:32:
error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits,
_Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const
[with _CharT = char; _Traits = std::char_traits<char>; _Alloc =
std::allocator<char>; size_type = long unsigned int]’
325 | return lhs.size() == rhs.size() &&
| ~~~~~~~~^~
/usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note:
‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT,
_Traits, _Alloc>::size() const [with _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned
int]’ declared here
915 | size() const _GLIBCXX_NOEXCEPT
| ^~~~
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In
constructor ‘constexpr nghttp2::StringRef::StringRef(const std::string&)’:
/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:363:59:
error: call to non-‘constexpr’ function ‘const _CharT* std::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()) {}
| ~~~~~~~^~
/usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:2208:7: note:
‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with
_CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
declared here
2208 | c_str() const _GLIBCXX_NOEXCEPT
| ^~~~~
```--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
-------------- next part --------------
14:20:46.563012 00:00:01.225990 >>> Removing work directory in 2 seconds...
14:20:48.621593 00:00:02.058582 >>> Removing work directory NOW.
14:20:51.390254 00:00:02.768660 >>> Finished.
14:20:51.394273 00:00:00.004019 [1;32m*** Info:[0;0m Using nghttp2-1.64.0.tar.xz from DISTDIR
14:20:51.396097 00:00:00.001824 [1;32m*** Info:[0;0m Using nghttp2-1.64.0.tar.xz.asc from DISTDIR
14:20:51.396383 00:00:00.000286 [1;39m>>> Preparing nghttp2-1.64.0-1.x86_64[0;0m
14:20:51.489154 00:00:00.092771 [1;32m*** Info:[0;0m SOURCE 1 signature follows:
14:20:51.617296 00:00:00.128142 gpg: Signature made 2024 Oct 21 Mon 06:04:11 MDT
14:20:51.617836 00:00:00.000540 gpg: using RSA key 516B622918D15C478AB1EA3A5339A2BE82E07DEC
14:20:51.689954 00:00:00.072118 gpg: Good signature from "Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>" [unknown]
14:20:51.728060 00:00:00.038106 gpg: WARNING: This key is not certified with a trusted signature!
14:20:51.728198 00:00:00.000138 gpg: There is no indication that the signature belongs to the owner.
14:20:51.728282 00:00:00.000084 Primary key fingerprint: F4F3 B914 74D1 EB29 889B D0EF 7E84 03D5 D673 C366
14:20:51.728314 00:00:00.000032 Subkey fingerprint: 516B 6229 18D1 5C47 8AB1 EA3A 5339 A2BE 82E0 7DEC
14:20:51.739787 00:00:00.011473 >>> Unpacking source nghttp2-1.64.0.tar.xz
14:20:56.196587 00:00:04.456801 >>> Preparing working source directory
14:21:08.252126 00:00:01.914039 [1;39m>>> Compiling nghttp2-1.64.0-1.x86_64[0;0m
14:21:08.383037 00:00:00.130911 [1;33m*** Warning:[0;0m DEPEND is deprecated, use BUILD_REQUIRES instead.
14:21:14.491038 00:00:06.108001 autoreconf-2.72: export WARNINGS=
14:21:14.491915 00:00:00.000877 autoreconf-2.72: Entering directory '.'
14:21:14.496013 00:00:00.004099 autoreconf-2.72: configure.ac: not using Gettext
14:21:15.497138 00:00:01.001125 autoreconf-2.72: running: aclocal --force -I m4
14:21:35.545746 00:00:20.048608 autoreconf-2.72: configure.ac: tracing
14:21:37.434875 00:00:01.889129 autoreconf-2.72: running: libtoolize --copy --force
14:21:40.143625 00:00:02.708751 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
14:21:40.143692 00:00:00.000067 libtoolize: copying file './ltmain.sh'
14:21:41.281143 00:00:01.137451 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
14:21:41.281208 00:00:00.000065 libtoolize: copying file 'm4/libtool.m4'
14:21:41.688582 00:00:00.407374 libtoolize: copying file 'm4/ltoptions.m4'
14:21:42.135172 00:00:00.446590 libtoolize: copying file 'm4/ltsugar.m4'
14:21:42.657062 00:00:00.521891 libtoolize: copying file 'm4/ltversion.m4'
14:21:43.154768 00:00:00.497706 libtoolize: copying file 'm4/lt~obsolete.m4'
14:21:43.752185 00:00:00.597417 autoreconf-2.72: configure.ac: not using Intltool
14:21:43.752267 00:00:00.000082 autoreconf-2.72: configure.ac: not using Gtkdoc
14:21:43.752293 00:00:00.000025 autoreconf-2.72: running: aclocal --force -I m4
14:22:03.710788 00:00:19.958495 autoreconf-2.72: running: /usr/bin/autoconf-2.72 --force
14:22:06.066220 00:00:02.355432 autoreconf-2.72: running: /usr/bin/autoheader-2.72 --force
14:22:08.132789 00:00:02.066569 autoreconf-2.72: running: automake --add-missing --copy --force-missing
14:22:10.290233 00:00:02.157444 configure.ac:32: installing './compile'
14:22:10.500218 00:00:00.209985 configure.ac:41: installing './missing'
14:22:10.945606 00:00:00.445388 examples/Makefile.am: installing './depcomp'
14:22:12.385774 00:00:01.440168 autoreconf-2.72: './config.sub' is updated
14:22:12.398879 00:00:00.013105 autoreconf-2.72: './config.guess' is updated
14:22:12.412679 00:00:00.013800 autoreconf-2.72: './install-sh' is updated
14:22:12.417252 00:00:00.004573 autoreconf-2.72: Leaving directory '.'
14:22:14.204924 00:00:01.787672 [1;32m*** Info:[0;0m Removing lib/includes/nghttp2/nghttp2ver.h to be regenerated by configure
14:22:14.285734 00:00:00.080810 [1;32m*** Info:[0;0m Removing integration-tests/setenv to be regenerated by configure
14:22:14.566712 00:00:00.280978 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/configure --srcdir=/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/nghttp2 --htmldir=/usr/share/doc/nghttp2/html -C --enable-shared --disable-static --enable-app --with-libbrotlidec --with-libbrotlienc
14:22:17.521451 00:00:02.954739 configure: loading site script /etc/config.site
14:22:17.557211 00:00:00.035760 configure: creating cache config.cache
14:22:17.579247 00:00:00.022036 checking for gcc... gcc
14:22:18.401451 00:00:00.822204 checking whether the C compiler works... yes
14:22:19.047309 00:00:00.645858 checking for C compiler default output file name... a.exe
14:22:19.081731 00:00:00.034422 checking for suffix of executables... .exe
14:22:19.648673 00:00:00.566942 checking whether we are cross compiling... no
14:22:20.262090 00:00:00.613417 checking for suffix of object files... o
14:22:20.543132 00:00:00.281042 checking whether the compiler supports GNU C... yes
14:22:20.802468 00:00:00.259337 checking whether gcc accepts -g... yes
14:22:21.074680 00:00:00.272212 checking for gcc option to enable C11 features... none needed
14:22:21.497319 00:00:00.422639 checking whether gcc understands -c and -o together... yes
14:22:21.903229 00:00:00.405910 checking for stdio.h... yes
14:22:22.185254 00:00:00.282025 checking for stdlib.h... yes
14:22:22.488906 00:00:00.303652 checking for string.h... yes
14:22:22.812707 00:00:00.323801 checking for inttypes.h... yes
14:22:23.143647 00:00:00.330940 checking for stdint.h... yes
14:22:23.471675 00:00:00.328029 checking for strings.h... yes
14:22:23.803127 00:00:00.331452 checking for sys/stat.h... yes
14:22:24.189503 00:00:00.386376 checking for sys/types.h... yes
14:22:24.575428 00:00:00.385925 checking for unistd.h... yes
14:22:24.983214 00:00:00.407786 checking for wchar.h... yes
14:22:25.399889 00:00:00.416676 checking for minix/config.h... no
14:22:25.963536 00:00:00.563646 checking for vfork.h... no
14:22:26.525173 00:00:00.561638 checking whether it is safe to define __EXTENSIONS__... yes
14:22:26.962971 00:00:00.437798 checking whether _XOPEN_SOURCE should be defined... no
14:22:27.400839 00:00:00.437868 checking build system type... x86_64-pc-cygwin
14:22:27.859059 00:00:00.458220 checking host system type... x86_64-pc-cygwin
14:22:27.859357 00:00:00.000298 checking how to print strings... printf
14:22:27.890883 00:00:00.031526 checking for a sed that does not truncate output... /usr/bin/sed
14:22:28.003629 00:00:00.112746 checking for grep that handles long lines and -e... /usr/bin/grep
14:22:28.065784 00:00:00.062155 checking for egrep... /usr/bin/grep -E
14:22:28.135117 00:00:00.069333 checking for fgrep... /usr/bin/grep -F
14:22:28.206591 00:00:00.071474 checking for ld used by gcc... /usr/x86_64-pc-cygwin/bin/ld.exe
14:22:28.924215 00:00:00.717625 checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes
14:22:28.961211 00:00:00.036996 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
14:22:29.038166 00:00:00.076955 checking the name lister (/usr/bin/nm -B) interface... BSD nm
14:22:29.468682 00:00:00.430516 checking whether ln -s works... yes
14:22:29.468716 00:00:00.000034 checking the maximum length of command line arguments... 8192
14:22:29.572656 00:00:00.103940 checking how to convert x86_64-pc-cygwin file names to x86_64-pc-cygwin format... func_convert_file_noop
14:22:29.572858 00:00:00.000202 checking how to convert x86_64-pc-cygwin file names to toolchain format... func_convert_file_noop
14:22:29.573101 00:00:00.000244 checking for /usr/x86_64-pc-cygwin/bin/ld.exe option to reload object files... -r
14:22:29.573349 00:00:00.000247 checking for file... file
14:22:29.575864 00:00:00.002515 checking for objdump... objdump
14:22:29.577912 00:00:00.002048 checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
14:22:29.578379 00:00:00.000467 checking for dlltool... dlltool
14:22:29.580458 00:00:00.002079 checking how to associate runtime and link libraries... func_cygming_dll_for_implib
14:22:29.637524 00:00:00.057067 checking for ranlib... ranlib
14:22:29.639848 00:00:00.002324 checking for ar... ar
14:22:29.641856 00:00:00.002008 checking for archiver @FILE support... @
14:22:30.111657 00:00:00.469801 checking for strip... strip
14:22:30.113974 00:00:00.002317 checking for gawk... gawk
14:22:30.116048 00:00:00.002074 checking command to parse /usr/bin/nm -B output from gcc object... ok
14:22:31.472838 00:00:01.356789 checking for sysroot... no
14:22:31.472882 00:00:00.000044 checking for a working dd... /usr/bin/dd
14:22:31.661807 00:00:00.188926 checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
14:22:31.825949 00:00:00.164141 checking for mt... no
14:22:31.828711 00:00:00.002762 checking if : is a manifest tool... no
14:22:31.955177 00:00:00.126466 checking for dlfcn.h... yes
14:22:32.390109 00:00:00.434931 checking for objdir... .libs
14:22:33.259905 00:00:00.869797 checking if gcc supports -fno-rtti -fno-exceptions... no
14:22:33.702986 00:00:00.443081 checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
14:22:33.703163 00:00:00.000177 checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
14:22:34.065489 00:00:00.362326 checking if gcc static flag -static works... yes
14:22:34.414604 00:00:00.349115 checking if gcc supports -c -o file.o... yes
14:22:35.051005 00:00:00.636401 checking if gcc supports -c -o file.o... (cached) yes
14:22:35.051218 00:00:00.000213 checking whether the gcc linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
14:22:35.265304 00:00:00.214086 checking whether -lc should be explicitly linked in... yes
14:22:35.829322 00:00:00.564019 checking dynamic linker characteristics... Win32 ld.exe
14:22:36.159410 00:00:00.330087 checking how to hardcode library paths into programs... immediate
14:22:36.159676 00:00:00.000266 checking whether stripping libraries is possible... yes
14:22:36.240013 00:00:00.080337 checking if libtool supports shared libraries... yes
14:22:36.240055 00:00:00.000042 checking whether to build shared libraries... yes
14:22:36.240091 00:00:00.000036 checking whether to build static libraries... no
14:22:36.240432 00:00:00.000341 checking target system type... x86_64-pc-cygwin
14:22:36.240712 00:00:00.000280 checking for a BSD-compatible install... /usr/bin/install -c
14:22:36.538563 00:00:00.297851 checking whether build environment is sane... yes
14:22:36.828680 00:00:00.290117 checking for a race-free mkdir -p... /usr/bin/mkdir -p
14:22:36.864336 00:00:00.035656 checking whether make sets $(MAKE)... yes
14:22:37.248057 00:00:00.383721 checking whether make supports the include directive... yes (GNU style)
14:22:37.489622 00:00:00.241565 checking whether make supports nested variables... yes
14:22:37.690086 00:00:00.200465 checking how to create a pax tar archive... gnutar
14:22:38.156025 00:00:00.465939 checking dependency style of gcc... gcc3
14:22:39.130559 00:00:00.974534 checking whether make supports nested variables... (cached) yes
14:22:39.429850 00:00:00.299291 checking for gcc... (cached) gcc
14:22:40.264122 00:00:00.834271 checking whether the compiler supports GNU C... (cached) yes
14:22:40.264231 00:00:00.000110 checking whether gcc accepts -g... (cached) yes
14:22:40.264280 00:00:00.000049 checking for gcc option to enable C11 features... (cached) none needed
14:22:40.264310 00:00:00.000030 checking whether gcc understands -c and -o together... (cached) yes
14:22:40.939774 00:00:00.675464 checking whether the compiler supports GNU C++... yes
14:22:41.213673 00:00:00.273899 checking whether g++ accepts -g... yes
14:22:41.488785 00:00:00.275112 checking for g++ option to enable C++11 features... none needed
14:22:42.321113 00:00:00.832328 checking how to run the C++ preprocessor... g++ -E
14:22:44.218923 00:00:01.897810 checking for ld used by g++... /usr/x86_64-pc-cygwin/bin/ld.exe
14:22:44.930480 00:00:00.711557 checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes
14:22:45.038367 00:00:00.107887 checking whether the g++ linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
14:22:46.807569 00:00:01.769203 checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
14:22:46.807708 00:00:00.000139 checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
14:22:47.169578 00:00:00.361869 checking if g++ static flag -static works... yes
14:22:47.523740 00:00:00.354163 checking if g++ supports -c -o file.o... yes
14:22:48.159090 00:00:00.635350 checking if g++ supports -c -o file.o... (cached) yes
14:22:48.159318 00:00:00.000228 checking whether the g++ linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
14:22:48.159523 00:00:00.000205 checking dynamic linker characteristics... Win32 ld.exe
14:22:48.159786 00:00:00.000263 checking how to hardcode library paths into programs... immediate
14:22:48.160223 00:00:00.000437 checking dependency style of g++... gcc3
14:22:48.958522 00:00:00.798298 checking how to run the C preprocessor... gcc -E
14:22:50.011212 00:00:01.052691 checking whether ln -s works... yes
14:22:50.011411 00:00:00.000199 checking whether make sets $(MAKE)... (cached) yes
14:22:50.074592 00:00:00.063181 checking for pkg-config... /usr/bin/pkg-config
14:22:50.077255 00:00:00.002663 checking pkg-config is at least version 0.20... yes
14:22:50.140495 00:00:00.063240 checking for a Python interpreter with version >= 3.8... python
14:22:50.445849 00:00:00.305354 checking for python... /usr/bin/python
14:22:50.449208 00:00:00.003360 checking for python version... 3.9
14:22:50.607976 00:00:00.158768 checking for python platform... cygwin
14:22:50.764535 00:00:00.156559 checking for GNU default python prefix... ${prefix}
14:22:50.764667 00:00:00.000132 checking for GNU default python exec_prefix... ${exec_prefix}
14:22:50.764841 00:00:00.000174 checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.9/site-packages
14:22:51.086263 00:00:00.321422 checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.9/site-packages
14:22:51.406929 00:00:00.320666 checking whether g++ supports C++20 features by default... no
14:22:52.020803 00:00:00.613874 checking whether g++ supports C++20 features with -std=gnu++20... yes
14:22:52.785009 00:00:00.764206 checking whether std::future is available... yes
14:22:56.629387 00:00:03.844378 checking whether std::map::emplace is available... yes
14:22:58.034518 00:00:01.405131 checking whether std::atomic<std::shared_ptr<T>> is supported... yes
14:23:00.924847 00:00:02.890330 checking whether thread_local storage class specifier is available.... yes
14:23:01.184976 00:00:00.260129 checking for zlib >= 1.2.3... yes
14:23:01.322167 00:00:00.137191 checking for library containing dlopen... none required
14:23:01.961628 00:00:00.639461 checking for ev_time in -lev... yes
14:23:02.555505 00:00:00.593876 checking for ev.h... yes
14:23:02.973479 00:00:00.417975 checking for openssl >= 1.1.1... yes
14:23:03.110351 00:00:00.136871 checking for SSL_provide_quic_data... no
14:23:04.752888 00:00:01.642538 checking for SSL_set_quic_early_data_context... no
14:23:06.242740 00:00:01.489851 checking for libcares >= 1.16.0... yes
14:23:06.377739 00:00:00.135000 checking for libngtcp2 >= 1.4.0... no
14:23:07.172475 00:00:00.794735 configure: Package 'libngtcp2' not found
14:23:07.173135 00:00:00.000660 checking for libnghttp3 >= 1.1.0... no
14:23:07.845915 00:00:00.672780 configure: Package 'libnghttp3' not found
14:23:07.846269 00:00:00.000354 checking for libbrotlienc >= 1.0.9... yes
14:23:07.977256 00:00:00.130986 checking for libbrotlidec >= 1.0.9... yes
14:23:08.112316 00:00:00.135060 checking for libevent_openssl >= 2.0.8... yes
14:23:08.246755 00:00:00.134439 checking for jansson >= 2.5... yes
14:23:08.377982 00:00:00.131226 checking for libsystemd >= 209... no
14:23:09.149205 00:00:00.771224 configure: Package 'libsystemd' not found
14:23:09.149366 00:00:00.000160 checking for libxml-2.0 >= 2.6.26... yes
14:23:09.296323 00:00:00.146958 checking for library containing malloc_stats_print... no
14:23:10.910982 00:00:01.614658 checking for library containing je_malloc_stats_print... no
14:23:12.496048 00:00:01.585067 checking whether to enable assertions... yes
14:23:12.496198 00:00:00.000150 checking for arpa/inet.h... yes
14:23:12.983318 00:00:00.487120 checking for fcntl.h... yes
14:23:13.403021 00:00:00.419703 checking for inttypes.h... (cached) yes
14:23:13.404200 00:00:00.001179 checking for limits.h... yes
14:23:13.825856 00:00:00.421656 checking for netdb.h... yes
14:23:14.297194 00:00:00.471337 checking for netinet/in.h... yes
14:23:14.757750 00:00:00.460556 checking for netinet/ip.h... yes
14:23:15.232921 00:00:00.475171 checking for pwd.h... yes
14:23:15.667460 00:00:00.434539 checking for stddef.h... yes
14:23:16.123503 00:00:00.456043 checking for stdint.h... (cached) yes
14:23:16.124831 00:00:00.001328 checking for stdlib.h... (cached) yes
14:23:16.125976 00:00:00.001144 checking for string.h... (cached) yes
14:23:16.127019 00:00:00.001043 checking for sys/socket.h... yes
14:23:16.559661 00:00:00.432642 checking for sys/time.h... yes
14:23:16.979640 00:00:00.419979 checking for syslog.h... yes
14:23:17.425274 00:00:00.445634 checking for unistd.h... (cached) yes
14:23:17.427157 00:00:00.001883 checking for windows.h... yes
14:23:22.267334 00:00:04.840177 checking for size_t... yes
14:23:23.296941 00:00:01.029607 checking for ssize_t... yes
14:23:24.314936 00:00:01.017994 checking for uint8_t... yes
14:23:24.827193 00:00:00.512257 checking for uint16_t... yes
14:23:25.289516 00:00:00.462324 checking for uint32_t... yes
14:23:25.728842 00:00:00.439325 checking for uint64_t... yes
14:23:26.173361 00:00:00.444520 checking for int8_t... yes
14:23:27.163414 00:00:00.990053 checking for int16_t... yes
14:23:28.160126 00:00:00.996712 checking for int32_t... yes
14:23:29.203682 00:00:01.043555 checking for int64_t... yes
14:23:30.209503 00:00:01.005821 checking for off_t... yes
14:23:31.203697 00:00:00.994194 checking for pid_t... yes
14:23:32.238450 00:00:01.034753 checking for uid_t... yes
14:23:33.240893 00:00:01.002443 checking for gid_t... yes
14:23:34.279557 00:00:01.038664 checking for ptrdiff_t... yes
14:23:35.270472 00:00:00.990915 checking whether byte ordering is bigendian... no
14:23:36.419305 00:00:01.148832 checking for inline... inline
14:23:36.640178 00:00:00.220874 checking for gcc option to enable large file support... none needed
14:23:37.248037 00:00:00.607858 checking for struct tm.tm_gmtoff... yes
14:23:37.603245 00:00:00.355208 checking for struct sockaddr_in.sin_len... no
14:23:38.565005 00:00:00.961760 checking for struct sockaddr_in6.sin6_len... no
14:23:39.542991 00:00:00.977986 checking for working chown... yes
14:23:40.418025 00:00:00.875034 checking for error_at_line... yes
14:23:41.058660 00:00:00.640635 checking for fork... yes
14:23:41.772747 00:00:00.714087 checking for vfork... yes
14:23:42.376032 00:00:00.603286 checking for working fork... yes
14:23:43.188846 00:00:00.812814 checking for working vfork... (cached) yes
14:23:43.191172 00:00:00.002326 checking for gcc options needed to detect all undeclared functions... none needed
14:23:43.883453 00:00:00.692281 checking whether strerror_r is declared... yes
14:23:44.400651 00:00:00.517198 checking whether strerror_r returns char *... yes
14:23:44.719502 00:00:00.318850 checking for working strnlen... yes
14:23:45.532714 00:00:00.813213 checking for _Exit... yes
14:23:46.253475 00:00:00.720761 checking for accept4... yes
14:23:46.858358 00:00:00.604883 checking for clock_gettime... yes
14:23:47.465427 00:00:00.607069 checking for dup2... yes
14:23:48.084458 00:00:00.619031 checking for getcwd... yes
14:23:48.700021 00:00:00.615563 checking for getpwnam... yes
14:23:49.320119 00:00:00.620098 checking for localtime_r... yes
14:23:49.948193 00:00:00.628074 checking for memchr... yes
14:23:50.701411 00:00:00.753218 checking for memmove... yes
14:23:51.431509 00:00:00.730099 checking for memset... yes
14:23:52.181741 00:00:00.750232 checking for mkostemp... yes
14:23:52.789033 00:00:00.607292 checking for pipe2... yes
14:23:53.400170 00:00:00.611137 checking for socket... yes
14:23:53.996369 00:00:00.596199 checking for sqrt... yes
14:23:54.741731 00:00:00.745362 checking for strchr... yes
14:23:55.477617 00:00:00.735886 checking for strdup... yes
14:23:56.213479 00:00:00.735862 checking for strerror... yes
14:23:56.838961 00:00:00.625482 checking for strndup... yes
14:23:57.639810 00:00:00.800849 checking for strstr... yes
14:23:58.393051 00:00:00.753241 checking for strtol... yes
14:23:59.079186 00:00:00.686135 checking for strtoul... yes
14:23:59.709671 00:00:00.630485 checking for timegm... yes
14:24:00.382281 00:00:00.672611 checking for timerfd_create... yes
14:24:00.995681 00:00:00.613400 checking checking for GetTickCount64... yes
14:24:05.206647 00:00:04.210966 checking whether initgroups is declared... yes
14:24:05.681030 00:00:00.474383 checking whether CLOCK_MONOTONIC is declared... yes
14:24:06.116223 00:00:00.435193 checking whether C compiler accepts -fvisibility=hidden... yes
14:24:06.657730 00:00:00.541507 configure: updating cache config.cache
14:24:06.725854 00:00:00.068124 checking that generated files are newer than configure... done
14:24:06.726313 00:00:00.000459 configure: creating ./config.status
14:24:24.809515 00:00:18.083202 config.status: creating Makefile
14:24:25.142311 00:00:00.332797 config.status: creating lib/Makefile
14:24:25.659900 00:00:00.517588 config.status: creating lib/libnghttp2.pc
14:24:26.158474 00:00:00.498574 config.status: creating lib/includes/Makefile
14:24:26.642327 00:00:00.483853 config.status: creating lib/includes/nghttp2/nghttp2ver.h
14:24:27.162307 00:00:00.519980 config.status: creating tests/Makefile
14:24:27.640773 00:00:00.478466 config.status: creating tests/testdata/Makefile
14:24:28.128272 00:00:00.487499 config.status: creating third-party/Makefile
14:24:28.623675 00:00:00.495403 config.status: creating src/Makefile
14:24:29.154790 00:00:00.531114 config.status: creating src/testdata/Makefile
14:24:29.646098 00:00:00.491309 config.status: creating bpf/Makefile
14:24:30.127106 00:00:00.481008 config.status: creating examples/Makefile
14:24:30.599135 00:00:00.472030 config.status: creating integration-tests/Makefile
14:24:31.079615 00:00:00.480480 config.status: creating integration-tests/config.go
14:24:31.545564 00:00:00.465949 config.status: creating integration-tests/setenv
14:24:32.231391 00:00:00.685827 config.status: creating doc/Makefile
14:24:32.814053 00:00:00.582661 config.status: creating doc/conf.py
14:24:33.338690 00:00:00.524638 config.status: creating doc/index.rst
14:24:33.836141 00:00:00.497451 config.status: creating doc/package_README.rst
14:24:34.352635 00:00:00.516495 config.status: creating doc/tutorial-client.rst
14:24:34.874499 00:00:00.521863 config.status: creating doc/tutorial-server.rst
14:24:35.370010 00:00:00.495511 config.status: creating doc/tutorial-hpack.rst
14:24:35.882739 00:00:00.512729 config.status: creating doc/nghttpx-howto.rst
14:24:36.380666 00:00:00.497927 config.status: creating doc/h2load-howto.rst
14:24:36.877614 00:00:00.496948 config.status: creating doc/building-android-binary.rst
14:24:37.404394 00:00:00.526780 config.status: creating doc/nghttp2.h.rst
14:24:37.908697 00:00:00.504303 config.status: creating doc/nghttp2ver.h.rst
14:24:38.400764 00:00:00.492067 config.status: creating doc/contribute.rst
14:24:38.895403 00:00:00.494640 config.status: creating contrib/Makefile
14:24:39.396064 00:00:00.500660 config.status: creating script/Makefile
14:24:39.894844 00:00:00.498780 config.status: creating config.h
14:24:40.235304 00:00:00.340460 config.status: executing libtool commands
14:24:40.565760 00:00:00.330456 config.status: executing depfiles commands
14:24:59.930802 00:00:19.365043 configure: summary of build options:
14:24:59.930912 00:00:00.000110
14:24:59.930930 00:00:00.000018 Package version: 1.64.0
14:24:59.930952 00:00:00.000022 Library version: 42:3:28
14:24:59.930976 00:00:00.000023 Install prefix: /usr
14:24:59.930998 00:00:00.000023 System types:
14:24:59.931017 00:00:00.000019 Build: x86_64-pc-cygwin
14:24:59.931066 00:00:00.000048 Host: x86_64-pc-cygwin
14:24:59.931108 00:00:00.000042 Target: x86_64-pc-cygwin
14:24:59.931132 00:00:00.000024 Compiler:
14:24:59.931149 00:00:00.000017 C compiler: gcc
14:24:59.931169 00:00:00.000019 CFLAGS: -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -ffile-prefix-map=/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build=/usr/src/debug/nghttp2-1.64.0-1 -ffile-prefix-map=/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0=/usr/src/debug/nghttp2-1.64.0-1
14:24:59.931330 00:00:00.000161 LDFLAGS:
14:24:59.931360 00:00:00.000031 C++ compiler: g++ -std=gnu++20
14:24:59.931383 00:00:00.000023 CXXFLAGS: -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=3 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=return-type -ffile-prefix-map=/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build=/usr/src/debug/nghttp2-1.64.0-1 -ffile-prefix-map=/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0=/usr/src/debug/nghttp2-1.64.0-1
14:24:59.931592 00:00:00.000209 CXXCPP: g++ -E -std=gnu++20
14:24:59.931629 00:00:00.000037 C preprocessor: gcc -E
14:24:59.931651 00:00:00.000022 CPPFLAGS:
14:24:59.931748 00:00:00.000098 WARNCFLAGS:
14:24:59.931768 00:00:00.000020 WARNCXXFLAGS:
14:24:59.931788 00:00:00.000020 CXX1XCXXFLAGS:
14:24:59.931808 00:00:00.000020 EXTRACFLAG: -fvisibility=hidden
14:24:59.931832 00:00:00.000024 BPFCFLAGS:
14:24:59.931852 00:00:00.000019 EXTRABPFCFLAGS:
14:24:59.931870 00:00:00.000019 LIBS:
14:24:59.931889 00:00:00.000019 DEFS: -DHAVE_CONFIG_H
14:24:59.931910 00:00:00.000021 EXTRA_DEFS:
14:24:59.931927 00:00:00.000017 Library:
14:24:59.931941 00:00:00.000014 Shared: yes
14:24:59.931958 00:00:00.000017 Static: no
14:24:59.931975 00:00:00.000017 Libtool:
14:24:59.931989 00:00:00.000014 LIBTOOL_LDFLAGS:
14:24:59.932005 00:00:00.000016 Python:
14:24:59.932019 00:00:00.000014 Python: /usr/bin/python
14:24:59.932038 00:00:00.000019 PYTHON_VERSION: 3.9
14:24:59.932055 00:00:00.000017 Test:
14:24:59.932069 00:00:00.000013 Failmalloc: yes
14:24:59.932085 00:00:00.000017 Libs:
14:24:59.932099 00:00:00.000014 wolfSSL: no (CFLAGS='' LIBS='')
14:24:59.932120 00:00:00.000021 OpenSSL: yes (CFLAGS='' LIBS='-lssl -lcrypto')
14:24:59.932143 00:00:00.000024 Libxml2: yes (CFLAGS='-I/usr/include/libxml2' LIBS='-lxml2')
14:24:59.932170 00:00:00.000027 Libev: yes (CFLAGS='' LIBS='-lev')
14:24:59.932192 00:00:00.000022 Libc-ares: yes (CFLAGS='' LIBS='-lcares')
14:24:59.932214 00:00:00.000023 libngtcp2: no (CFLAGS='' LIBS='')
14:24:59.932235 00:00:00.000021 libngtcp2_crypto_quictls: no (CFLAGS='' LIBS='')
14:24:59.932258 00:00:00.000023 libngtcp2_crypto_boringssl: no (CFLAGS='' LIBS='')
14:24:59.932281 00:00:00.000023 libnghttp3: no (CFLAGS='' LIBS='')
14:24:59.932301 00:00:00.000021 libbpf: no (CFLAGS='' LIBS='')
14:24:59.932322 00:00:00.000021 Libevent(SSL): yes (CFLAGS='' LIBS='-levent_openssl -levent')
14:24:59.932348 00:00:00.000026 Jansson: yes (CFLAGS='' LIBS='-ljansson')
14:24:59.932371 00:00:00.000023 Jemalloc: no (CFLAGS='' LIBS='')
14:24:59.932392 00:00:00.000021 Zlib: yes (CFLAGS='' LIBS='-lz')
14:24:59.932414 00:00:00.000022 Systemd: no (CFLAGS='' LIBS='')
14:24:59.932434 00:00:00.000021 Libbrotlienc: yes (CFLAGS="' LIBS='-lbrotlienc')
14:24:59.932457 00:00:00.000023 Libbrotlidec: yes (CFLAGS="' LIBS='-lbrotlidec')
14:24:59.932481 00:00:00.000023 Third-party:
14:24:59.932495 00:00:00.000015 http-parser: yes
14:24:59.932512 00:00:00.000017 MRuby: no (CFLAGS='' LIBS='')
14:24:59.932533 00:00:00.000021 Neverbleed: no
14:24:59.932549 00:00:00.000016 Features:
14:24:59.932574 00:00:00.000026 Applications: yes
14:24:59.932598 00:00:00.000024 HPACK tools: yes
14:24:59.932615 00:00:00.000017 Examples: yes
14:24:59.932632 00:00:00.000017 Threading: yes
14:24:59.932648 00:00:00.000017 HTTP/3 (EXPERIMENTAL): no
14:24:59.932666 00:00:00.000018
14:25:00.666521 00:00:00.733855 make all-recursive
14:25:00.725168 00:00:00.058647 make[1]: Entering directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build'
14:25:00.851923 00:00:00.126755 Making all in lib
14:25:00.945739 00:00:00.093816 make[2]: Entering directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/lib'
14:25:01.064204 00:00:00.118465 Making all in includes
14:25:01.122309 00:00:00.058105 make[3]: Entering directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/lib/includes'
14:25:01.122373 00:00:00.000064 make[3]: Nothing to be done for 'all'.
14:25:01.122393 00:00:00.000020 make[3]: Leaving directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/lib/includes'
14:25:01.197326 00:00:00.074933 make[3]: Entering directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/lib'
14:25:01.233971 00:00:00.036645 CC nghttp2_pq.lo
14:25:01.272130 00:00:00.038159 CC nghttp2_map.lo
14:25:01.319896 00:00:00.047766 CC nghttp2_queue.lo
14:25:01.395606 00:00:00.075711 CC nghttp2_frame.lo
14:25:01.490553 00:00:00.094947 CC nghttp2_buf.lo
14:25:04.783891 00:00:03.293338 CC nghttp2_stream.lo
14:25:04.931192 00:00:00.147301 CC nghttp2_outbound_item.lo
14:25:05.131514 00:00:00.200322 CC nghttp2_session.lo
14:25:06.062309 00:00:00.930796 CC nghttp2_submit.lo
14:25:08.045510 00:00:01.983201 CC nghttp2_helper.lo
14:25:08.138770 00:00:00.093260 CC nghttp2_alpn.lo
14:25:09.332645 00:00:01.193875 CC nghttp2_hd.lo
14:25:10.916698 00:00:01.584053 CC nghttp2_hd_huffman.lo
14:25:11.516028 00:00:00.599331 CC nghttp2_hd_huffman_data.lo
14:25:12.138139 00:00:00.622111 CC nghttp2_version.lo
14:25:15.111205 00:00:02.973066 CC nghttp2_priority_spec.lo
14:25:15.279850 00:00:00.168644 CC nghttp2_option.lo
14:25:15.775328 00:00:00.495478 CC nghttp2_callbacks.lo
14:25:17.463793 00:00:01.688465 CC nghttp2_mem.lo
14:25:18.117660 00:00:00.653867 CC nghttp2_http.lo
14:25:18.486599 00:00:00.368939 CC nghttp2_rcbuf.lo
14:25:18.867705 00:00:00.381106 CC nghttp2_extpri.lo
14:25:20.527799 00:00:01.660093 CC nghttp2_ratelim.lo
14:25:21.965499 00:00:01.437701 CC nghttp2_time.lo
14:25:22.166971 00:00:00.201471 CC nghttp2_debug.lo
14:25:22.648077 00:00:00.481106 CC sfparse.lo
14:25:29.407185 00:00:06.759108 CCLD libnghttp2.la
14:25:33.223337 00:00:03.816152 make[3]: Leaving directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/lib'
14:25:33.226305 00:00:00.002968 make[2]: Leaving directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/lib'
14:25:33.228139 00:00:00.001833 Making all in third-party
14:25:33.294369 00:00:00.066231 make[2]: Entering directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/third-party'
14:25:33.611664 00:00:00.317295 CC url-parser/url_parser.lo
14:25:33.649555 00:00:00.037891 CC llhttp/src/libllhttp_la-api.lo
14:25:33.696042 00:00:00.046487 CC llhttp/src/libllhttp_la-http.lo
14:25:33.783127 00:00:00.087085 CC llhttp/src/libllhttp_la-llhttp.lo
14:25:37.257068 00:00:03.473941 CCLD liburl-parser.la
14:25:43.601021 00:00:06.343954 CCLD libllhttp.la
14:25:45.442330 00:00:01.841308 make[2]: Leaving directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/third-party'
14:25:45.444216 00:00:00.001886 Making all in src
14:25:45.590809 00:00:00.146594 make[2]: Entering directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/src'
14:25:45.706150 00:00:00.115341 Making all in testdata
14:25:45.758482 00:00:00.052332 make[3]: Entering directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/src/testdata'
14:25:45.758570 00:00:00.000088 make[3]: Nothing to be done for 'all'.
14:25:45.758739 00:00:00.000169 make[3]: Leaving directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/src/testdata'
14:25:45.882852 00:00:00.124113 make[3]: Entering directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/src'
14:25:45.921592 00:00:00.038740 CXX util.o
14:25:45.962575 00:00:00.040984 CXX http2.o
14:25:46.017255 00:00:00.054680 CC timegm.o
14:25:46.084826 00:00:00.067572 CXX app_helper.o
14:25:46.204495 00:00:00.119669 CC nghttp2_gzip.o
14:25:47.545059 00:00:01.340564 CXX nghttp.o
14:25:47.747741 00:00:00.202682 CXX HtmlParser.o
14:25:56.770719 00:00:09.022978 In file included from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/util.h:57,
14:25:56.770815 00:00:00.000096 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/http2.h:40,
14:25:56.770856 00:00:00.000041 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/http2.cc:25:
14:25:56.770901 00:00:00.000045 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::ImmutableString::ImmutableString(const std::string&)’:
14:25:56.770958 00:00:00.000056 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:233:17: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:56.771090 00:00:00.000132 233 | : len(s.size()), base(copystr(std::begin(s), std::end(s))) {}
14:25:56.771128 00:00:00.000038 | ~~~~~~^~
14:25:56.771149 00:00:00.000022 In file included from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/basic_string.h:51,
14:25:56.771187 00:00:00.000038 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/string:53,
14:25:56.771219 00:00:00.000032 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/http2.h:32:
14:25:56.771259 00:00:00.000039 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:56.771370 00:00:00.000112 915 | size() const _GLIBCXX_NOEXCEPT
14:25:56.771394 00:00:00.000024 | ^~~~
14:25:56.880260 00:00:00.108867 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In function ‘constexpr bool nghttp2::operator==(const ImmutableString&, const std::string&)’:
14:25:56.880377 00:00:00.000117 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:325:32: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:56.880481 00:00:00.000103 325 | return lhs.size() == rhs.size() &&
14:25:56.880507 00:00:00.000027 | ~~~~~~~~^~
14:25:56.880557 00:00:00.000050 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:56.880650 00:00:00.000092 915 | size() const _GLIBCXX_NOEXCEPT
14:25:56.880676 00:00:00.000026 | ^~~~
14:25:56.886400 00:00:00.005725 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::StringRef::StringRef(const std::string&)’:
14:25:56.886474 00:00:00.000073 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:363:59: error: call to non-‘constexpr’ function ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
14:25:56.886555 00:00:00.000082 363 | constexpr StringRef(const std::string &s) : base(s.c_str()), len(s.size()) {}
14:25:56.886594 00:00:00.000039 | ~~~~~~~^~
14:25:56.887513 00:00:00.000919 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:2208:7: note: ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ declared here
14:25:56.887605 00:00:00.000092 2208 | c_str() const _GLIBCXX_NOEXCEPT
14:25:56.887630 00:00:00.000025 | ^~~~~
14:25:57.388117 00:00:00.500487 In file included from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/util.h:57,
14:25:57.388206 00:00:00.000089 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/app_helper.cc:57:
14:25:57.388272 00:00:00.000066 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::ImmutableString::ImmutableString(const std::string&)’:
14:25:57.388347 00:00:00.000075 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:233:17: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:57.388448 00:00:00.000101 233 | : len(s.size()), base(copystr(std::begin(s), std::end(s))) {}
14:25:57.388482 00:00:00.000034 | ~~~~~~^~
14:25:57.388504 00:00:00.000022 In file included from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/basic_string.h:51,
14:25:57.388541 00:00:00.000037 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/string:53,
14:25:57.388574 00:00:00.000034 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/app_helper.cc:49:
14:25:57.388818 00:00:00.000243 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:57.388918 00:00:00.000100 915 | size() const _GLIBCXX_NOEXCEPT
14:25:57.388944 00:00:00.000026 | ^~~~
14:25:57.417872 00:00:00.028928 In file included from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/util.h:57,
14:25:57.417960 00:00:00.000088 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/util.cc:25:
14:25:57.417998 00:00:00.000038 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::ImmutableString::ImmutableString(const std::string&)’:
14:25:57.418055 00:00:00.000057 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:233:17: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:57.418188 00:00:00.000134 233 | : len(s.size()), base(copystr(std::begin(s), std::end(s))) {}
14:25:57.418232 00:00:00.000044 | ~~~~~~^~
14:25:57.418255 00:00:00.000024 In file included from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/basic_string.h:51,
14:25:57.418297 00:00:00.000042 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/string:53,
14:25:57.418382 00:00:00.000084 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/util.h:42:
14:25:57.418644 00:00:00.000262 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:57.418752 00:00:00.000108 915 | size() const _GLIBCXX_NOEXCEPT
14:25:57.418778 00:00:00.000026 | ^~~~
14:25:57.458704 00:00:00.039927 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In function ‘constexpr bool nghttp2::operator==(const ImmutableString&, const std::string&)’:
14:25:57.458803 00:00:00.000099 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:325:32: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:57.458902 00:00:00.000099 325 | return lhs.size() == rhs.size() &&
14:25:57.458928 00:00:00.000026 | ~~~~~~~~^~
14:25:57.458951 00:00:00.000024 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:57.459037 00:00:00.000086 915 | size() const _GLIBCXX_NOEXCEPT
14:25:57.459061 00:00:00.000024 | ^~~~
14:25:57.464374 00:00:00.005312 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::StringRef::StringRef(const std::string&)’:
14:25:57.464452 00:00:00.000078 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:363:59: error: call to non-‘constexpr’ function ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
14:25:57.464528 00:00:00.000076 363 | constexpr StringRef(const std::string &s) : base(s.c_str()), len(s.size()) {}
14:25:57.464561 00:00:00.000033 | ~~~~~~~^~
14:25:57.464660 00:00:00.000099 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:2208:7: note: ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ declared here
14:25:57.464729 00:00:00.000070 2208 | c_str() const _GLIBCXX_NOEXCEPT
14:25:57.464753 00:00:00.000024 | ^~~~~
14:25:57.485778 00:00:00.021025 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In function ‘constexpr bool nghttp2::operator==(const ImmutableString&, const std::string&)’:
14:25:57.485855 00:00:00.000077 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:325:32: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:57.485946 00:00:00.000091 325 | return lhs.size() == rhs.size() &&
14:25:57.485969 00:00:00.000023 | ~~~~~~~~^~
14:25:57.486003 00:00:00.000034 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:57.486085 00:00:00.000082 915 | size() const _GLIBCXX_NOEXCEPT
14:25:57.486119 00:00:00.000034 | ^~~~
14:25:57.502292 00:00:00.016173 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::StringRef::StringRef(const std::string&)’:
14:25:57.502364 00:00:00.000072 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:363:59: error: call to non-‘constexpr’ function ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
14:25:57.502441 00:00:00.000077 363 | constexpr StringRef(const std::string &s) : base(s.c_str()), len(s.size()) {}
14:25:57.502474 00:00:00.000033 | ~~~~~~~^~
14:25:57.502906 00:00:00.000432 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:2208:7: note: ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ declared here
14:25:57.502979 00:00:00.000073 2208 | c_str() const _GLIBCXX_NOEXCEPT
14:25:57.503003 00:00:00.000024 | ^~~~~
14:25:59.513006 00:00:02.010004 In file included from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/util.h:57,
14:25:59.513085 00:00:00.000079 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/HtmlParser.cc:29:
14:25:59.513125 00:00:00.000040 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::ImmutableString::ImmutableString(const std::string&)’:
14:25:59.513180 00:00:00.000055 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:233:17: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:59.513284 00:00:00.000104 233 | : len(s.size()), base(copystr(std::begin(s), std::end(s))) {}
14:25:59.513319 00:00:00.000035 | ~~~~~~^~
14:25:59.513340 00:00:00.000021 In file included from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/basic_string.h:51,
14:25:59.513375 00:00:00.000036 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/string:53,
14:25:59.513407 00:00:00.000032 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/HtmlParser.h:31,
14:25:59.513447 00:00:00.000040 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/HtmlParser.cc:25:
14:25:59.513487 00:00:00.000040 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:59.513577 00:00:00.000089 915 | size() const _GLIBCXX_NOEXCEPT
14:25:59.513603 00:00:00.000026 | ^~~~
14:25:59.532277 00:00:00.018675 make[3]: *** [Makefile:1528: app_helper.o] Error 1
14:25:59.532329 00:00:00.000052 make[3]: *** Waiting for unfinished jobs....
14:25:59.549235 00:00:00.016907 In file included from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/memchunk.h:49,
14:25:59.549300 00:00:00.000065 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/nghttp.h:60,
14:25:59.549339 00:00:00.000039 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/nghttp.cc:25:
14:25:59.549378 00:00:00.000039 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::ImmutableString::ImmutableString(const std::string&)’:
14:25:59.549435 00:00:00.000058 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:233:17: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:59.549550 00:00:00.000115 233 | : len(s.size()), base(copystr(std::begin(s), std::end(s))) {}
14:25:59.549592 00:00:00.000042 | ~~~~~~^~
14:25:59.549613 00:00:00.000021 In file included from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/basic_string.h:51,
14:25:59.549651 00:00:00.000038 from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/string:53,
14:25:59.569206 00:00:00.019555 from /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/nghttp.h:38:
14:25:59.569256 00:00:00.000051 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:59.569339 00:00:00.000083 915 | size() const _GLIBCXX_NOEXCEPT
14:25:59.569364 00:00:00.000024 | ^~~~
14:25:59.599902 00:00:00.030539 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In function ‘constexpr bool nghttp2::operator==(const ImmutableString&, const std::string&)’:
14:25:59.599999 00:00:00.000097 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:325:32: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:59.600096 00:00:00.000097 325 | return lhs.size() == rhs.size() &&
14:25:59.600122 00:00:00.000025 | ~~~~~~~~^~
14:25:59.600146 00:00:00.000024 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:59.600232 00:00:00.000086 915 | size() const _GLIBCXX_NOEXCEPT
14:25:59.600256 00:00:00.000024 | ^~~~
14:25:59.600274 00:00:00.000018 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::StringRef::StringRef(const std::string&)’:
14:25:59.600491 00:00:00.000217 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:363:59: error: call to non-‘constexpr’ function ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
14:25:59.600572 00:00:00.000081 363 | constexpr StringRef(const std::string &s) : base(s.c_str()), len(s.size()) {}
14:25:59.600607 00:00:00.000035 | ~~~~~~~^~
14:25:59.600638 00:00:00.000031 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:2208:7: note: ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ declared here
14:25:59.600710 00:00:00.000073 2208 | c_str() const _GLIBCXX_NOEXCEPT
14:25:59.600735 00:00:00.000025 | ^~~~~
14:25:59.616723 00:00:00.015988 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In function ‘constexpr bool nghttp2::operator==(const ImmutableString&, const std::string&)’:
14:25:59.616801 00:00:00.000078 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:325:32: error: call to non-‘constexpr’ function ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’
14:25:59.616905 00:00:00.000104 325 | return lhs.size() == rhs.size() &&
14:25:59.616932 00:00:00.000027 | ~~~~~~~~^~
14:25:59.616967 00:00:00.000036 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:915:7: note: ‘std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]’ declared here
14:25:59.617050 00:00:00.000083 915 | size() const _GLIBCXX_NOEXCEPT
14:25:59.617073 00:00:00.000024 | ^~~~
14:25:59.624063 00:00:00.006990 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h: In constructor ‘constexpr nghttp2::StringRef::StringRef(const std::string&)’:
14:25:59.624138 00:00:00.000075 /usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/src/nghttp2-1.64.0/src/template.h:363:59: error: call to non-‘constexpr’ function ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
14:25:59.624215 00:00:00.000077 363 | constexpr StringRef(const std::string &s) : base(s.c_str()), len(s.size()) {}
14:25:59.624247 00:00:00.000032 | ~~~~~~~^~
14:25:59.624325 00:00:00.000078 /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:2208:7: note: ‘const _CharT* std::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ declared here
14:25:59.624393 00:00:00.000068 2208 | c_str() const _GLIBCXX_NOEXCEPT
14:25:59.624417 00:00:00.000023 | ^~~~~
14:25:59.773243 00:00:00.148826 make[3]: *** [Makefile:1528: http2.o] Error 1
14:26:00.911582 00:00:01.138339 make[3]: *** [Makefile:1528: HtmlParser.o] Error 1
14:26:01.566654 00:00:00.655072 make[3]: *** [Makefile:1528: util.o] Error 1
14:26:04.182321 00:00:02.615667 make[3]: *** [Makefile:1528: nghttp.o] Error 1
14:26:04.182404 00:00:00.000083 make[3]: Leaving directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/src'
14:26:04.185918 00:00:00.003515 make[2]: *** [Makefile:2460: all-recursive] Error 1
14:26:04.186005 00:00:00.000086 make[2]: Leaving directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build/src'
14:26:04.189410 00:00:00.003405 make[1]: *** [Makefile:578: all-recursive] Error 1
14:26:04.189493 00:00:00.000083 make[1]: Leaving directory '/usr/src/nghttp2/nghttp2-1.64.0-1.x86_64/build'
14:26:04.199863 00:00:00.010370 make: *** [Makefile:487: all] Error 2
14:26:04.202267 00:00:00.002404 [1;31m*** ERROR:[0;0m make failed
More information about the Cygwin
mailing list