Bug#1071700: paraview: FTBFS 32-bit arches: xdmf3 invalid conversion ‘long unsigned int*’ to ‘const int*’

Drew Parsons dparsons at debian.org
Fri May 24 00:37:02 BST 2024


Package: paraview
Version: 5.12.0+dfsg-4
Severity: important
Tags: ftbfs

paraview 5.12 has started failing to build on i386.
paraview 5.11 previously built on i386.

The problem appears to be an implicit conversion from
‘long unsigned int*’ to ‘const int*’ in getArrayType in XdmfArray.cpp

paraview was already failing on armel, armhf with other errors,
so they are already considered not-supported.
Perhaps we might have to drop support on i386 as well.

Build logs at
https://buildd.debian.org/status/fetch.php?pkg=paraview&arch=i386&ver=5.12.0%2Bdfsg-4&stamp=1716421169&raw=0
https://buildd.debian.org/status/fetch.php?pkg=paraview&arch=armel&ver=5.12.0%2Bdfsg-4&stamp=1716421874&raw=0
https://buildd.debian.org/status/fetch.php?pkg=paraview&arch=armhf&ver=5.12.0%2Bdfsg-4&stamp=1716421071&raw=0


The error message is

[  3%] Linking CXX shared library ../../../../lib/i386-linux-gnu/libvtkprotobuf-pv5.12.so
cd /<<PKGBUILDDIR>>/build.python3.12/ThirdParty/protobuf/vtkprotobuf/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/protobuf.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O0  -g  -Wl,-lc -Wl,-z,relro -Wl,--as-needed  -shared -Wl,-soname,libvtkprotobuf-pv5.12.so.1 -o ../../../../lib/i386-linux-gnu/libvtkprotobuf-pv5.12.so.5.12 CMakeFiles/protobuf.dir/google/protobuf/compiler/importer.cc.o CMakeFiles/protobuf.dir/google/protobuf/compiler/parser.cc.o CMakeFiles/protobuf.dir/google/protobuf/io/coded_stream.cc.o CMakeFiles/protobuf.dir/google/protobuf/io/gzip_stream.cc.o CMakeFiles/protobuf.dir/google/protobuf/io/io_win32.cc.o CMakeFiles/protobuf.dir/google/protobuf/io/printer.cc.o CMakeFiles/protobuf.dir/google/protobuf/io/strtod.cc.o CMakeFiles/protobuf.dir/google/protobuf/io/tokenizer.cc.o CMakeFiles/protobuf.dir/google/protobuf/io/zero_copy_stream.cc.o CMakeFiles/protobuf.dir/google/protobuf/io/zero_copy_stream_impl.cc.o CMakeFiles/protobuf.dir/google/protobuf/io/zero_copy_stream_impl_lite.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/bytestream.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/common.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/int128.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/status.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/statusor.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/stringpiece.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/stringprintf.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/structurally_valid.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/strutil.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/substitute.cc.o CMakeFiles/protobuf.dir/google/protobuf/stubs/time.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/delimited_message_util.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/field_comparator.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/field_mask_util.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/json_util.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/message_differencer.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/time_util.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/type_resolver_util.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/datapiece.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/default_value_objectwriter.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/error_listener.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/field_mask_utility.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/json_escaping.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/json_objectwriter.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/json_stream_parser.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/object_writer.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/proto_writer.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/protostream_objectsource.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/protostream_objectwriter.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/type_info.cc.o CMakeFiles/protobuf.dir/google/protobuf/util/internal/utility.cc.o CMakeFiles/protobuf.dir/google/protobuf/any.cc.o CMakeFiles/protobuf.dir/google/protobuf/any_lite.cc.o CMakeFiles/protobuf.dir/google/protobuf/any.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/api.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/arena.cc.o CMakeFiles/protobuf.dir/google/protobuf/descriptor.cc.o CMakeFiles/protobuf.dir/google/protobuf/descriptor.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/descriptor_database.cc.o CMakeFiles/protobuf.dir/google/protobuf/duration.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/dynamic_message.cc.o CMakeFiles/protobuf.dir/google/protobuf/empty.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/extension_set.cc.o CMakeFiles/protobuf.dir/google/protobuf/extension_set_heavy.cc.o CMakeFiles/protobuf.dir/google/protobuf/field_mask.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/generated_message_reflection.cc.o CMakeFiles/protobuf.dir/google/protobuf/generated_message_table_driven.cc.o CMakeFiles/protobuf.dir/google/protobuf/generated_message_table_driven_lite.cc.o CMakeFiles/protobuf.dir/google/protobuf/generated_message_util.cc.o CMakeFiles/protobuf.dir/google/protobuf/implicit_weak_message.cc.o CMakeFiles/protobuf.dir/google/protobuf/map_field.cc.o CMakeFiles/protobuf.dir/google/protobuf/message.cc.o CMakeFiles/protobuf.dir/google/protobuf/message_lite.cc.o CMakeFiles/protobuf.dir/google/protobuf/parse_context.cc.o CMakeFiles/protobuf.dir/google/protobuf/reflection_ops.cc.o CMakeFiles/protobuf.dir/google/protobuf/repeated_field.cc.o CMakeFiles/protobuf.dir/google/protobuf/service.cc.o CMakeFiles/protobuf.dir/google/protobuf/source_context.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/struct.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/text_format.cc.o CMakeFiles/protobuf.dir/google/protobuf/timestamp.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/type.pb.cc.o CMakeFiles/protobuf.dir/google/protobuf/unknown_field_set.cc.o CMakeFiles/protobuf.dir/google/protobuf/wire_format.cc.o CMakeFiles/protobuf.dir/google/protobuf/wire_format_lite.cc.o CMakeFiles/protobuf.dir/google/protobuf/wrappers.pb.cc.o  -Wl,-rpath,:::::::::::::::::::::::::
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp: In instantiation of ‘boost::shared_ptr<const XdmfArrayType> XdmfArray::GetArrayType::operator()(const boost::shared_ptr<std::vector<T> >&) const [with T = long unsigned int]’:
/usr/include/boost/variant/variant.hpp:1028:24:   required from ‘typename boost::disable_if_c<(MoveSemantics && boost::is_same<Value2, Value2>::value), typename Visitor::result_type>::type boost::detail::variant::invoke_visitor<Visitor, MoveSemantics>::internal_visit(T&&, int) [with T = const boost::shared_ptr<std::vector<long unsigned int> >&; Visitor = const XdmfArray::GetArrayType; bool MoveSemantics = false; typename boost::disable_if_c<(MoveSemantics && boost::is_same<Value2, Value2>::value), typename Visitor::result_type>::type = boost::shared_ptr<const XdmfArrayType>; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/detail/visitation_impl.hpp:117:34:   required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke_impl(int, Visitor&, VoidPtrCV, T*, mpl_::true_) [with Visitor = invoke_visitor<const XdmfArray::GetArrayType, false>; VoidPtrCV = const void*; T = boost::shared_ptr<std::vector<long unsigned int> >; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>; mpl_::true_ = mpl_::bool_<true>]’
/usr/include/boost/variant/detail/visitation_impl.hpp:157:41:   required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke(int, Visitor&, VoidPtrCV, T*, NoBackupFlag, int) [with Visitor = invoke_visitor<const XdmfArray::GetArrayType, false>; VoidPtrCV = const void*; T = boost::shared_ptr<std::vector<long unsigned int> >; NoBackupFlag = boost::variant<boost::blank, boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int> >::has_fallback_type_; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/detail/visitation_impl.hpp:238:5:   required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl(int, int, Visitor&, VoidPtrCV, mpl_::false_, NoBackupFlag, Which*, step0*) [with Which = mpl_::int_<0>; step0 = visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<24>, boost::blank, boost::mpl::l_item<mpl_::long_<23>, boost::shared_ptr<std::vector<char> >, boost::mpl::l_item<mpl_::long_<22>, boost::shared_ptr<std::vector<short int> >, boost::mpl::l_item<mpl_::long_<21>, boost::shared_ptr<std::vector<int> >, boost::mpl::l_item<mpl_::long_<20>, boost::shared_ptr<std::vector<long int> >, boost::mpl::l_item<mpl_::long_<19>, boost::shared_ptr<std::vector<float> >, boost::mpl::l_item<mpl_::long_<18>, boost::shared_ptr<std::vector<double> >, boost::mpl::l_item<mpl_::long_<17>, boost::shared_ptr<std::vector<unsigned char> >, boost::mpl::l_item<mpl_::long_<16>, boost::shared_ptr<std::vector<short unsigned int> >, boost::mpl::l_item<mpl_::long_<15>, boost::shared_ptr<std::vector<unsigned int> >, boost::mpl::l_item<mpl_::long_<14>, boost::shared_ptr<std::vector<long unsigned int> >, boost::mpl::l_item<mpl_::long_<13>, boost::shared_ptr<std::vector<long long unsigned int> >, boost::mpl::l_item<mpl_::long_<12>, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char> > >, boost::mpl::l_item<mpl_::long_<11>, boost::shared_array<const char>, boost::mpl::l_item<mpl_::long_<10>, boost::shared_array<const short int>, boost::mpl::l_item<mpl_::long_<9>, boost::shared_array<const int>, boost::mpl::l_item<mpl_::long_<8>, boost::shared_array<const long int>, boost::mpl::l_item<mpl_::long_<7>, boost::shared_array<const float>, boost::mpl::l_item<mpl_::long_<6>, boost::shared_array<const double>, boost::mpl::l_item<mpl_::long_<5>, boost::shared_array<const unsigned char>, boost::mpl::l_item<mpl_::long_<4>, boost::shared_array<const short unsigned int>, boost::mpl::l_item<mpl_::long_<3>, boost::shared_array<const unsigned int>, boost::mpl::l_item<mpl_::long_<2>, boost::shared_array<const long unsigned int>, boost::mpl::l_item<mpl_::long_<1>, boost::shared_array<const long long unsigned int>, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > > > > > > >, boost::mpl::l_iter<boost::mpl::l_end> >; Visitor = invoke_visitor<const XdmfArray::GetArrayType, false>; VoidPtrCV = const void*; NoBackupFlag = boost::variant<boost::blank, boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int> >::has_fallback_type_; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>; mpl_::false_ = mpl_::bool_<false>]’
/usr/include/boost/variant/variant.hpp:2338:48:   required from ‘static typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor_impl(int, int, Visitor&, VoidPtrCV) [with Visitor = boost::detail::variant::invoke_visitor<const XdmfArray::GetArrayType, false>; VoidPtrCV = const void*; T0_ = boost::blank; TN = {boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int>}; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/variant.hpp:2359:43:   required from ‘typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor(Visitor&) const [with Visitor = boost::detail::variant::invoke_visitor<const XdmfArray::GetArrayType, false>; T0_ = boost::blank; TN = {boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int>}; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/variant.hpp:2405:44:   required from ‘typename Visitor::result_type boost::variant<T0, TN>::apply_visitor(Visitor&) const & [with Visitor = const XdmfArray::GetArrayType; T0_ = boost::blank; TN = {boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int>}; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:68:64:   required from ‘typename Visitor::result_type boost::apply_visitor(const Visitor&, Visitable&&) [with Visitor = XdmfArray::GetArrayType; Visitable = const variant<blank, shared_ptr<std::vector<char, std::allocator<char> > >, shared_ptr<std::vector<short int, std::allocator<short int> > >, shared_ptr<std::vector<int, std::allocator<int> > >, shared_ptr<std::vector<long int, std::allocator<long int> > >, shared_ptr<std::vector<float, std::allocator<float> > >, shared_ptr<std::vector<double, std::allocator<double> > >, shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, shared_array<const char>, shared_array<const short int>, shared_array<const int>, shared_array<const long int>, shared_array<const float>, shared_array<const double>, shared_array<const unsigned char>, shared_array<const short unsigned int>, shared_array<const unsigned int>, shared_array<const long unsigned int>, shared_array<const long long unsigned int> >&; typename Visitor::result_type = shared_ptr<const XdmfArrayType>]’
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:642:32:   required from here
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:216:30: error: no matching function for call to ‘getArrayType(__gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type*)’
  216 |     return this->getArrayType(&(array.get()->operator[](0)));
      |            ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:142:3: note: candidate: ‘boost::shared_ptr<const XdmfArrayType> XdmfArray::GetArrayType::getArrayType(const int*) const’ (near match)
  142 |   getArrayType(const int * const) const
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:142:3: note:   conversion of argument 1 would be ill-formed:
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:216:31: error: invalid conversion from ‘__gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type*’ {aka ‘long unsigned int*’} to ‘const int*’ [-fpermissive]
  216 |     return this->getArrayType(&(array.get()->operator[](0)));
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                               |
      |                               __gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type* {aka long unsigned int*}
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:148:3: note: candidate: ‘boost::shared_ptr<const XdmfArrayType> XdmfArray::GetArrayType::getArrayType(const long int*) const’ (near match)
  148 |   getArrayType(const long * const) const
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:148:3: note:   conversion of argument 1 would be ill-formed:
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:216:31: error: invalid conversion from ‘__gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type*’ {aka ‘long unsigned int*’} to ‘const long int*’ [-fpermissive]
  216 |     return this->getArrayType(&(array.get()->operator[](0)));
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                               |
      |                               __gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type* {aka long unsigned int*}
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:178:3: note: candidate: ‘boost::shared_ptr<const XdmfArrayType> XdmfArray::GetArrayType::getArrayType(const unsigned int*) const’ (near match)
  178 |   getArrayType(const unsigned int * const) const
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:178:3: note:   conversion of argument 1 would be ill-formed:
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:216:31: error: invalid conversion from ‘__gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type*’ {aka ‘long unsigned int*’} to ‘const unsigned int*’ [-fpermissive]
  216 |     return this->getArrayType(&(array.get()->operator[](0)));
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                               |
      |                               __gnu_cxx::__alloc_traits<std::allocator<long unsigned int>, long unsigned int>::value_type* {aka long unsigned int*}
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp: In instantiation of ‘boost::shared_ptr<const XdmfArrayType> XdmfArray::GetArrayType::operator()(const boost::shared_array<const U>&) const [with T = long unsigned int]’:
/usr/include/boost/variant/variant.hpp:1028:24:   required from ‘typename boost::disable_if_c<(MoveSemantics && boost::is_same<Value2, Value2>::value), typename Visitor::result_type>::type boost::detail::variant::invoke_visitor<Visitor, MoveSemantics>::internal_visit(T&&, int) [with T = const boost::shared_array<const long unsigned int>&; Visitor = const XdmfArray::GetArrayType; bool MoveSemantics = false; typename boost::disable_if_c<(MoveSemantics && boost::is_same<Value2, Value2>::value), typename Visitor::result_type>::type = boost::shared_ptr<const XdmfArrayType>; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/detail/visitation_impl.hpp:117:34:   required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke_impl(int, Visitor&, VoidPtrCV, T*, mpl_::true_) [with Visitor = invoke_visitor<const XdmfArray::GetArrayType, false>; VoidPtrCV = const void*; T = boost::shared_array<const long unsigned int>; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>; mpl_::true_ = mpl_::bool_<true>]’
/usr/include/boost/variant/detail/visitation_impl.hpp:157:41:   required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl_invoke(int, Visitor&, VoidPtrCV, T*, NoBackupFlag, int) [with Visitor = invoke_visitor<const XdmfArray::GetArrayType, false>; VoidPtrCV = const void*; T = boost::shared_array<const long unsigned int>; NoBackupFlag = boost::variant<boost::blank, boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int> >::has_fallback_type_; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/detail/visitation_impl.hpp:238:5:   required from ‘typename Visitor::result_type boost::detail::variant::visitation_impl(int, int, Visitor&, VoidPtrCV, mpl_::false_, NoBackupFlag, Which*, step0*) [with Which = mpl_::int_<0>; step0 = visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<24>, boost::blank, boost::mpl::l_item<mpl_::long_<23>, boost::shared_ptr<std::vector<char> >, boost::mpl::l_item<mpl_::long_<22>, boost::shared_ptr<std::vector<short int> >, boost::mpl::l_item<mpl_::long_<21>, boost::shared_ptr<std::vector<int> >, boost::mpl::l_item<mpl_::long_<20>, boost::shared_ptr<std::vector<long int> >, boost::mpl::l_item<mpl_::long_<19>, boost::shared_ptr<std::vector<float> >, boost::mpl::l_item<mpl_::long_<18>, boost::shared_ptr<std::vector<double> >, boost::mpl::l_item<mpl_::long_<17>, boost::shared_ptr<std::vector<unsigned char> >, boost::mpl::l_item<mpl_::long_<16>, boost::shared_ptr<std::vector<short unsigned int> >, boost::mpl::l_item<mpl_::long_<15>, boost::shared_ptr<std::vector<unsigned int> >, boost::mpl::l_item<mpl_::long_<14>, boost::shared_ptr<std::vector<long unsigned int> >, boost::mpl::l_item<mpl_::long_<13>, boost::shared_ptr<std::vector<long long unsigned int> >, boost::mpl::l_item<mpl_::long_<12>, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char> > >, boost::mpl::l_item<mpl_::long_<11>, boost::shared_array<const char>, boost::mpl::l_item<mpl_::long_<10>, boost::shared_array<const short int>, boost::mpl::l_item<mpl_::long_<9>, boost::shared_array<const int>, boost::mpl::l_item<mpl_::long_<8>, boost::shared_array<const long int>, boost::mpl::l_item<mpl_::long_<7>, boost::shared_array<const float>, boost::mpl::l_item<mpl_::long_<6>, boost::shared_array<const double>, boost::mpl::l_item<mpl_::long_<5>, boost::shared_array<const unsigned char>, boost::mpl::l_item<mpl_::long_<4>, boost::shared_array<const short unsigned int>, boost::mpl::l_item<mpl_::long_<3>, boost::shared_array<const unsigned int>, boost::mpl::l_item<mpl_::long_<2>, boost::shared_array<const long unsigned int>, boost::mpl::l_item<mpl_::long_<1>, boost::shared_array<const long long unsigned int>, boost::mpl::l_end> > > > > > > > > > > > > > > > > > > > > > > > >, boost::mpl::l_iter<boost::mpl::l_end> >; Visitor = invoke_visitor<const XdmfArray::GetArrayType, false>; VoidPtrCV = const void*; NoBackupFlag = boost::variant<boost::blank, boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int> >::has_fallback_type_; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>; mpl_::false_ = mpl_::bool_<false>]’
/usr/include/boost/variant/variant.hpp:2338:48:   required from ‘static typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor_impl(int, int, Visitor&, VoidPtrCV) [with Visitor = boost::detail::variant::invoke_visitor<const XdmfArray::GetArrayType, false>; VoidPtrCV = const void*; T0_ = boost::blank; TN = {boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int>}; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/variant.hpp:2359:43:   required from ‘typename Visitor::result_type boost::variant<T0, TN>::internal_apply_visitor(Visitor&) const [with Visitor = boost::detail::variant::invoke_visitor<const XdmfArray::GetArrayType, false>; T0_ = boost::blank; TN = {boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int>}; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/variant.hpp:2405:44:   required from ‘typename Visitor::result_type boost::variant<T0, TN>::apply_visitor(Visitor&) const & [with Visitor = const XdmfArray::GetArrayType; T0_ = boost::blank; TN = {boost::shared_ptr<std::vector<char, std::allocator<char> > >, boost::shared_ptr<std::vector<short int, std::allocator<short int> > >, boost::shared_ptr<std::vector<int, std::allocator<int> > >, boost::shared_ptr<std::vector<long int, std::allocator<long int> > >, boost::shared_ptr<std::vector<float, std::allocator<float> > >, boost::shared_ptr<std::vector<double, std::allocator<double> > >, boost::shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, boost::shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, boost::shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, boost::shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, boost::shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, boost::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::shared_array<const char>, boost::shared_array<const short int>, boost::shared_array<const int>, boost::shared_array<const long int>, boost::shared_array<const float>, boost::shared_array<const double>, boost::shared_array<const unsigned char>, boost::shared_array<const short unsigned int>, boost::shared_array<const unsigned int>, boost::shared_array<const long unsigned int>, boost::shared_array<const long long unsigned int>}; typename Visitor::result_type = boost::shared_ptr<const XdmfArrayType>]’
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:68:64:   required from ‘typename Visitor::result_type boost::apply_visitor(const Visitor&, Visitable&&) [with Visitor = XdmfArray::GetArrayType; Visitable = const variant<blank, shared_ptr<std::vector<char, std::allocator<char> > >, shared_ptr<std::vector<short int, std::allocator<short int> > >, shared_ptr<std::vector<int, std::allocator<int> > >, shared_ptr<std::vector<long int, std::allocator<long int> > >, shared_ptr<std::vector<float, std::allocator<float> > >, shared_ptr<std::vector<double, std::allocator<double> > >, shared_ptr<std::vector<unsigned char, std::allocator<unsigned char> > >, shared_ptr<std::vector<short unsigned int, std::allocator<short unsigned int> > >, shared_ptr<std::vector<unsigned int, std::allocator<unsigned int> > >, shared_ptr<std::vector<long unsigned int, std::allocator<long unsigned int> > >, shared_ptr<std::vector<long long unsigned int, std::allocator<long long unsigned int> > >, shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, shared_array<const char>, shared_array<const short int>, shared_array<const int>, shared_array<const long int>, shared_array<const float>, shared_array<const double>, shared_array<const unsigned char>, shared_array<const short unsigned int>, shared_array<const unsigned int>, shared_array<const long unsigned int>, shared_array<const long long unsigned int> >&; typename Visitor::result_type = shared_ptr<const XdmfArrayType>]’
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:642:32:   required from here
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:223:30: error: no matching function for call to ‘getArrayType(const long unsigned int*)’
  223 |     return this->getArrayType(array.get());
      |            ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:142:3: note: candidate: ‘boost::shared_ptr<const XdmfArrayType> XdmfArray::GetArrayType::getArrayType(const int*) const’ (near match)
  142 |   getArrayType(const int * const) const
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:142:3: note:   conversion of argument 1 would be ill-formed:
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:223:40: error: invalid conversion from ‘const long unsigned int*’ to ‘const int*’ [-fpermissive]
  223 |     return this->getArrayType(array.get());
      |                               ~~~~~~~~~^~
      |                                        |
      |                                        const long unsigned int*
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:148:3: note: candidate: ‘boost::shared_ptr<const XdmfArrayType> XdmfArray::GetArrayType::getArrayType(const long int*) const’ (near match)
  148 |   getArrayType(const long * const) const
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:148:3: note:   conversion of argument 1 would be ill-formed:
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:223:40: error: invalid conversion from ‘const long unsigned int*’ to ‘const long int*’ [-fpermissive]
  223 |     return this->getArrayType(array.get());
      |                               ~~~~~~~~~^~
      |                                        |
      |                                        const long unsigned int*
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:178:3: note: candidate: ‘boost::shared_ptr<const XdmfArrayType> XdmfArray::GetArrayType::getArrayType(const unsigned int*) const’ (near match)
  178 |   getArrayType(const unsigned int * const) const
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:178:3: note:   conversion of argument 1 would be ill-formed:
/<<PKGBUILDDIR>>/VTK/ThirdParty/xdmf3/vtkxdmf3/core/XdmfArray.cpp:223:40: error: invalid conversion from ‘const long unsigned int*’ to ‘const unsigned int*’ [-fpermissive]
  223 |     return this->getArrayType(array.get());
      |                               ~~~~~~~~~^~
      |                                        |
      |                                        const long unsigned int*


More information about the debian-science-maintainers mailing list