package mccs

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

mccs 1.1+11

Error log

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

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy mccs.1.1+11 host-arch-x86_64.1 extlib.1.7.9 dune.3.16.0 cudf.0.10 cppo.1.7.0 conf-c++.1.0" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
g++
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
  - install cppo     1.7.0
  - install conf-c++ 1.0
  - install extlib   1.7.9
  - install cudf     0.10
  - install mccs     1.1+11
===== 5 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/15:
Processing  3/15:
Processing  4/15:
Processing  5/15: [conf-c++: c++]
-> retrieved cppo.1.7.0  (cached)
Processing  6/15: [conf-c++: c++]
Processing  7/15: [conf-c++: c++] [cppo: dune build]
-> retrieved cudf.0.10  (cached)
-> retrieved extlib.1.7.9  (cached)
- c++ (Debian 12.2.0-14) 12.2.0
- Copyright (C) 2022 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions.  There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- 
-> compiled  conf-c++.1.0
Processing  7/15: [cppo: dune build]
-> installed conf-c++.1.0
Processing  8/15: [cppo: dune build]
-> retrieved mccs.1.1+11  (cached)
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "cppo" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cppo.1.7.0)
-> compiled  cppo.1.7.0
-> installed cppo.1.7.0
Processing 10/15: [extlib: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "extlib" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/extlib.1.7.9)
-> compiled  extlib.1.7.9
-> installed extlib.1.7.9
Processing 12/15: [cudf: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "cudf" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cudf.0.10)
-> compiled  cudf.0.10
-> installed cudf.0.10
Processing 14/15: [mccs: dune build]
+ /home/opam/.opam/5.1/bin/dune "build" "-p" "mccs" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/mccs.1.1+11)
- (cd _build/default/src/glpk && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -Wno-parentheses -g -I /home/opam/.opam/5.1/lib/ocaml -o wclique1.o -c wclique1.c)
- 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=]
- File "src/dune", line 5, characters 63-73:
- 5 |    new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
-                                                                    ^^^^^^^^^^
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -I . -DUSEGLPK -g -I /home/opam/.opam/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/cudf -I /home/opam/.opam/5.1/lib/extlib -I glpk -o mccs_stubs.o -c mccs_stubs.cpp)
- mccs_stubs.cpp:27: warning: "Some_val" redefined
-    27 | #define Some_val(v)  Field(v,0)
-       | 
- In file included from mccs_stubs.cpp:6:
- /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:440: note: this is the location of the previous definition
-   440 | #define Some_val(v) Field(v, 0)
-       | 
- 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:316: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] The compilation of mccs.1.1+11 failed at "dune build -p mccs -j 39".

#=== ERROR while compiling mccs.1.1+11 ========================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///src
# path                 ~/.opam/5.1/.opam-switch/build/mccs.1.1+11
# command              ~/.opam/5.1/bin/dune build -p mccs -j 39
# exit-code            1
# env-file             ~/.opam/log/mccs-115-c13533.env
# output-file          ~/.opam/log/mccs-115-c13533.out
### output ###
# (cd _build/default/src/glpk && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -Wno-parentheses -g -I /home/opam/.opam/5.1/lib/ocaml -o wclique1.o -c wclique1.c)
# 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=]
# File "src/dune", line 5, characters 63-73:
# 5 |    new_criteria notuptodate_criteria removed_criteria mccscudf mccs_stubs)
#                                                                    ^^^^^^^^^^
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -I . -DUSEGLPK -g -I /home/opam/.opam/5.1/lib/ocaml -I /home/opam/.opam/5.1/lib/cudf -I /home/opam/.opam/5.1/lib/extlib -I glpk -o mccs_stubs.o -c mccs_stubs.cpp)
# mccs_stubs.cpp:27: warning: "Some_val" redefined
#    27 | #define Some_val(v)  Field(v,0)
#       | 
# In file included from mccs_stubs.cpp:6:
# /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:440: note: this is the location of the previous definition
#   440 | #define Some_val(v) Field(v, 0)
#       | 
# 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:316: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+11
+- 
+- The following changes have been performed
| - install conf-c++ 1.0
| - install cppo     1.7.0
| - install cudf     0.10
| - install extlib   1.7.9
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20240912100829.export"
'opam --cli=2.1 install mccs.1.1+11 host-arch-x86_64.1 extlib.1.7.9 dune.3.16.0 cudf.0.10 cppo.1.7.0 conf-c++.1.0 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.