Source: tao-pegtl
Version: 2.8.3-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/test/pegtl && /usr/bin/c++   
> -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2   -pedantic -Wall -Wextra -Wshadow -Werror -std=c++11 -o 
> CMakeFiles/pegtl-test-rule_enable.dir/rule_enable.cpp.o -c 
> /<<PKGBUILDDIR>>/src/test/pegtl/rule_enable.cpp
> In file included from 
> /<<PKGBUILDDIR>>/src/test/pegtl/contrib_rep_one_min_max.cpp:8:
> /<<PKGBUILDDIR>>/include/tao/pegtl/contrib/rep_one_min_max.hpp: In 
> instantiation of ‘static bool tao::pegtl::internal::rep_one_min_max<Min, Max, 
> C>::match(Input&) [with Input = 
> tao::pegtl::memory_input<tao::pegtl::tracking_mode::eager, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; unsigned 
> int Min = 0; unsigned int Max = 2; char C = '+']’:
> /<<PKGBUILDDIR>>/include/tao/pegtl/internal/duseltronik.hpp:51:34:   required 
> from ‘static decltype ((Rule::match(in), true)) 
> tao::pegtl::internal::duseltronik<Rule, A, M, Action, Control, 
> tao::pegtl::internal::dusel_mode::nothing>::match(Input&, States&& ...) [with 
> Input = tao::pegtl::memory_input<tao::pegtl::tracking_mode::eager, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; States = 
> {}; int <anonymous> = 0; Rule = tao::pegtl::ascii::rep_one_min_max<0, 2, 
> '+'>; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; 
> tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = 
> tao::pegtl::nothing; Control = tao::pegtl::normal; decltype 
> ((Rule::match(in), true)) = bool]’
> /<<PKGBUILDDIR>>/include/tao/pegtl/internal/duseltronik.hpp:69:90:   required 
> from ‘static bool tao::pegtl::internal::duseltronik<Rule, A, M, Action, 
> Control, tao::pegtl::internal::dusel_mode::control>::match(Input&, States&& 
> ...) [with Input = tao::pegtl::memory_input<tao::pegtl::tracking_mode::eager, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; States = 
> {}; Rule = tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; 
> tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; 
> tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = 
> tao::pegtl::nothing; Control = tao::pegtl::normal]’
> /<<PKGBUILDDIR>>/include/tao/pegtl/match.hpp:64:82:   required from ‘bool 
> tao::pegtl::match(Input&, States&& ...) [with Rule = 
> tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; tao::pegtl::apply_mode A = 
> tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = 
> tao::pegtl::rewind_mode::required; Action = tao::pegtl::nothing; Control = 
> tao::pegtl::normal; Input = 
> tao::pegtl::memory_input<tao::pegtl::tracking_mode::eager, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; States = 
> {}]’
> /<<PKGBUILDDIR>>/include/tao/pegtl/normal.hpp:88:77:   required from ‘static 
> typename std::enable_if<(! tao::pegtl::internal::has_match<void, Rule, A, M, 
> Action, Control, Input, States ...>::value), bool>::type 
> tao::pegtl::normal<Rule>::match(Input&, States&& ...) [with 
> tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; 
> tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = 
> tao::pegtl::nothing; Control = tao::pegtl::normal; Input = 
> tao::pegtl::memory_input<tao::pegtl::tracking_mode::eager, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; States = 
> {}; int <anonymous> = 1; Rule = tao::pegtl::ascii::rep_one_min_max<0, 2, 
> '+'>; typename std::enable_if<(! tao::pegtl::internal::has_match<void, Rule, 
> A, M, Action, Control, Input, States ...>::value), bool>::type = bool]’
> /<<PKGBUILDDIR>>/src/test/pegtl/verify_impl.hpp:27:108:   required from 
> ‘tao::pegtl::result_type tao::pegtl::verify_impl_two(Input&) [with Rule = 
> tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; Action = tao::pegtl::nothing; 
> Input = tao::pegtl::memory_input<tao::pegtl::tracking_mode::eager, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >]’
> /<<PKGBUILDDIR>>/src/test/pegtl/verify_impl.hpp:44:70:   required from ‘void 
> tao::pegtl::verify_impl_one(std::size_t, const char*, const string&, Input&, 
> tao::pegtl::result_type, std::size_t) [with Rule = 
> tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; Action = tao::pegtl::nothing; 
> Input = tao::pegtl::memory_input<tao::pegtl::tracking_mode::eager, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; 
> std::size_t = long unsigned int; std::string = 
> std::__cxx11::basic_string<char>]’
> /<<PKGBUILDDIR>>/src/test/pegtl/verify_rule.hpp:45:45:   required from ‘void 
> tao::pegtl::verify_rule(std::size_t, const char*, const string&, 
> tao::pegtl::result_type, std::size_t) [with Rule = 
> tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; Eol = 
> tao::pegtl::ascii::eol::lf_crlf; std::size_t = long unsigned int; std::string 
> = std::__cxx11::basic_string<char>]’
> /<<PKGBUILDDIR>>/src/test/pegtl/contrib_rep_one_min_max.cpp:30:103:   
> required from here
> /<<PKGBUILDDIR>>/include/tao/pegtl/contrib/rep_one_min_max.hpp:40:26: error: 
> comparison of unsigned expression in ‘>= 0’ is always true 
> [-Werror=type-limits]
>    40 |                if( ( Min <= i ) && ( i <= Max ) ) {
>       |                    ~~~~~~^~~~~~
> /<<PKGBUILDDIR>>/include/tao/pegtl/contrib/rep_one_min_max.hpp: In 
> instantiation of ‘static bool tao::pegtl::internal::rep_one_min_max<Min, Max, 
> C>::match(Input&) [with Input = 
> tao::pegtl::memory_input<tao::pegtl::tracking_mode::lazy, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; unsigned 
> int Min = 0; unsigned int Max = 2; char C = '+']’:
> /<<PKGBUILDDIR>>/include/tao/pegtl/internal/duseltronik.hpp:51:34:   required 
> from ‘static decltype ((Rule::match(in), true)) 
> tao::pegtl::internal::duseltronik<Rule, A, M, Action, Control, 
> tao::pegtl::internal::dusel_mode::nothing>::match(Input&, States&& ...) [with 
> Input = tao::pegtl::memory_input<tao::pegtl::tracking_mode::lazy, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; States = 
> {}; int <anonymous> = 0; Rule = tao::pegtl::ascii::rep_one_min_max<0, 2, 
> '+'>; tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; 
> tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = 
> tao::pegtl::nothing; Control = tao::pegtl::normal; decltype 
> ((Rule::match(in), true)) = bool]’
> /<<PKGBUILDDIR>>/include/tao/pegtl/internal/duseltronik.hpp:69:90:   required 
> from ‘static bool tao::pegtl::internal::duseltronik<Rule, A, M, Action, 
> Control, tao::pegtl::internal::dusel_mode::control>::match(Input&, States&& 
> ...) [with Input = tao::pegtl::memory_input<tao::pegtl::tracking_mode::lazy, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; States = 
> {}; Rule = tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; 
> tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; 
> tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = 
> tao::pegtl::nothing; Control = tao::pegtl::normal]’
> /<<PKGBUILDDIR>>/include/tao/pegtl/match.hpp:64:82:   required from ‘bool 
> tao::pegtl::match(Input&, States&& ...) [with Rule = 
> tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; tao::pegtl::apply_mode A = 
> tao::pegtl::apply_mode::action; tao::pegtl::rewind_mode M = 
> tao::pegtl::rewind_mode::required; Action = tao::pegtl::nothing; Control = 
> tao::pegtl::normal; Input = 
> tao::pegtl::memory_input<tao::pegtl::tracking_mode::lazy, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; States = 
> {}]’
> /<<PKGBUILDDIR>>/include/tao/pegtl/normal.hpp:88:77:   required from ‘static 
> typename std::enable_if<(! tao::pegtl::internal::has_match<void, Rule, A, M, 
> Action, Control, Input, States ...>::value), bool>::type 
> tao::pegtl::normal<Rule>::match(Input&, States&& ...) [with 
> tao::pegtl::apply_mode A = tao::pegtl::apply_mode::action; 
> tao::pegtl::rewind_mode M = tao::pegtl::rewind_mode::required; Action = 
> tao::pegtl::nothing; Control = tao::pegtl::normal; Input = 
> tao::pegtl::memory_input<tao::pegtl::tracking_mode::lazy, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; States = 
> {}; int <anonymous> = 1; Rule = tao::pegtl::ascii::rep_one_min_max<0, 2, 
> '+'>; typename std::enable_if<(! tao::pegtl::internal::has_match<void, Rule, 
> A, M, Action, Control, Input, States ...>::value), bool>::type = bool]’
> /<<PKGBUILDDIR>>/src/test/pegtl/verify_impl.hpp:27:108:   required from 
> ‘tao::pegtl::result_type tao::pegtl::verify_impl_two(Input&) [with Rule = 
> tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; Action = tao::pegtl::nothing; 
> Input = tao::pegtl::memory_input<tao::pegtl::tracking_mode::lazy, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >]’
> /<<PKGBUILDDIR>>/src/test/pegtl/verify_impl.hpp:44:70:   required from ‘void 
> tao::pegtl::verify_impl_one(std::size_t, const char*, const string&, Input&, 
> tao::pegtl::result_type, std::size_t) [with Rule = 
> tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; Action = tao::pegtl::nothing; 
> Input = tao::pegtl::memory_input<tao::pegtl::tracking_mode::lazy, 
> tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; 
> std::size_t = long unsigned int; std::string = 
> std::__cxx11::basic_string<char>]’
> /<<PKGBUILDDIR>>/src/test/pegtl/verify_rule.hpp:47:45:   required from ‘void 
> tao::pegtl::verify_rule(std::size_t, const char*, const string&, 
> tao::pegtl::result_type, std::size_t) [with Rule = 
> tao::pegtl::ascii::rep_one_min_max<0, 2, '+'>; Eol = 
> tao::pegtl::ascii::eol::lf_crlf; std::size_t = long unsigned int; std::string 
> = std::__cxx11::basic_string<char>]’
> /<<PKGBUILDDIR>>/src/test/pegtl/contrib_rep_one_min_max.cpp:30:103:   
> required from here
> /<<PKGBUILDDIR>>/include/tao/pegtl/contrib/rep_one_min_max.hpp:40:26: error: 
> comparison of unsigned expression in ‘>= 0’ is always true 
> [-Werror=type-limits]
> [ 81%] Linking CXX executable pegtl-test-rule_bytes
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/test/pegtl && /usr/bin/cmake -E 
> cmake_link_script CMakeFiles/pegtl-test-rule_bytes.dir/link.txt --verbose=1
> /usr/bin/c++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2  -Wl,-z,relro 
> CMakeFiles/pegtl-test-rule_bytes.dir/rule_bytes.cpp.o  -o 
> pegtl-test-rule_bytes 
> cc1plus: all warnings being treated as errors
> make[3]: *** 
> [src/test/pegtl/CMakeFiles/pegtl-test-contrib_rep_one_min_max.dir/build.make:66:
>  
> src/test/pegtl/CMakeFiles/pegtl-test-contrib_rep_one_min_max.dir/contrib_rep_one_min_max.cpp.o]
>  Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/tao-pegtl_2.8.3-1_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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to