Organisationspatricoferrisocaml-jansson42cb42 (main)fedora-40-5.2_opam-2.1

fedora-40-5.2_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 14:04.41: New job: test patricoferris/ocaml-jansson https://github.com/patricoferris/ocaml-jansson.git#refs/heads/main (42cb429e722ec64807d75ae401758eb666c9d189) (linux-x86_64:fedora-40-5.2_opam-2.1)
Base: ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/patricoferris/ocaml-jansson.git" -b "main" && cd "ocaml-jansson" && git reset --hard 42cb429e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741
# fedora-40-5.2_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 jansson.opam ./
RUN opam pin add -yn jansson.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y jansson.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-06-17 14:04.41: Using cache hint "patricoferris/ocaml-jansson-ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741-fedora-40-5.2_opam-2.1-09f4095a40d4551e5c1af9a2c7f0a4c3"
2024-06-17 14:04.41: Using OBuilder spec:
((from ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741)
 (comment fedora-40-5.2_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src jansson.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn jansson.dev './'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")
 (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 jansson.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-06-17 14:04.41: Waiting for resource in pool OCluster
2024-06-19 17:42.49: Waiting for worker…
2024-06-19 17:45.12: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Submodule path 'vendor/jansson': checked out '2882ead5bb90cf12a01b07b2c2361e24960fae02'
HEAD is now at 42cb429 Install so versions
Synchronizing submodule url for 'vendor/jansson'
Cleared directory 'vendor/jansson'
Submodule 'vendor/jansson' (https://github.com/akheron/jansson) unregistered for path 'vendor/jansson'
Submodule 'vendor/jansson' (https://github.com/akheron/jansson) registered for path 'vendor/jansson'
Submodule path 'vendor/jansson': checked out '2882ead5bb90cf12a01b07b2c2361e24960fae02'


(from ocaml/opam@sha256:240052b3ed7e1d8d26376c1c76eca702c679303fbd864c7de29f96948b47c741)
2024-06-19 17:45.13 ---> using "311387f967779057c05de4de657662b862318d14c58f755fb66ab2496a86363f" from cache


/: (comment fedora-40-5.2_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64                               51 kB/s |  30 kB     00:00    
Fedora 40 openh264 (From Cisco) - x86_64        9.9 kB/s | 989  B     00:00    
Fedora 40 - x86_64 - Updates                    130 kB/s |  15 kB     00:00    
Fedora 40 - x86_64 - Updates                    2.3 MB/s | 4.8 MB     00:02    
Package findutils-1:4.9.0-8.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-06-19 17:45.14 ---> using "1746941a6f6864c7597e15ebc01977cc59abd58bfe956254a62b8b1e30fbfae0" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-06-19 17:45.14 ---> using "92f51ce143781513f6adcc1fc86ff80eda50e4c86e429c2c8a742a38ddc0c208" from cache


/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-06-19 17:45.14 ---> using "3020a76352a3df088fa068fdff6bf7a31bc8d99972b6ae7d96bedbf07e167d34" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-06-19 17:45.14 ---> using "ed58a90787e2009ee616547808ef0c2b2acb00b14827634504f45a0e31327b9e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-19 17:45.14 ---> using "312ac7c2fe140f841d4a444e87e5710c47dc69a5275a3cb78e8a8cb198f0504f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..5d6f1cf035  master     -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)


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


The following actions will be performed:
  - install   host-arch-x86_64      1
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1       [upstream or system changes]
  - recompile ocaml-base-compiler   5.2.0*  [upstream or system changes]
  - recompile ocaml-config          3       [uses ocaml-base-compiler]
  - recompile ocaml                 5.2.0   [uses ocaml-base-compiler]
  - recompile opam-depext           1.2.1-1 [uses ocaml]
  - recompile base-domains          base    [uses ocaml]
  - recompile base-nnp              base    [uses base-domains]
===== 2 to install | 7 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-base-compiler.5.2.0  (cached)
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.5.2.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.2.0
-> installed ocaml-base-compiler.5.2.0
-> installed ocaml-config.3
-> installed ocaml.5.2.0
-> installed base-domains.base
-> installed base-nnp.base
-> installed opam-depext.1.2.1-1
Done.


<><> opam-depext.1.2.1-1 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
2024-06-19 17:45.14 ---> using "5e22af72f3e226aa89197cdb41fa65149b28fa8292c8924bb90215b2b59d06a1" from cache


/src: (copy (src jansson.opam) (dst ./))
2024-06-19 17:45.14 ---> saved as "8586986ad988c8803282ae9d62641f90c961dfedbecf4c0606a602e9e7ffff78"


/src: (run (network host)
           (shell "opam pin add -yn jansson.dev './'"))
Package jansson does not exist, create as a NEW package? [Y/n] y
[jansson.dev] synchronised (file:///src)
jansson is now pinned to file:///src (version dev)
2024-06-19 17:45.15 ---> saved as "cb357b83344a4f548563b09f95907b4c2b9e236c5edec533d7da5ce4476d2bc6"


/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.3.0 conf-cmake.1 csexp.1.5.2 cstruct.6.2.0 ctypes.0.22.0 dune.3.16.0 dune-configurator.3.16.0 ezjsonm.1.3.0 fmt.0.9.0 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 integers.0.7.0 jsonm.1.0.2 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.3 ocamlfind.1.9.6 re.1.11.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3")


/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 jansson.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64                              163 kB/s |  30 kB     00:00    
- Fedora 40 openh264 (From Cisco) - x86_64         10 kB/s | 989  B     00:00    
- Fedora 40 - x86_64 - Updates                    225 kB/s |  27 kB     00:00    
- Metadata cache created.


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[jansson.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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:
    cmake


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "yum" "install" "-y" "cmake"
- Last metadata expiration check: 0:00:11 ago on Wed Jun 19 17:45:16 2024.
- Dependencies resolved.
- ================================================================================
-  Package                Architecture Version                Repository     Size
- ================================================================================
- Installing:
-  cmake                  x86_64       3.28.2-1.fc40          fedora        9.7 M
- Installing dependencies:
-  cmake-data             noarch       3.28.2-1.fc40          fedora        2.3 M
-  cmake-filesystem       x86_64       3.28.2-1.fc40          fedora         18 k
-  jsoncpp                x86_64       1.9.5-7.fc40           fedora         99 k
-  libuv                  x86_64       1:1.48.0-1.fc40        fedora        252 k
-  rhash                  x86_64       1.4.3-4.fc40           fedora        194 k
-  vim-filesystem         noarch       2:9.1.452-1.fc40       updates        17 k
- 
- Transaction Summary
- ================================================================================
- Install  7 Packages
- 
- Total download size: 13 M
- Installed size: 41 M
- Downloading Packages:
- (1/7): cmake-filesystem-3.28.2-1.fc40.x86_64.rp 275 kB/s |  18 kB     00:00    
- (2/7): jsoncpp-1.9.5-7.fc40.x86_64.rpm          5.5 MB/s |  99 kB     00:00    
- (3/7): libuv-1.48.0-1.fc40.x86_64.rpm           2.4 MB/s | 252 kB     00:00    
- (4/7): cmake-data-3.28.2-1.fc40.noarch.rpm      4.7 MB/s | 2.3 MB     00:00    
- (5/7): vim-filesystem-9.1.452-1.fc40.noarch.rpm 574 kB/s |  17 kB     00:00    
- (6/7): rhash-1.4.3-4.fc40.x86_64.rpm            396 kB/s | 194 kB     00:00    
- (7/7): cmake-3.28.2-1.fc40.x86_64.rpm            11 MB/s | 9.7 MB     00:00    
- --------------------------------------------------------------------------------
- Total                                            11 MB/s |  13 MB     00:01     
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
-   Preparing        :                                                        1/1 
-   Installing       : cmake-filesystem-3.28.2-1.fc40.x86_64                  1/7 
-   Installing       : vim-filesystem-2:9.1.452-1.fc40.noarch                 2/7 
-   Running scriptlet: vim-filesystem-2:9.1.452-1.fc40.noarch                 2/7 
-   Installing       : rhash-1.4.3-4.fc40.x86_64                              3/7 
-   Installing       : libuv-1:1.48.0-1.fc40.x86_64                           4/7 
-   Installing       : jsoncpp-1.9.5-7.fc40.x86_64                            5/7 
-   Installing       : cmake-data-3.28.2-1.fc40.noarch                        6/7 
-   Installing       : cmake-3.28.2-1.fc40.x86_64                             7/7 
-   Running scriptlet: cmake-3.28.2-1.fc40.x86_64                             7/7 
- 
- Installed:
-   cmake-3.28.2-1.fc40.x86_64                 cmake-data-3.28.2-1.fc40.noarch    
-   cmake-filesystem-3.28.2-1.fc40.x86_64      jsoncpp-1.9.5-7.fc40.x86_64        
-   libuv-1:1.48.0-1.fc40.x86_64               rhash-1.4.3-4.fc40.x86_64          
-   vim-filesystem-2:9.1.452-1.fc40.noarch    
- 
- Complete!
+ /usr/bin/sudo "rpm" "-q" "--whatprovides" "cmake"
- cmake-3.28.2-1.fc40.x86_64
2024-06-19 17:45.30 ---> saved as "82577d0178cca1046aa5360f4f7bc06a3840a3be5f3b04010385e094f95b5072"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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-nnp is already installed (current version is base).
[NOTE] Package base-domains 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 ocamlbuild         0.14.3
  - install dune               3.16.0
  - install ocamlfind          1.9.6
  - install cmdliner           1.3.0
  - install seq                base
  - install conf-cmake         1
  - install stdlib-shims       0.3.0
  - install sexplib0           v0.17.0
  - install ocaml-syntax-shims 1.0.0
  - install csexp              1.5.2
  - install bigarray-compat    1.1.0
  - install topkg              1.0.7
  - install re                 1.11.0
  - install integers           0.7.0
  - install dune-configurator  3.16.0
  - install uutf               1.0.3
  - install fmt                0.9.0
  - install astring            0.8.5
  - install ctypes             0.22.0
  - install jsonm              1.0.2
  - install cstruct            6.2.0
  - install alcotest           1.7.0
  - install hex                1.5.0
  - install ezjsonm            1.3.0
===== 24 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved conf-cmake.1  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-cmake.1
-> retrieved cstruct.6.2.0  (cached)
-> retrieved ctypes.0.22.0  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed dune.3.16.0
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed hex.1.5.0
-> installed integers.0.7.0
-> installed ezjsonm.1.3.0
-> installed alcotest.1.7.0
-> installed dune-configurator.3.16.0
-> installed ctypes.0.22.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 17:46.18 ---> saved as "64e965344db268e44b90d4ed9fbcab3053b62fb6667c49350ca9be80311c5cf0"


/src: (copy (src .) (dst /src))
2024-06-19 17:46.18 ---> saved as "912f335c4db2921b015d264c024f5cd08919647dc53f9e60ecf459313197ce89"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "dune-project", line 2, characters 14-17:
2 | (using ctypes 0.1)
                  ^^^
Error: Version 0.1 of the ctypes extension has been deleted in Dune 3.11.
Please port this project to a newer version of the extension, such as 0.3.
Hint: You will also need to upgrade to (lang dune 3.7).
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-06-19 17:46.19: Job failed: Failed: Build failed