OrganisationsLeonidas-from-XIVopam-test9cc745 (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-05-12 09:30.24: New job: test Leonidas-from-XIV/opam-test https://github.com/Leonidas-from-XIV/opam-test.git#refs/heads/main (9cc745570379d3b45f970893cfeae4a1c05e4393) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/Leonidas-from-XIV/opam-test.git" -b "main" && cd "opam-test" && git reset --hard 9cc74557
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
# debian-12-4.08_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-test.opam ./
RUN opam pin add -yn opam-test.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.08+1 cmdliner.1.0.4 conf-c++.1.0 conf-m4.1 cppo.1.6.1 cudf.0.7 dose3.5.0.1 dune.2.9.1 extlib.1.7.0 jbuilder.1.0+beta20.1 mccs.1.1+10 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-client.2.0.0 opam-core.2.0.0 opam-file-format.2.0.0~rc2 opam-format.2.0.0 opam-repository.2.0.0 opam-solver.2.0.0 opam-state.2.0.0 re.1.7.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y opam-test.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2024-05-12 09:30.24: Using cache hint "Leonidas-from-XIV/opam-test-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-87e99b0146461fbadb7cb320b9eaa934"
2024-05-12 09:30.24: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
 (comment debian-12-4.08_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src opam-test.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn opam-test.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.08+1 cmdliner.1.0.4 conf-c++.1.0 conf-m4.1 cppo.1.6.1 cudf.0.7 dose3.5.0.1 dune.2.9.1 extlib.1.7.0 jbuilder.1.0+beta20.1 mccs.1.1+10 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-client.2.0.0 opam-core.2.0.0 opam-file-format.2.0.0~rc2 opam-format.2.0.0 opam-repository.2.0.0 opam-solver.2.0.0 opam-state.2.0.0 re.1.7.2")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y opam-test.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2024-05-12 09:30.24: Waiting for resource in pool OCluster
2024-05-12 09:30.24: Waiting for worker…
2024-05-12 09:31.30: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at 9cc7455 Add README


(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-12 09:33.58 ---> saved as "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe"


/: (comment debian-12-4.08_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-12 09:33.58 ---> saved as "646bc87e0f57317c5ebf610ed55d499e1a9858c6afbb70f9b3c1442beb0c0bc7"


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-05-12 09:35.14 ---> saved as "3efe606a65f6fe7269ee6813ddd2fa2c2714f24a04a227ae5fb5c7db864c4c57"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-05-12 09:35.14 ---> saved as "6225fba4323f2de754e24da77b187b22e091a3b5bdd8f66c82092a9cc9863ec9"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-12 09:35.14 ---> saved as "35c4353ebc362a36ebb5c4ac3584cadf9893526dc08b896ef76d9b395ed9c850"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..fec8ff50cd  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-05-12 09:36.26 ---> saved as "167082e53e3e0b5c6101e17be718ec3e4c289917b8e1d14e9b0bc7b95515b5c7"


/src: (copy (src opam-test.opam) (dst ./))
2024-05-12 09:36.26 ---> saved as "fdd19463904cb12f79a7de8fc3a92cb1b82d071b56ec315e3bda1ac1338f7357"


/src: (run (network host)
           (shell "opam pin add -yn opam-test.dev './'"))
[opam-test.dev] synchronised (file:///src)
opam-test is now pinned to file:///src (version dev)
2024-05-12 09:36.28 ---> saved as "b337b49977c37810a71ad25c845eb16cefb87e45553c5bc4af23aee4e02f66f5"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlp4.4.08+1 cmdliner.1.0.4 conf-c++.1.0 conf-m4.1 cppo.1.6.1 cudf.0.7 dose3.5.0.1 dune.2.9.1 extlib.1.7.0 jbuilder.1.0+beta20.1 mccs.1.1+10 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlgraph.1.8.8 opam-client.2.0.0 opam-core.2.0.0 opam-file-format.2.0.0~rc2 opam-format.2.0.0 opam-repository.2.0.0 opam-solver.2.0.0 opam-state.2.0.0 re.1.7.2")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y opam-test.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 258 kB in 0s (943 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-test.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
    m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed


2024-05-12 09:36.47 ---> saved as "29b27e3e1349b7f9f29568f99d8aeb9c97db5a0576df52e2c27ae5011440579d"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
  - install cmdliner         1.0.4
  - install conf-m4          1
  - install jbuilder         1.0+beta20.1
  - install opam-file-format 2.0.0~rc2
  - install dune             2.9.1
  - install conf-c++         1.0
  - install ocamlbuild       0.14.0
  - install ocamlfind        1.8.0
  - install camlp4           4.08+1
  - install ocamlgraph       1.8.8
  - install base-bytes       base
  - install re               1.7.2
  - install cppo             1.6.1
  - install opam-core        2.0.0
  - install extlib           1.7.0
  - install opam-format      2.0.0
  - install cudf             0.7
  - install opam-repository  2.0.0
  - install mccs             1.1+10
  - install dose3            5.0.1
  - install opam-state       2.0.0
  - install opam-solver      2.0.0
  - install opam-client      2.0.0
===== 23 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-c++.1.0
-> installed conf-m4.1
-> retrieved camlp4.4.08+1  (https://github.com/ocaml/camlp4/archive/4.08+1.tar.gz)
-> retrieved dose3.5.0.1  (cached)
-> retrieved cudf.0.7  (https://gitlab.com/irill/cudf/-/archive/v0.7/cudf-v0.7.tar.gz)
-> retrieved dune.2.9.1  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved extlib.1.7.0  (https://github.com/ygrek/ocaml-extlib/archive/1.7.0.tar.gz)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ocamlgraph.1.8.8  (cached)
-> retrieved mccs.1.1+10  (https://github.com/AltGr/ocaml-mccs/archive/1.1+10.tar.gz)
-> retrieved opam-client.2.0.0  (https://github.com/ocaml/opam/archive/2.0.0-rc4.tar.gz)
-> retrieved opam-core.2.0.0  (https://github.com/ocaml/opam/archive/2.0.0-rc4.tar.gz)
-> retrieved opam-format.2.0.0  (cached)
-> retrieved opam-repository.2.0.0  (cached)
-> retrieved opam-solver.2.0.0  (cached)
-> retrieved opam-state.2.0.0  (cached)
-> retrieved re.1.7.2  (cached)
-> retrieved opam-file-format.2.0.0~rc2  (https://github.com/ocaml/opam-file-format/archive/2.0.0-rc2.tar.gz)
-> installed opam-file-format.2.0.0~rc2
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed re.1.7.2
-> installed dune.2.9.1
-> installed ocamlgraph.1.8.8
-> installed extlib.1.7.0
-> installed opam-core.2.0.0
-> installed opam-format.2.0.0
-> installed opam-repository.2.0.0
-> installed opam-state.2.0.0
-> installed camlp4.4.08+1
-> installed cudf.0.7
[ERROR] The compilation of mccs.1.1+10 failed at "dune build -p mccs -j 31".
-> installed dose3.5.0.1


#=== ERROR while compiling mccs.1.1+10 ========================================#
# context     2.1.5 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///home/opam/opam-repository
# path        ~/.opam/4.08/.opam-switch/build/mccs.1.1+10
# command     ~/.opam/4.08/bin/dune build -p mccs -j 31
# exit-code   1
# env-file    ~/.opam/log/mccs-1-7fe38d.env
# output-file ~/.opam/log/mccs-1-7fe38d.out
### output ###
#          gcc 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 -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC -I . -DUSEGLPK -g -I /home/opam/.opam/4.08/lib/ocaml -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/cudf -I /home/opam/.opam/4.08/lib/extlib -I glpk -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: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+10
+- 
+- The following changes have been performed (the rest was aborted)
| - install base-bytes       base
| - install camlp4           4.08+1
| - install cmdliner         1.0.4
| - install conf-c++         1.0
| - install conf-m4          1
| - install cppo             1.6.1
| - install cudf             0.7
| - install dose3            5.0.1
| - install dune             2.9.1
| - install extlib           1.7.0
| - install jbuilder         1.0+beta20.1
| - install ocamlbuild       0.14.0
| - install ocamlfind        1.8.0
| - install ocamlgraph       1.8.8
| - install opam-core        2.0.0
| - install opam-file-format 2.0.0~rc2
| - install opam-format      2.0.0
| - install opam-repository  2.0.0
| - install opam-state       2.0.0
| - install re               1.7.2
+- 


The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.08/.opam-switch/backup/state-20240512093648.export"
# Run eval $(opam env) to update the current shell environment
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-05-12 09:40.43: Job failed: Failed: Build failed