[Pkg-puppet-devel] Bug#970379: FTBFS: cpp-hocon fails to build against boost1.71

Sven Mueller sven.mueller72 at gmail.com
Tue Sep 15 10:43:19 BST 2020


Package: cpp-hocon
Version: 0.1.7-1

Excerpt from build log:

[100%] Linking CXX executable ../../bin/libcpp-hocon_test
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib/tests && /usr/bin/cmake -E
cmake_link_script CMakeFiles/libcpp-hocon_test.dir/link.txt --verbose=1
/usr/bin/c++  -Wextra -std=c++11 -Wall -Wno-unused-parameter
-Wno-unused-local-typedefs -Wno-unknown-pragmas
-Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wl,-z,relro
-Wl,-z,now -Wl,--as-needed -rdynamic
CMakeFiles/libcpp-hocon_test.dir/concatenation_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/config_document_parser_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/config_node_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/config_value_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/path_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/token_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/tokenizer_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/test_utils.cc.o
CMakeFiles/libcpp-hocon_test.dir/config_document_tests.cc.o
CMakeFiles/libcpp-hocon_test.dir/conf_parser_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/config_substitution_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/config_value_factory_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/config_test.cc.o
CMakeFiles/libcpp-hocon_test.dir/program_options.cc.o
CMakeFiles/libcpp-hocon_test.dir/main.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/simple_config_object.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/abstract_config_node.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_include.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_simple_value.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_single_token.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_comment.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_path.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_complex_value.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_field.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_object.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_array.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_concatenation.cc.o
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_root.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_value.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_boolean.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_number.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_long.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_double.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_null.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_string.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_int.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_reference.cc.o
../CMakeFiles/libprojectsrc.dir/src/path.cc.o
../CMakeFiles/libprojectsrc.dir/src/path_builder.cc.o
../CMakeFiles/libprojectsrc.dir/src/path_parser.cc.o
../CMakeFiles/libprojectsrc.dir/src/token.cc.o
../CMakeFiles/libprojectsrc.dir/src/tokens.cc.o
../CMakeFiles/libprojectsrc.dir/src/tokenizer.cc.o
../CMakeFiles/libprojectsrc.dir/src/simple_config_document.cc.o
../CMakeFiles/libprojectsrc.dir/src/simple_config_origin.cc.o
../CMakeFiles/libprojectsrc.dir/src/config_util.cc.o
../CMakeFiles/libprojectsrc.dir/src/config_parse_options.cc.o
../CMakeFiles/libprojectsrc.dir/src/config_render_options.cc.o
../CMakeFiles/libprojectsrc.dir/src/config_document_parser.cc.o
../CMakeFiles/libprojectsrc.dir/src/config_document_factory.cc.o
../CMakeFiles/libprojectsrc.dir/src/config_parser.cc.o
../CMakeFiles/libprojectsrc.dir/src/parseable.cc.o
../CMakeFiles/libprojectsrc.dir/src/simple_include_context.cc.o
../CMakeFiles/libprojectsrc.dir/src/simple_includer.cc.o
../CMakeFiles/libprojectsrc.dir/src/config_resolve_options.cc.o
../CMakeFiles/libprojectsrc.dir/src/config.cc.o
../CMakeFiles/libprojectsrc.dir/src/default_transformer.cc.o
../CMakeFiles/libprojectsrc.dir/src/substitution_expression.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/simple_config_list.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_delayed_merge.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_delayed_merge_object.cc.o
../CMakeFiles/libprojectsrc.dir/src/resolve_context.cc.o
../CMakeFiles/libprojectsrc.dir/src/resolve_source.cc.o
../CMakeFiles/libprojectsrc.dir/src/values/config_concatenation.cc.o
../CMakeFiles/libprojectsrc.dir/src/config_value_factory.cc.o  -o
../../bin/libcpp-hocon_test  -lrt
/usr/lib/x86_64-linux-gnu/libboost_locale.so.1.71.0
/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.71.0
/usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.71.0
/usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.71.0
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.71.0
/usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.71.0
/usr/lib/x86_64-linux-gnu/libleatherman_locale.so.1.12.1 -lpthread
-lpthread /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.71.0
/usr/lib/x86_64-linux-gnu/libleatherman_util.so.1.12.1
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::unwind_extra_block(bool)':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:1371: undefined
reference to `boost::re_detail_107100::put_mem_block(void*)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function `boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::assign(char const*, char const*,
unsigned int)':
/usr/include/boost/regex/v4/basic_regex.hpp:387: undefined reference to
`boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::re_detail_107100::basic_regex_formatter<boost::re_detail_107100::string_out_iterator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > >,
boost::regex_traits_wrapper<boost::regex_traits<char,
boost::cpp_regex_traits<char> > >, __gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >::toi(__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >&, __gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, int, mpl_::bool_<false> const&)':
/usr/include/boost/regex/v4/regex_format.hpp:168: undefined reference to
`boost::cpp_regex_traits<char>::toi(char const*&, char const*, int) const'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function `boost::cpp_regex_traits<char>::transform[abi:cxx11](char
const*, char const*) const':
/usr/include/boost/regex/v4/cpp_regex_traits.hpp:962: undefined reference
to
`boost::re_detail_107100::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char
const*, char const*) const'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::cpp_regex_traits<char>::transform_primary[abi:cxx11](char const*,
char const*) const':
/usr/include/boost/regex/v4/cpp_regex_traits.hpp:966: undefined reference
to
`boost::re_detail_107100::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char
const*, char const*) const'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::re_detail_107100::save_state_init::save_state_init(boost::re_detail_107100::saved_state**,
boost::re_detail_107100::saved_state**)':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:110: undefined
reference to `boost::re_detail_107100::get_mem_block()'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::find_imp()':
/usr/include/boost/regex/v4/perl_matcher_common.hpp:307: undefined
reference to `boost::re_detail_107100::verify_options(unsigned int,
boost::regex_constants::_match_flags)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function `boost::re_detail_107100::save_state_init::~save_state_init()':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:118: undefined
reference to `boost::re_detail_107100::put_mem_block(void*)'
/usr/bin/ld:
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:118: undefined
reference to `boost::re_detail_107100::put_mem_block(void*)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> >
>::perl_matcher(__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
boost::match_results<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > >&, boost::basic_regex<char,
boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&,
boost::regex_constants::_match_flags, __gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >)':
/usr/include/boost/regex/v4/perl_matcher.hpp:391: undefined reference to
`boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char,
boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&,
boost::regex_constants::_match_flags)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function `void
boost::re_detail_107100::raise_error<boost::regex_traits_wrapper<boost::regex_traits<char,
boost::cpp_regex_traits<char> > >
>(boost::regex_traits_wrapper<boost::regex_traits<char,
boost::cpp_regex_traits<char> > > const&,
boost::regex_constants::error_type)':
/usr/include/boost/regex/pattern_except.hpp:75: undefined reference to
`boost::re_detail_107100::raise_runtime_error(std::runtime_error const&)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::re_detail_107100::cpp_regex_traits_implementation<char>::error_string[abi:cxx11](boost::regex_constants::error_type)
const':
/usr/include/boost/regex/v4/cpp_regex_traits.hpp:449: undefined reference
to
`boost::re_detail_107100::get_default_error_string(boost::regex_constants::error_type)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::extend_stack()':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:236: undefined
reference to `boost::re_detail_107100::get_mem_block()'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::match_match()':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:1108: undefined
reference to `boost::match_results<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >
>::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > > const&)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/values/config_object.cc.o:
in function
`boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::match_prefix()':
/usr/include/boost/regex/v4/perl_matcher_common.hpp:346: undefined
reference to `boost::match_results<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > >
>::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char
const*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > > > const&)'
/usr/bin/ld:
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_simple_value.cc.o: in
function `boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::assign(char const*, char const*,
unsigned int)':
/usr/include/boost/regex/v4/basic_regex.hpp:387: undefined reference to
`boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'
/usr/bin/ld:
../CMakeFiles/libprojectsrc.dir/src/nodes/config_node_path.cc.o: in
function `boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::assign(char const*, char const*,
unsigned int)':
/usr/include/boost/regex/v4/basic_regex.hpp:387: undefined reference to
`boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/token.cc.o: in function
`boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::assign(char const*, char const*,
unsigned int)':
/usr/include/boost/regex/v4/basic_regex.hpp:387: undefined reference to
`boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'
/usr/bin/ld: ../CMakeFiles/libprojectsrc.dir/src/tokens.cc.o: in function
`boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::assign(char const*, char const*,
unsigned int)':
/usr/include/boost/regex/v4/basic_regex.hpp:387: undefined reference to
`boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'
/usr/bin/ld:
../CMakeFiles/libprojectsrc.dir/src/simple_config_document.cc.o: in
function `boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::assign(char const*, char const*,
unsigned int)':
/usr/include/boost/regex/v4/basic_regex.hpp:387: undefined reference to
`boost::basic_regex<char, boost::regex_traits<char,
boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
unsigned int)'
/usr/bin/ld:
../CMakeFiles/libprojectsrc.dir/src/simple_config_origin.cc.o:/usr/include/boost/regex/v4/basic_regex.hpp:387:
more undefined references to `boost::basic_regex<char,
boost::regex_traits<char, boost::cpp_regex_traits<char> > >::do_assign(char
const*, char const*, unsigned int)' follow
collect2: error: ld returned 1 exit status
make[3]: *** [lib/tests/CMakeFiles/libcpp-hocon_test.dir/build.make:408:
bin/libcpp-hocon_test] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:252:
lib/tests/CMakeFiles/libcpp-hocon_test.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:144: 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" returned exit code 2
make: *** [debian/rules:13: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
status 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-puppet-devel/attachments/20200915/cecd5dd3/attachment-0001.html>


More information about the Pkg-puppet-devel mailing list