--- Begin Message ---
Package: src:pistache
Version: 0.0.5+ds-3
Severity: normal
Tags: sid trixie
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/pistache_0.0.5+ds-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-13/porting_to.html
[...]
52 | typedef typename TypeStorage<sizeof(T)>::Type Type;
| ^~~~
../include/pistache/flags.h:26:16: note: declaration of ‘struct
Pistache::detail::TypeStorage<4>’
26 | struct TypeStorage;
| ^~~~~~~~~~~
../include/pistache/os.h: In function ‘Pistache::Polling::NotifyOn
Pistache::Polling::operator&(NotifyOn, NotifyOn)’:
../include/pistache/flags.h:149:43: error: ‘UnderlyingType’ does not name a
type; did you mean ‘__underlying_type’?
149 | return static_cast<T>(static_cast<UnderlyingType>(lhs)
\
| ^~~~~~~~~~~~~~
../include/pistache/flags.h:154:5: note: in expansion of macro
‘DEFINE_BITWISE_OP’
154 | DEFINE_BITWISE_OP(&, T) \
| ^~~~~~~~~~~~~~~~~
../include/pistache/os.h:76:9: note: in expansion of macro
‘DECLARE_FLAGS_OPERATORS’
76 | DECLARE_FLAGS_OPERATORS(NotifyOn)
| ^~~~~~~~~~~~~~~~~~~~~~~
../include/pistache/flags.h:150:50: error: ‘UnderlyingType’ does not name a
type; did you mean ‘__underlying_type’?
150 | Op static_cast<UnderlyingType>(rhs));
\
| ^~~~~~~~~~~~~~
../include/pistache/flags.h:154:5: note: in expansion of macro
‘DEFINE_BITWISE_OP’
154 | DEFINE_BITWISE_OP(&, T) \
| ^~~~~~~~~~~~~~~~~
../include/pistache/os.h:76:9: note: in expansion of macro
‘DECLARE_FLAGS_OPERATORS’
76 | DECLARE_FLAGS_OPERATORS(NotifyOn)
| ^~~~~~~~~~~~~~~~~~~~~~~
../include/pistache/os.h: In function ‘Pistache::Polling::NotifyOn
Pistache::Polling::operator|(NotifyOn, NotifyOn)’:
../include/pistache/flags.h:149:43: error: ‘UnderlyingType’ does not name a
type; did you mean ‘__underlying_type’?
149 | return static_cast<T>(static_cast<UnderlyingType>(lhs)
\
| ^~~~~~~~~~~~~~
../include/pistache/flags.h:155:5: note: in expansion of macro
‘DEFINE_BITWISE_OP’
155 | DEFINE_BITWISE_OP(|, T)
| ^~~~~~~~~~~~~~~~~
../include/pistache/os.h:76:9: note: in expansion of macro
‘DECLARE_FLAGS_OPERATORS’
76 | DECLARE_FLAGS_OPERATORS(NotifyOn)
| ^~~~~~~~~~~~~~~~~~~~~~~
../include/pistache/flags.h:150:50: error: ‘UnderlyingType’ does not name a
type; did you mean ‘__underlying_type’?
150 | Op static_cast<UnderlyingType>(rhs));
\
| ^~~~~~~~~~~~~~
../include/pistache/flags.h:155:5: note: in expansion of macro
‘DEFINE_BITWISE_OP’
155 | DEFINE_BITWISE_OP(|, T)
| ^~~~~~~~~~~~~~~~~
../include/pistache/os.h:76:9: note: in expansion of macro
‘DECLARE_FLAGS_OPERATORS’
76 | DECLARE_FLAGS_OPERATORS(NotifyOn)
| ^~~~~~~~~~~~~~~~~~~~~~~
[11/79] c++ -Isrc/libpistache.so.0.0.5.p -Isrc -I../src -Iinclude -I../include
-I/usr/include -flto=auto -fdiagnostics-color=always -DNDEBUG
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17
-Wconversion -Wno-sign-conversion -Wno-missing-field-initializers
-DPISTACHE_USE_SSL -g -O2 -Werror=array-bounds -Werror=clobbered
-Werror=volatile-register-var
-D__DEB_CANARY_CXXFLAGS_1340ccf24722f02bbc81b3822ce23d4c__
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ffat-lto-objects
-D__DEB_CANARY_CPPFLAGS_1340ccf24722f02bbc81b3822ce23d4c__ -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -pthread -MD
-MQ src/libpistache.so.0.0.5.p/common_peer.cc.o -MF
src/libpistache.so.0.0.5.p/common_peer.cc.o.d -o
src/libpistache.so.0.0.5.p/common_peer.cc.o -c ../src/common/peer.cc
[12/79] c++ -Isrc/libpistache.so.0.0.5.p -Isrc -I../src -Iinclude -I../include
-I/usr/include -flto=auto -fdiagnostics-color=always -DNDEBUG
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17
-Wconversion -Wno-sign-conversion -Wno-missing-field-initializers
-DPISTACHE_USE_SSL -g -O2 -Werror=array-bounds -Werror=clobbered
-Werror=volatile-register-var
-D__DEB_CANARY_CXXFLAGS_1340ccf24722f02bbc81b3822ce23d4c__
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ffat-lto-objects
-D__DEB_CANARY_CPPFLAGS_1340ccf24722f02bbc81b3822ce23d4c__ -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -pthread -MD
-MQ src/libpistache.so.0.0.5.p/common_timer_pool.cc.o -MF
src/libpistache.so.0.0.5.p/common_timer_pool.cc.o.d -o
src/libpistache.so.0.0.5.p/common_timer_pool.cc.o -c ../src/common/timer_pool.cc
[13/79] c++ -Isrc/libpistache.so.0.0.5.p -Isrc -I../src -Iinclude -I../include
-I/usr/include -flto=auto -fdiagnostics-color=always -DNDEBUG
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17
-Wconversion -Wno-sign-conversion -Wno-missing-field-initializers
-DPISTACHE_USE_SSL -g -O2 -Werror=array-bounds -Werror=clobbered
-Werror=volatile-register-var
-D__DEB_CANARY_CXXFLAGS_1340ccf24722f02bbc81b3822ce23d4c__
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ffat-lto-objects
-D__DEB_CANARY_CPPFLAGS_1340ccf24722f02bbc81b3822ce23d4c__ -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -pthread -MD
-MQ src/libpistache.so.0.0.5.p/common_tcp.cc.o -MF
src/libpistache.so.0.0.5.p/common_tcp.cc.o.d -o
src/libpistache.so.0.0.5.p/common_tcp.cc.o -c ../src/common/tcp.cc
[14/79] c++ -Isrc/libpistache.so.0.0.5.p -Isrc -I../src -Iinclude -I../include
-I/usr/include -flto=auto -fdiagnostics-color=always -DNDEBUG
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17
-Wconversion -Wno-sign-conversion -Wno-missing-field-initializers
-DPISTACHE_USE_SSL -g -O2 -Werror=array-bounds -Werror=clobbered
-Werror=volatile-register-var
-D__DEB_CANARY_CXXFLAGS_1340ccf24722f02bbc81b3822ce23d4c__
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ffat-lto-objects
-D__DEB_CANARY_CPPFLAGS_1340ccf24722f02bbc81b3822ce23d4c__ -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -pthread -MD
-MQ src/libpistache.so.0.0.5.p/common_description.cc.o -MF
src/libpistache.so.0.0.5.p/common_description.cc.o.d -o
src/libpistache.so.0.0.5.p/common_description.cc.o -c
../src/common/description.cc
[15/79] c++ -Isrc/libpistache.so.0.0.5.p -Isrc -I../src -Iinclude -I../include
-I/usr/include -flto=auto -fdiagnostics-color=always -DNDEBUG
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17
-Wconversion -Wno-sign-conversion -Wno-missing-field-initializers
-DPISTACHE_USE_SSL -g -O2 -Werror=array-bounds -Werror=clobbered
-Werror=volatile-register-var
-D__DEB_CANARY_CXXFLAGS_1340ccf24722f02bbc81b3822ce23d4c__
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ffat-lto-objects
-D__DEB_CANARY_CPPFLAGS_1340ccf24722f02bbc81b3822ce23d4c__ -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -pthread -MD
-MQ src/libpistache.so.0.0.5.p/common_http_defs.cc.o -MF
src/libpistache.so.0.0.5.p/common_http_defs.cc.o.d -o
src/libpistache.so.0.0.5.p/common_http_defs.cc.o -c ../src/common/http_defs.cc
In file included from /usr/include/c++/13/chrono:41,
from /usr/include/date/date.h:46,
from ../src/common/http_defs.cc:21:
In function ‘std::chrono::__duration_cast_impl<std::chrono::duration<long,
std::ratio<1l, 1000000000l> >, std::ratio<1000000000l, 1l>, long double, false,
true>::__cast<long double, std::ratio<1l, 1l> >(std::chrono::duration<long
double, std::ratio<1l, 1l> > const&)std::chrono::duration<long, std::ratio<1l,
1000000000l> >’,
inlined from ‘std::chrono::duration_cast<std::chrono::duration<long,
std::ratio<1l, 1000000000l> >, long double, std::ratio<1l, 1l>
>(std::chrono::duration<long double, std::ratio<1l, 1l> >
const&)std::enable_if<std::chrono::__is_duration<std::chrono::duration<long,
std::ratio<1l, 1000000000l> > >::value, std::chrono::duration<long,
std::ratio<1l, 1000000000l> > >::type’ at
/usr/include/c++/13/bits/chrono.h:287:23,
inlined from ‘std::chrono::floor<std::chrono::duration<long, std::ratio<1l,
1000000000l> >, long double, std::ratio<1l, 1l> >(std::chrono::duration<long
double, std::ratio<1l, 1l> >
const&)std::enable_if<std::chrono::__is_duration<std::chrono::duration<long,
std::ratio<1l, 1000000000l> > >::value, std::chrono::duration<long,
std::ratio<1l, 1000000000l> > >::type’ at
/usr/include/c++/13/bits/chrono.h:388:43,
inlined from ‘std::chrono::round<std::chrono::duration<long, std::ratio<1l,
1000000000l> >, long double, std::ratio<1l, 1l> >(std::chrono::duration<long
double, std::ratio<1l, 1l> >
const&)std::enable_if<std::__and_<std::chrono::__is_duration<std::chrono::duration<long,
std::ratio<1l, 1000000000l> > >,
std::__not_<std::chrono::treat_as_floating_point<std::chrono::duration<long,
std::ratio<1l, 1000000000l> >::rep> > >::value, std::chrono::duration<long,
std::ratio<1l, 1000000000l> > >::type’ at
/usr/include/c++/13/bits/chrono.h:433:37,
inlined from ‘date::detail::round_i<std::chrono::duration<long,
std::ratio<1l, 1000000000l> >, long double, std::ratio<1l, 1l>
>(std::chrono::duration<long double, std::ratio<1l, 1l> >
const&)std::enable_if<!std::chrono::treat_as_floating_point<std::chrono::duration<long,
std::ratio<1l, 1000000000l> >::rep>::value, std::chrono::duration<long,
std::ratio<1l, 1000000000l> > >::type’ at /usr/include/date/date.h:1377:21,
inlined from ‘date::from_stream<char, std::char_traits<char>,
std::chrono::duration<long, std::ratio<1l, 1000000000l> >, std::allocator<char>
>(std::basic_istream<char, std::char_traits<char> >&, char const*,
date::fields<std::chrono::duration<long, std::ratio<1l, 1000000000l> > >&,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>*, std::chrono::duration<long, std::ratio<60l, 1l> >*)std::basic_istream<char,
std::char_traits<char> >& [clone .isra.0]’ at /usr/include/date/date.h:7263:36:
/usr/include/c++/13/bits/chrono.h:225:45: warning: ‘S’ may be used
uninitialized [-Wmaybe-uninitialized]
225 | static_cast<_CR>(__d.count()) *
static_cast<_CR>(_CF::num)));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/date/date.h: In function ‘date::from_stream<char,
std::char_traits<char>, std::chrono::duration<long, std::ratio<1l, 1000000000l>
>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&,
char const*, date::fields<std::chrono::duration<long, std::ratio<1l,
1000000000l> > >&, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >*, std::chrono::duration<long, std::ratio<60l, 1l>
>*)std::basic_istream<char, std::char_traits<char> >& [clone .isra.0]’:
/usr/include/date/date.h:7261:37: note: ‘S’ was declared here
7261 | long double S;
| ^
[16/79] c++ -Isrc/libpistache.so.0.0.5.p -Isrc -I../src -Iinclude -I../include
-I/usr/include -flto=auto -fdiagnostics-color=always -DNDEBUG
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17
-Wconversion -Wno-sign-conversion -Wno-missing-field-initializers
-DPISTACHE_USE_SSL -g -O2 -Werror=array-bounds -Werror=clobbered
-Werror=volatile-register-var
-D__DEB_CANARY_CXXFLAGS_1340ccf24722f02bbc81b3822ce23d4c__
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ffat-lto-objects
-D__DEB_CANARY_CPPFLAGS_1340ccf24722f02bbc81b3822ce23d4c__ -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -pthread -MD
-MQ src/libpistache.so.0.0.5.p/common_http.cc.o -MF
src/libpistache.so.0.0.5.p/common_http.cc.o.d -o
src/libpistache.so.0.0.5.p/common_http.cc.o -c ../src/common/http.cc
[17/79] c++ -Isrc/libpistache.so.0.0.5.p -Isrc -I../src -Iinclude -I../include
-I/usr/include -flto=auto -fdiagnostics-color=always -DNDEBUG
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17
-Wconversion -Wno-sign-conversion -Wno-missing-field-initializers
-DPISTACHE_USE_SSL -g -O2 -Werror=array-bounds -Werror=clobbered
-Werror=volatile-register-var
-D__DEB_CANARY_CXXFLAGS_1340ccf24722f02bbc81b3822ce23d4c__
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -ffat-lto-objects
-D__DEB_CANARY_CPPFLAGS_1340ccf24722f02bbc81b3822ce23d4c__ -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -DHAS_STRING_VIEW=1 -DONLY_C_LOCALE=1 -pthread -MD
-MQ src/libpistache.so.0.0.5.p/common_transport.cc.o -MF
src/libpistache.so.0.0.5.p/common_transport.cc.o.d -o
src/libpistache.so.0.0.5.p/common_transport.cc.o -c ../src/common/transport.cc
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v
returned exit code 1
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---