package mccs

  1. Overview
  2. Docs
On This Page
  1. Error log

mccs 1.1+8

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package dune is already installed (current version is 1.11.4).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 6 packages
  - install conf-c++   1.0
  - install cppo       1.6.9
  - install cudf       0.9-1
  - install extlib     1.8.0
  - install mccs       1.1+8
  - install ocamlbuild 0.15.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-c++.1.0
-> retrieved cppo.1.6.9  (cached)
-> retrieved cudf.0.9-1  (cached)
-> retrieved extlib.1.8.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved mccs.1.1+8  (https://github.com/AltGr/ocaml-mccs/archive/1.1+8.tar.gz)
-> installed cppo.1.6.9
-> installed extlib.1.8.0
-> installed ocamlbuild.0.15.0
-> installed cudf.0.9-1
[ERROR] The compilation of mccs.1.1+8 failed at "dune build -p mccs".

#=== ERROR while compiling mccs.1.1+8 =========================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.09.1 | file:///src
# path                 ~/.opam/4.09/.opam-switch/build/mccs.1.1+8
# command              ~/.opam/4.09/bin/dune build -p mccs
# exit-code            1
# env-file             ~/.opam/log/mccs-113-d3f6ce.env
# output-file          ~/.opam/log/mccs-113-d3f6ce.out
### output ###
# File "src/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "src/glpk/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "test/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
#       ocamlc src/glpk/wclique1.o
# src/glpk/misc/wclique1.c: In function '_glp_wclique1':
# src/glpk/misc/wclique1.c:121:7: warning: 'memset' specified bound between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
# src/glpk/misc/wclique1.c:123:7: warning: 'memset' specified bound between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
#          gcc src/mccs_stubs.o (exit 1)
# (cd _build/default/src && /usr/bin/gcc -I /home/opam/.opam/4.09/lib/ocaml -I /home/opam/.opam/4.09/lib/cudf -I /home/opam/.opam/4.09/lib/extlib -I glpk -O2 -fno-strict-aliasing -fwrapv -fPIC -I . -DUSEGLPK -g -o mccs_stubs.o -c mccs_stubs.cpp)
# In file included from /usr/include/c++/12/map:60,
#                  from mccs_stubs.cpp:14:
# /usr/include/c++/12/bits/stl_tree.h: In instantiation of 'static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(_Const_Link_type) [with _Key = CUDFVersionedPackage*; _Val = CUDFVersionedPackage*; _KeyOfValue = std::_Identity<CUDFVersionedPackage*>; _Compare = CUDFPackage_comparator; _Alloc = std::allocator<CUDFVersionedPackage*>; _Const_Link_type = const std::_Rb_tree_node<CUDFVersionedPackage*>*]':
# /usr/include/c++/12/bits/stl_tree.h:2117: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*>; key_type = CUDFVersionedPackage*]'
# /usr/include/c++/12/bits/stl_tree.h:2170: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++/12/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*; value_type = CUDFVersionedPackage*]'
# mccs_stubs.cpp:314:39:   required from here
# /usr/include/c++/12/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++/12/bits/stl_tree.h:770:15: note: 'std::is_invocable_v<const CUDFPackage_comparator&, CUDFVersionedPackage* const&, CUDFVersionedPackage* const&>' evaluates to false



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mccs 1.1+8
+- 
+- The following changes have been performed
| - install conf-c++   1.0
| - install cppo       1.6.9
| - install cudf       0.9-1
| - install extlib     1.8.0
| - install ocamlbuild 0.15.0
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.09/.opam-switch/backup/state-20250204170047.export"
OCaml

Innovation. Community. Security.