--- Begin Message ---
Source: argh
Version: 1.3.1+ds-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic
> -std=gnu++11 -MD -MT CMakeFiles/argh_example.dir/example.cpp.o -MF
> CMakeFiles/argh_example.dir/example.cpp.o.d -o
> CMakeFiles/argh_example.dir/example.cpp.o -c /<<PKGBUILDDIR>>/example.cpp
> /<<PKGBUILDDIR>>/argh_tests.cpp: In function ‘void DOCTEST_ANON_FUNC_31()’:
> /<<PKGBUILDDIR>>/argh_tests.cpp:415:24: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 415 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:415:29: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 415 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:415:35: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 415 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:415:40: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 415 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:415:46: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 415 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:415:51: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 415 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:415:56: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 415 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:422:31: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 422 | char * const argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:422:36: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 422 | char * const argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:422:42: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 422 | char * const argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:422:47: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 422 | char * const argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:422:53: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 422 | char * const argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:422:58: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 422 | char * const argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:422:63: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 422 | char * const argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp: In function ‘void DOCTEST_ANON_FUNC_33()’:
> /<<PKGBUILDDIR>>/argh_tests.cpp:449:21: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 449 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:449:26: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 449 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:449:32: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 449 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:449:37: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 449 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:449:43: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 449 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:449:48: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 449 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:449:53: warning: ISO C++ forbids converting a
> string constant to ‘char*’ [-Wwrite-strings]
> 449 | char* argv[] = { "0", "-a", "1", "-b", "2", "3", "4" };
> | ^~~
> /<<PKGBUILDDIR>>/argh_tests.cpp: In lambda function:
> /<<PKGBUILDDIR>>/argh_tests.cpp:717:27: warning: declaration of ‘cmdl’
> shadows a previous local [-Wshadow]
> 717 | [](argh::parser const& cmdl)
> | ~~~~~~~~~~~~~~~~~~~~^~~~
> /<<PKGBUILDDIR>>/argh_tests.cpp:707:17: note: shadowed declaration is here
> 707 | const parser cmdl(argv);
> | ^~~~
> In file included from /<<PKGBUILDDIR>>/argh_tests.cpp:4:
> /usr/include/doctest/doctest.h: In instantiation of
> ‘doctest::detail::Expression_lhs<const L>
> doctest::detail::ExpressionDecomposer::operator<<(const L&&) [with L =
> std::__cxx11::basic_istringstream<char>]’:
> /<<PKGBUILDDIR>>/argh_tests.cpp:62:5: required from here
> /usr/include/doctest/doctest.h:1398:92: error: use of deleted function
> ‘doctest::detail::Expression_lhs<const
> std::__cxx11::basic_istringstream<char>
> >::Expression_lhs(doctest::detail::Expression_lhs<const
> std::__cxx11::basic_istringstream<char> >&&)’
> 1398 | return Expression_lhs<const
> L>(doctest::detail::forward<const L>(operand), m_at);
> |
> ^
> In file included from /<<PKGBUILDDIR>>/argh_tests.cpp:4:
> /usr/include/doctest/doctest.h:1317:12: note:
> ‘doctest::detail::Expression_lhs<const
> std::__cxx11::basic_istringstream<char>
> >::Expression_lhs(doctest::detail::Expression_lhs<const
> std::__cxx11::basic_istringstream<char> >&&)’ is implicitly deleted because
> the default definition would be ill-formed:
> 1317 | struct Expression_lhs
> | ^~~~~~~~~~~~~~
> /usr/include/doctest/doctest.h:1317:12: error: use of deleted function
> ‘std::__cxx11::basic_istringstream<_CharT, _Traits,
> _Alloc>::basic_istringstream(const std::__cxx11::basic_istringstream<_CharT,
> _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>;
> _Alloc = std::allocator<char>]’
> In file included from /<<PKGBUILDDIR>>/argh.h:4,
> from /<<PKGBUILDDIR>>/argh_tests.cpp:1:
> /usr/include/c++/11/sstream:619:7: note: declared here
> 619 | basic_istringstream(const basic_istringstream&) = delete;
> | ^~~~~~~~~~~~~~~~~~~
> [ 75%] Linking CXX executable argh_example
> /usr/bin/cmake -E cmake_link_script CMakeFiles/argh_example.dir/link.txt
> --verbose=1
> /usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic
> CMakeFiles/argh_example.dir/example.cpp.o -o argh_example
> In file included from /<<PKGBUILDDIR>>/argh_tests.cpp:4:
> /usr/include/doctest/doctest.h: In instantiation of
> ‘doctest::detail::Expression_lhs<L>::Expression_lhs(L&&,
> doctest::assertType::Enum) [with L = const
> std::__cxx11::basic_istringstream<char>]’:
> /usr/include/doctest/doctest.h:1398:20: required from
> ‘doctest::detail::Expression_lhs<const L>
> doctest::detail::ExpressionDecomposer::operator<<(const L&&) [with L =
> std::__cxx11::basic_istringstream<char>]’
> /<<PKGBUILDDIR>>/argh_tests.cpp:62:5: required from here
> /usr/include/doctest/doctest.h:1323:19: error: use of deleted function
> ‘std::__cxx11::basic_istringstream<_CharT, _Traits,
> _Alloc>::basic_istringstream(const std::__cxx11::basic_istringstream<_CharT,
> _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>;
> _Alloc = std::allocator<char>]’
> 1323 | : lhs(doctest::detail::forward<L>(in))
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/argh.h:4,
> from /<<PKGBUILDDIR>>/argh_tests.cpp:1:
> /usr/include/c++/11/sstream:619:7: note: declared here
> 619 | basic_istringstream(const basic_istringstream&) = delete;
> | ^~~~~~~~~~~~~~~~~~~
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 75%] Built target argh_example
> make[3]: *** [CMakeFiles/argh_tests.dir/build.make:79:
> CMakeFiles/argh_tests.dir/argh_tests.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/02/12/argh_1.3.1+ds-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---