Organisationsygrekextunix3e34b7 (master)debian-12-5.3_opam-2.3

debian-12-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-02-09 13:23.36: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (3e34b741ef323f9715662346ffa126740915412b) (linux-x86_64:debian-12-5.3_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:02ec0c88850d4f2b803348572ee272f78b606dbf3623594e90a880af0c6eacbc
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/extunix.git" -b "master" && cd "extunix" && git reset --hard 3e34b741
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:02ec0c88850d4f2b803348572ee272f78b606dbf3623594e90a880af0c6eacbc
# debian-12-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 extunix.opam ./
RUN opam pin add -yn extunix.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y extunix.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


2025-02-09 13:23.36: Using cache hint "ygrek/extunix-ocaml/opam:debian-12-ocaml-5.3@sha256:02ec0c88850d4f2b803348572ee272f78b606dbf3623594e90a880af0c6eacbc-debian-12-5.3_opam-2.3-527005c7f198137593257d94c8618edb"
2025-02-09 13:23.36: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:02ec0c88850d4f2b803348572ee272f78b606dbf3623594e90a880af0c6eacbc)
(comment debian-12-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src extunix.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn extunix.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0")
(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.3 --depext-only -y extunix.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"))
)


2025-02-09 13:23.36: Waiting for resource in pool OCluster
2025-02-09 15:25.41: Waiting for worker…
2025-02-09 15:31.46: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 3e34b74 renameat2: check RENAME_WHITEOUT constructor


(from ocaml/opam:debian-12-ocaml-5.3@sha256:02ec0c88850d4f2b803348572ee272f78b606dbf3623594e90a880af0c6eacbc)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:02ec0c88850d4f2b803348572ee272f78b606dbf3623594e90a880af0c6eacbc' locally
docker.io/ocaml/opam@sha256:02ec0c88850d4f2b803348572ee272f78b606dbf3623594e90a880af0c6eacbc: Pulling from ocaml/opam
f763d5a24ea9: Pulling fs layer
f763d5a24ea9: Verifying Checksum
f763d5a24ea9: Download complete
f763d5a24ea9: Pull complete
Digest: sha256:02ec0c88850d4f2b803348572ee272f78b606dbf3623594e90a880af0c6eacbc
Status: Downloaded newer image for ocaml/opam@sha256:02ec0c88850d4f2b803348572ee272f78b606dbf3623594e90a880af0c6eacbc
2025-02-09 15:31.47 ---> using "24877fdce1ddc79029cf48cd18339e85844974e112486cca8957ea20cde52a5a" from cache


/: (comment debian-12-5.3_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-09 15:31.47 ---> using "c48b1c614d819f5f0156feecf0db537da3c8c74c306c87f36d072f5c1047e280" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [y/n] y
Format upgrade done.
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-09 15:31.47 ---> using "0822433784e959906a539a3281d951e65d0d66ba27336c05080fa4faf79809a4" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 15:31.47 ---> using "967082593f91e6c9ae959c5dcf0741da1739fca2ffa1b61ca6ec7b55be41bd28" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-09 15:31.47 ---> saved as "0aaa80d9879acd687b762292a1f6913059468d4ae05fa055405ed764fdbb88dd"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[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.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 15:33.16 ---> saved as "77ebfe0ec30fcb2cd692928b8636f25ffa29cd84b5bb11b7f7f43e5659910db0"


/src: (copy (src extunix.opam) (dst ./))
2025-02-09 15:33.17 ---> saved as "3ce5cd642e631c172450aa5615cc7445312e8f08ef3fec6a6e2b5e02ff76ab95"


/src: (run (network host)
(shell "opam pin add -yn extunix.dev './'"))
[extunix.dev] synchronised (file:///src)
extunix is now pinned to file:///src (version dev)
2025-02-09 15:33.21 ---> saved as "224706ab746174372477018ccc5b4ec8d349ff3afda5f9e1820570f6e6389a29"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 15:33.22 ---> saved as "40c5c744e3705abd21efed2bcc92888061aa5eec5dcfe25ffcc4c8f818d12d68"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0")


/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.3 --depext-only -y extunix.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 [244 kB]
- Fetched 348 kB in 1s (681 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[extunix.dev] synchronised (file:///src)


[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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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).
2025-02-09 15:33.58 ---> saved as "574d2b68552359eb62281dc03ffae297a7b29551a44d8caf6c23a0ab239a44e3"


/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-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-effects 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 12 packages
- install base-bytes          base
- install csexp               1.5.2
- install dune                3.17.2
- install dune-configurator   3.17.2
- install ocaml-compiler-libs v0.17.0
- install ocamlfind           1.9.8
- install ounit2              2.2.7
- install ppx_derivers        1.2.1
- install ppxlib              0.35.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.17.2
-> installed ppxlib.0.35.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 15:36.42 ---> saved as "606a68ae5e8c3adc2973b91d41dc30a3165a235e298e37c8bf356f61ad24db8d"


/src: (copy (src .) (dst /src))
2025-02-09 15:36.43 ---> saved as "3bd4dff1eb4e1c92552258448c7ca0b13d72c4c5487fd2bfd7d66182326637bb"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && ../discover/discover.exe)
checking EVENTFD.............ok
checking ATFILE..............ok
checking RENAMEAT2...........ok
checking RENAME_WHITEOUT.....ok
checking DIRFD...............ok
checking STATVFS.............ok
checking FSTATVFS............ok
checking SIOCGIFCONF.........ok
checking IFADDRS.............ok
checking INET_NTOA...........ok
checking INET_NTOP...........ok
checking UNAME...............ok
checking FADVISE.............ok
checking FALLOCATE...........ok
checking TTY_IOCTL...........ok
checking TTYNAME.............ok
checking CTERMID.............ok
checking GETTID..............ok
checking PGID................ok
checking SETREUID............ok
checking FSYNC...............ok
checking FDATASYNC...........ok
checking SYNC................ok
checking SYNCFS..............ok
checking REALPATH............ok
checking SIGNALFD............ok
checking PTRACE..............ok
checking RESOURCE............ok
checking MLOCKALL............ok
checking STRPTIME............ok
checking STRTIME.............ok
checking TIMEZONE............ok
checking TIMEGM..............ok
checking PTS.................ok
checking FCNTL...............ok
checking TCPGRP..............ok
checking EXECINFO............ok
checking SETENV..............ok
checking CLEARENV............ok
checking MKDTEMP.............ok
checking MALLOC_INFO.........ok
checking MALLOC_STATS........ok
checking MEMALIGN............ok
checking ENDIAN..............ok
checking READ_CREDENTIALS....ok
checking FEXECVE.............ok
checking SENDMSG.............ok
checking PREAD...............ok
checking PWRITE..............ok
checking READ................ok
checking WRITE...............ok
checking MKSTEMPS............ok
checking MKOSTEMPS...........ok
checking SETRESUID...........ok
checking SYSCONF.............ok
checking SPLICE..............ok
checking TEE.................ok
checking VMSPLICE............ok
checking SOCKOPT.............ok
checking TCP_KEEPIDLE........ok
checking TCP_KEEPCNT.........ok
checking TCP_KEEPINTVL.......ok
checking SO_REUSEPORT........ok
checking POLL................ok
checking SYSINFO.............ok
checking MCHECK..............ok
checking MOUNT...............ok
checking UNSHARE.............ok
checking CHROOT..............ok
checking SYSLOG..............ok
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/5.3/lib/ocaml -I /home/opam/.opam/5.3/lib/bytes -I /home/opam/.opam/5.3/lib/ocaml/unix -o rename.o -c rename.c)
rename.c: In function 'caml_extunix_renameat2':
rename.c:40:18: warning: passing argument 1 of 'caml_stat_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
40 |   caml_stat_free(oldname);
|                  ^~~~~~~
In file included from config.h:26,
from rename.c:2:
/home/opam/.opam/5.3/lib/ocaml/caml/memory.h:117:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *'
117 | CAMLextern void caml_stat_free(caml_stat_block);
|                                ^~~~~~~~~~~~~~~
rename.c:41:18: warning: passing argument 1 of 'caml_stat_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
41 |   caml_stat_free(newname);
|                  ^~~~~~~
/home/opam/.opam/5.3/lib/ocaml/caml/memory.h:117:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *'
117 | CAMLextern void caml_stat_free(caml_stat_block);
|                                ^~~~~~~~~~~~~~~
(cd _build/default/test && ./testba.exe)
......
Ran: 6 tests in: 0.03 seconds.
OK
(cd _build/default/test && ./test.exe)
....................................................
Ran: 41 tests in: 0.07 seconds.
OK
.
Ran: 41 tests in: 0.07 seconds.
OK
.....
Ran: 41 tests in: 0.07 seconds.
OK
.
Ran: 41 tests in: 0.08 seconds.
OK
2025-02-09 15:37.07 ---> saved as "4d7f59dacf04c9dc1b0868f7b073b8568d4ed8d740084e55974eaf137d594be1"
Job succeeded
2025-02-09 15:37.07: Job succeeded