Your message dated Fri, 29 Jul 2022 03:16:30 +0300
with message-id <YuMm3nNUNOsP+Zwq@localhost>
and subject line Fixed in 16.2.10+ds-1
has caused the Debian Bug report #1012904,
regarding ceph: ftbfs with GCC-12
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1012904: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012904
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:ceph
Version: 16.2.7+ds-4
Severity: normal
Tags: sid bookworm
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-12
[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/ceph_16.2.7+ds-4_unstable_gcc12.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
/<<PKGBUILDDIR>>/src/osd/osd_types.h:3621:11: note: in expansion of macro
‘ldpp_dout’
3621 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd
| ^~~~~~~~~
/<<PKGBUILDDIR>>/src/common/dout.h:106:21: note:
‘ceph::dout::dynamic_marker_t<T> ceph::dout::need_dynamic(T&&) [with T =
unsigned int]’ declared here
106 | dynamic_marker_t<T> need_dynamic(T&& t) {
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/osd/osd_types.h: In lambda function:
/<<PKGBUILDDIR>>/src/common/dout.h:185:56: error: call to non-‘constexpr’
function ‘ceph::dout::dynamic_marker_t<T> ceph::dout::need_dynamic(T&&) [with T
= unsigned int]’
185 | dout_impl(pdpp->get_cct(),
ceph::dout::need_dynamic(pdpp->get_subsys()), v) \
|
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/common/dout.h:156:58: note: in definition of macro
‘dout_impl’
156 | return (cctX->_conf->subsys.template should_gather<sub, v>());
\
| ^~~
/<<PKGBUILDDIR>>/src/osd/osd_types.h:3635:9: note: in expansion of macro
‘ldpp_dout’
3635 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw,"
| ^~~~~~~~~
/<<PKGBUILDDIR>>/src/common/dout.h:106:21: note:
‘ceph::dout::dynamic_marker_t<T> ceph::dout::need_dynamic(T&&) [with T =
unsigned int]’ declared here
106 | dynamic_marker_t<T> need_dynamic(T&& t) {
| ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/osd/osd_types.h: In lambda function:
/<<PKGBUILDDIR>>/src/common/dout.h:185:56: error: call to non-‘constexpr’
function ‘ceph::dout::dynamic_marker_t<T> ceph::dout::need_dynamic(T&&) [with T
= unsigned int]’
185 | dout_impl(pdpp->get_cct(),
ceph::dout::need_dynamic(pdpp->get_subsys()), v) \
|
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/common/dout.h:156:58: note: in definition of macro
‘dout_impl’
156 | return (cctX->_conf->subsys.template should_gather<sub, v>());
\
| ^~~
/<<PKGBUILDDIR>>/src/osd/osd_types.h:3645:3: note: in expansion of macro
‘ldpp_dout’
3645 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe
| ^~~~~~~~~
/<<PKGBUILDDIR>>/src/common/dout.h:106:21: note:
‘ceph::dout::dynamic_marker_t<T> ceph::dout::need_dynamic(T&&) [with T =
unsigned int]’ declared here
106 | dynamic_marker_t<T> need_dynamic(T&& t) {
| ^~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:2116: src/CMakeFiles/common-objs.dir/all]
Error 2
[ 3%] Building CXX object
src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/auth && /usr/bin/c++
-DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION
-DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__
-D__STDC_FORMAT_MACROS -D__linux__
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include -I/<<PKGBUILDDIR>>/src
-isystem /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -isystem
/<<PKGBUILDDIR>>/src/xxHash -isystem /<<PKGBUILDDIR>>/src/rapidjson/include -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -U_FORTIFY_SOURCE -Wall -fno-strict-aliasing
-fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith
-Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor
-Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessim
izing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual
-fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
-std=c++17 -MD -MT
src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o -MF
CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o.d -o
CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o -c
/<<PKGBUILDDIR>>/src/auth/cephx/CephxClientHandler.cc
[ 3%] Building CXX object
src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/auth && /usr/bin/c++
-DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION
-DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__
-D__STDC_FORMAT_MACROS -D__linux__
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include -I/<<PKGBUILDDIR>>/src
-isystem /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -isystem
/<<PKGBUILDDIR>>/src/xxHash -isystem /<<PKGBUILDDIR>>/src/rapidjson/include -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -U_FORTIFY_SOURCE -Wall -fno-strict-aliasing
-fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith
-Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor
-Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessim
izing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual
-fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
-std=c++17 -MD -MT
src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o -MF
CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o.d -o
CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o -c
/<<PKGBUILDDIR>>/src/auth/cephx/CephxProtocol.cc
[ 3%] Building CXX object
src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/auth && /usr/bin/c++
-DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION
-DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__
-D__STDC_FORMAT_MACROS -D__linux__
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include -I/<<PKGBUILDDIR>>/src
-isystem /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -isystem
/<<PKGBUILDDIR>>/src/xxHash -isystem /<<PKGBUILDDIR>>/src/rapidjson/include -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -U_FORTIFY_SOURCE -Wall -fno-strict-aliasing
-fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith
-Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor
-Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessim
izing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual
-fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
-std=c++17 -MD -MT
src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o -MF
CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o.d -o
CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o -c
/<<PKGBUILDDIR>>/src/auth/cephx/CephxSessionHandler.cc
[ 3%] Building CXX object
src/auth/CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/auth && /usr/bin/c++
-DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION
-DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__
-D__STDC_FORMAT_MACROS -D__linux__
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/include -I/<<PKGBUILDDIR>>/src
-isystem /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -isystem
/<<PKGBUILDDIR>>/src/xxHash -isystem /<<PKGBUILDDIR>>/src/rapidjson/include -g
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -U_FORTIFY_SOURCE -Wall -fno-strict-aliasing
-fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith
-Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor
-Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessim
izing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual
-fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
-std=c++17 -MD -MT
src/auth/CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o -MF
CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o.d -o
CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o -c
/<<PKGBUILDDIR>>/src/auth/none/AuthNoneAuthorizeHandler.cc
make[3]: *** [src/msg/CMakeFiles/common-msg-objs.dir/build.make:163:
src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o] Error 1
make[3]: *** [src/msg/CMakeFiles/common-msg-objs.dir/build.make:93:
src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:4269:
src/msg/CMakeFiles/common-msg-objs.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:4113:
src/common/CMakeFiles/common-common-objs.dir/all] Error 2
/<<PKGBUILDDIR>>/src/auth/cephx/CephxProtocol.cc: In member function ‘virtual
bool CephXAuthorizer::add_challenge(ceph::common::CephContext*, const
ceph::bufferlist&)’:
/<<PKGBUILDDIR>>/src/auth/cephx/CephxProtocol.cc:595:57: warning:
‘ch.CephXAuthorizeChallenge::server_challenge’ may be used uninitialized
[-Wmaybe-uninitialized]
595 | msg.server_challenge_plus_one = ch.server_challenge + 1;
| ~~~~~~~~~~~~~~~~~~~~^~~
/<<PKGBUILDDIR>>/src/auth/cephx/CephxProtocol.cc:587:29: note:
‘ch.CephXAuthorizeChallenge::server_challenge’ was declared here
587 | CephXAuthorizeChallenge ch;
| ^~
/<<PKGBUILDDIR>>/src/auth/cephx/CephxProtocol.cc: In function ‘bool
cephx_verify_authorizer(ceph::common::CephContext*, const KeyStore&,
ceph::buffer::v15_2_0::list::const_iterator&, size_t, CephXServiceTicketInfo&,
std::unique_ptr<AuthAuthorizerChallenge>*, std::string*, ceph::bufferlist*)’:
/<<PKGBUILDDIR>>/src/auth/cephx/CephxProtocol.cc:524:41: warning:
‘auth_msg.CephXAuthorize::nonce’ may be used uninitialized
[-Wmaybe-uninitialized]
524 | reply.nonce_plus_one = auth_msg.nonce + 1;
| ~~~~~~~~~~~~~~~^~~
/<<PKGBUILDDIR>>/src/auth/cephx/CephxProtocol.cc:487:18: note:
‘auth_msg.CephXAuthorize::nonce’ was declared here
487 | CephXAuthorize auth_msg;
| ^~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 3%] Built target common-auth-objs
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:113: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Version: 16.2.10+ds-1
ceph (16.2.10+ds-1) unstable; urgency=high
...
* Add fix-FTBFS-include-memory.h.patch to address FTBFS under GCC 12.
-- Thomas Goirand <z...@debian.org> Wed, 27 Jul 2022 09:30:47 +0200
--- End Message ---