Source: ocaml-mccs Version: 1.1+11-1 Severity: serious Tags: ftbfs Dear Maintainer,
ocaml-mccs FTBFS on all architectures: > [...] > (cd _build/default/src && /usr/bin/x86_64-linux-gnu-gcc -O2 > -fno-strict-aliasing -fwrapv -fPIC -I . -DUSEGLPK -g -I /usr/lib/ocaml -I > /usr/lib/ocaml/bytes -I /usr/lib/ocaml/cudf -I /usr/lib/ocaml/extlib -I glpk > -o mccs_stubs.o -c mccs_stubs.cpp) > In file included from /usr/include/c++/11/map:60, > from mccs_stubs.cpp:14: > /usr/include/c++/11/bits/stl_tree.h: In instantiation of ‘static const _Key& > std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, > _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, > _Alloc>::_Const_Link_type) [with _Key = CUDFVersionedPackage*; _Val = > CUDFVersionedPackage*; _KeyOfValue = std::_Identity<CUDFVersionedPackage*>; > _Compare = CUDFPackage_comparator; _Alloc = > std::allocator<CUDFVersionedPackage*>; std::_Rb_tree<_Key, _Val, _KeyOfValue, > _Compare, _Alloc>::_Const_Link_type = const > std::_Rb_tree_node<CUDFVersionedPackage*>*]’: > /usr/include/c++/11/bits/stl_tree.h:2069:47: required from > ‘std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> > std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, > _Alloc>::_M_get_insert_unique_pos(const key_type&) [with _Key = > CUDFVersionedPackage*; _Val = CUDFVersionedPackage*; _KeyOfValue = > std::_Identity<CUDFVersionedPackage*>; _Compare = CUDFPackage_comparator; > _Alloc = std::allocator<CUDFVersionedPackage*>; std::_Rb_tree<_Key, _Val, > _KeyOfValue, _Compare, _Alloc>::key_type = CUDFVersionedPackage*]’ > /usr/include/c++/11/bits/stl_tree.h:2122:4: required from > ‘std::pair<std::_Rb_tree_iterator<_Val>, bool> std::_Rb_tree<_Key, _Val, > _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = > CUDFVersionedPackage* const&; _Key = CUDFVersionedPackage*; _Val = > CUDFVersionedPackage*; _KeyOfValue = std::_Identity<CUDFVersionedPackage*>; > _Compare = CUDFPackage_comparator; _Alloc = > std::allocator<CUDFVersionedPackage*>]’ > /usr/include/c++/11/bits/stl_set.h:512:25: required from > ‘std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, > typename > __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator, > bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key > = CUDFVersionedPackage*; _Compare = CUDFPackage_comparator; _Alloc = > std::allocator<CUDFVersionedPackage*>; typename std::_Rb_tree<_Key, _Key, > std::_Identity<_Tp>, _Compare, typename > __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator = > std::_Rb_tree<CUDFVersionedPackage*, CUDFVersionedPackage*, > std::_Identity<CUDFVersionedPackage*>, CUDFPackage_comparator, > std::allocator<CUDFVersionedPackage*> >::const_iterator; typename > __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other = > std::allocator<CUDFVersionedPackage*>; typename > __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key> = > __gnu_cxx::__alloc_traits<std::allocator<CUDFVersionedPackage*>, > CUDFVersionedPackage*>::rebind<CUDFVersionedPackage*>; typename > _Allocator::value_type = CUDFVersionedPackage*; std::set<_Key, _Compare, > _Alloc>::value_type = CUDFVersionedPackage*]’ > mccs_stubs.cpp:316:39: required from here > /usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: > comparison object must be invocable as const > 770 | is_invocable_v<const _Compare&, const _Key&, const > _Key&>, > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/c++/11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const > CUDFPackage_comparator&, CUDFVersionedPackage* const&, CUDFVersionedPackage* > const&>’ evaluates to false > make[1]: *** [debian/rules:14: override_dh_auto_build] Error 1 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > make: *** [debian/rules:9: binary-arch] Error 2 Cheers, -- Stéphane -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.14.0-4-amd64 (SMP w/4 CPU threads) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled