Organisationsygrekextunix4d9391 ()debian-13-4.11_opam-2.5

debian-13-4.11_opam-2.5

Link Copied
Code Copied

Logs

2026-04-13 10:19.35: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/pull/64/head (4d9391d40fd4e9e48b92fd748a6fdad325b7aed0) (linux-x86_64:debian-13-4.11_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/extunix.git" && cd "extunix" && git fetch origin "refs/pull/64/head" && git reset --hard 4d9391d4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30
# debian-13-4.11_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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-threads.base base-unix.base csexp.1.5.2 dune.3.22.1 dune-configurator.3.22.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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


2026-04-13 10:19.35: Using cache hint "ygrek/extunix-ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30-debian-13-4.11_opam-2.5-974eee94866ee12dc08bd13faab7518f"
2026-04-13 10:19.35: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30)
(comment debian-13-4.11_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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 (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.22.1 dune-configurator.3.22.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib0.v0.16.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.5 --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"))
)


2026-04-13 10:19.35: Waiting for resource in pool OCluster
2026-04-13 10:40.15: Waiting for worker…
2026-04-13 10:42.45: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 4d9391d add support for landlock on linux


(from ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.11@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30' locally
docker.io/ocaml/opam@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30: Pulling from ocaml/opam
a7730063fcfe: Already exists
1a27fd2181de: Already exists
c29591c91388: Already exists
356a64daa753: Already exists
ac02f8f2062b: Already exists
aaa2f390e4c8: Already exists
b668811757f6: Already exists
32fd4e1a774f: Already exists
b1d486fb8fdf: Already exists
cf8a2024f299: Already exists
8c4a5dac67c3: Already exists
6adfe24d7b40: Already exists
dccd6e3c0589: Already exists
2ee4bcb55cd4: Already exists
2dc3b58478d7: Already exists
daf15e5c44c6: Already exists
564e978a8088: Already exists
564e978a8088: Already exists
25a652a8c456: Already exists
b3bfea7bff3f: Already exists
a00f2937f570: Already exists
78bd1737ebff: Already exists
4f4fb700ef54: Already exists
4291a055edd7: Already exists
3c2b2836d59a: Already exists
7b3e96544a52: Already exists
c72503effb14: Already exists
bca08df11a10: Already exists
2ab0829b2daf: Already exists
1d246d4da211: Already exists
a09cb4870027: Already exists
2ce07b4fe7c0: Already exists
6b96f28d505e: Already exists
b6ad36bba9bf: Already exists
56d62791a0f9: Already exists
4d60780055d1: Pulling fs layer
43f57a7c44cb: Pulling fs layer
f21057dc4e85: Pulling fs layer
e0d2ca1300ed: Pulling fs layer
9da2f7598f8e: Pulling fs layer
cb569bb28593: Pulling fs layer
19466215109a: Pulling fs layer
43f57a7c44cb: Download complete
9da2f7598f8e: Download complete
e0d2ca1300ed: Download complete
63fa251d3f94: Pulling fs layer
f78c0985c35f: Pulling fs layer
cb569bb28593: Download complete
24c8eb25f40f: Pulling fs layer
63fa251d3f94: Waiting
f78c0985c35f: Waiting
24c8eb25f40f: Waiting
19466215109a: Download complete
63fa251d3f94: Download complete
f78c0985c35f: Verifying Checksum
f78c0985c35f: Download complete
24c8eb25f40f: Download complete
f21057dc4e85: Download complete
4d60780055d1: Verifying Checksum
4d60780055d1: Download complete
4d60780055d1: Pull complete
43f57a7c44cb: Pull complete
f21057dc4e85: Pull complete
e0d2ca1300ed: Pull complete
9da2f7598f8e: Pull complete
cb569bb28593: Pull complete
19466215109a: Pull complete
63fa251d3f94: Pull complete
f78c0985c35f: Pull complete
24c8eb25f40f: Pull complete
Digest: sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30
Status: Downloaded newer image for ocaml/opam@sha256:9eda627f0fb3aee0b4c90ab4a66cd7ad22cb940410bb82180129d26df8863d30
2026-04-13 10:42.45 ---> using "6e90916465a21bba0f6244811c28283c9f28721d32ae7c6c05a01c201d3a411c" from cache


/: (comment debian-13-4.11_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-13 10:42.45 ---> using "4cc8e96b949e977f64b6b7a873504791e24878c1f87d81bd2394c3a37d0f57bc" 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.2, 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] Initialised
2026-04-13 10:42.57 ---> saved as "0a922186862820f8b1a302c7372b2d89a36adb4b355007ab89921de6b8fdf07e"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 4.11.2
2.5.0
2026-04-13 10:42.58 ---> saved as "4f2e9be51b05640ffc8fb7eafaa92c28b1bf63e7aa4deb97dba550911dcdd19f"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-13 10:42.58 ---> saved as "7967062bde087cbb4a2bd04e50255887aa494286d0cf129badfedfa5f9d605ab"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 10:43.20 ---> saved as "24a46352d4e0e1dd1aff35d74fdd6d524f6ad7a989f4448a0b212bee19ba216a"


/src: (copy (src extunix.opam) (dst ./))
2026-04-13 10:43.21 ---> saved as "5cb198d1b6d78769d12c9b581c58ab233a3dfe614b2829d621eb43116c71bb85"


/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)
2026-04-13 10:43.24 ---> saved as "bb149a0d88413a9cd9d685f56619fd81f91a8de6c597ce33a20abc4dace344bb"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-13 10:43.24 ---> saved as "c83d7d3123632edca175ec4524d21d5d564efd9a33e47af4546e5055e0d73b5a"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.22.1 dune-configurator.3.22.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib0.v0.16.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.5 --depext-only -y extunix.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [122 kB]
- Fetched 213 kB in 0s (1468 kB/s)
- Reading package lists...
- 


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


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-04-13 10:43.42 ---> saved as "80aad6ff1f4505230297176b082b227e0965fbcf1f2110d8c11f8e2233a3edd2"


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


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (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.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved dune.3.22.1, dune-configurator.3.22.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.22.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.22.1
-> installed ppxlib.0.38.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-13 10:45.56 ---> saved as "ea8ff9be6d3eac92cfc340f90e3fa8de3eb0a0216bfccf238abc0894781b4e80"


/src: (copy (src .) (dst /src))
2026-04-13 10:45.57 ---> saved as "69fd7a4d3d1173e1a20ca7ad52396c9a97875a715eb7cb70e08bf7ab9539cf4d"


/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
checking WAIT4...............ok
checking NO_NEW_PRIVS........ok
checking LANDLOCK............ok
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.11/lib/ocaml -I /home/opam/.opam/4.11/lib/bytes -o mman.o -c mman.c)
mman.c: In function 'caml_extunix_mlockall':
mman.c:11:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
11 |   int flags = caml_convert_flag_list(v_flags, mlockall_flags_table);
|                                               ^~~~~~~~~~~~~~~~~~~~
In file included from config.h:34,
from mman.c:2:
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.11/lib/ocaml -I /home/opam/.opam/4.11/lib/bytes -o mount.o -c mount.c)
mount.c: In function 'caml_extunix_mount':
mount.c:25:59: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
25 |   int p_mountflags = caml_convert_flag_list(v_mountflags, mountflags_table);
|                                                           ^~~~~~~~~~~~~~~~
In file included from config.h:34,
from mount.c:2:
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
mount.c: In function 'caml_extunix_umount2':
mount.c:50:61: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
50 |   int p_umountflags = caml_convert_flag_list(v_umountflags, umountflags_table);
|                                                             ^~~~~~~~~~~~~~~~~
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.11/lib/ocaml -I /home/opam/.opam/4.11/lib/bytes -o rename.o -c rename.c)
rename.c: In function 'caml_extunix_renameat2':
rename.c:36:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
36 |   int flags = caml_convert_flag_list(v_flags, rename_flags_table);
|                                               ^~~~~~~~~~~~~~~~~~
In file included from config.h:34,
from rename.c:2:
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.11/lib/ocaml -I /home/opam/.opam/4.11/lib/bytes -o atfile.o -c atfile.c)
atfile.c: In function 'stat_aux':
atfile.c:55:52: warning: passing argument 2 of 'cst_to_constr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
55 |     caml_unix_cst_to_constr(buf->st_mode & S_IFMT, file_kind_table,
|                                                    ^~~~~~~~~~~~~~~
atfile.c:14:41: note: expected 'int *' but argument is of type 'const int *'
14 | extern value cst_to_constr(int n, int * tbl, int size, int deflt);
|                                   ~~~~~~^~~
atfile.c: In function 'caml_extunix_fstatat':
atfile.c:76:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
76 |   int flags = caml_convert_flag_list(v_flags, at_flags_table);
|                                               ^~~~~~~~~~~~~~
In file included from config.h:34,
from atfile.c:2:
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
atfile.c: In function 'caml_extunix_unlinkat':
atfile.c:95:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
95 |   int flags = caml_convert_flag_list(v_flags, at_flags_table);
|                                               ^~~~~~~~~~~~~~
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
atfile.c: In function 'caml_extunix_linkat':
atfile.c:141:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
141 |   int flags = caml_convert_flag_list(v_flags, at_flags_table);
|                                               ^~~~~~~~~~~~~~
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
atfile.c: In function 'caml_extunix_fchownat':
atfile.c:158:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
158 |   int flags = caml_convert_flag_list(v_flags, at_flags_table);
|                                               ^~~~~~~~~~~~~~
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
atfile.c: In function 'caml_extunix_fchmodat':
atfile.c:174:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
174 |   int flags = caml_convert_flag_list(v_flags, at_flags_table);
|                                               ^~~~~~~~~~~~~~
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.11/lib/ocaml -I /home/opam/.opam/4.11/lib/bytes -o unshare.o -c unshare.c)
unshare.c: In function 'caml_extunix_unshare':
unshare.c:17:59: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17 |   int p_cloneflags = caml_convert_flag_list(v_cloneflags, umountflags_table);
|                                                           ^~~~~~~~~~~~~~~~~
In file included from config.h:34,
from unshare.c:3:
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.11/lib/ocaml -I /home/opam/.opam/4.11/lib/bytes -o splice.o -c splice.c)
splice.c: In function 'caml_extunix_splice':
splice.c:24:56: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
24 |   unsigned int flags = caml_convert_flag_list(v_flags, splice_flags_table);
|                                                        ^~~~~~~~~~~~~~~~~~
In file included from config.h:34,
from splice.c:5:
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
splice.c: In function 'caml_extunix_tee':
splice.c:62:56: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
62 |   unsigned int flags = caml_convert_flag_list(v_flags, splice_flags_table);
|                                                        ^~~~~~~~~~~~~~~~~~
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
splice.c: In function 'caml_extunixba_vmsplice':
splice.c:87:56: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
87 |   unsigned int flags = caml_convert_flag_list(v_flags, splice_flags_table);
|                                                        ^~~~~~~~~~~~~~~~~~
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.11/lib/ocaml -I /home/opam/.opam/4.11/lib/bytes -o wait4.o -c wait4.c)
wait4.c: In function 'caml_extunix_wait4':
wait4.c:51:49: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
51 |   options = caml_convert_flag_list(vwait_flags, wait_flag_table);
|                                                 ^~~~~~~~~~~~~~~
In file included from config.h:34,
from wait4.c:2:
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.11/lib/ocaml -I /home/opam/.opam/4.11/lib/bytes -o syslog.o -c syslog.c)
syslog.c: In function 'caml_extunix_setlogmask':
syslog.c:19:42: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19 |   mask = caml_convert_flag_list(v_level, mask_table);
|                                          ^~~~~~~~~~
In file included from config.h:34,
from syslog.c:2:
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
syslog.c: In function 'caml_extunix_openlog':
syslog.c:67:45: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
67 |   option = caml_convert_flag_list(v_option, option_table);
|                                             ^~~~~~~~~~~~
/home/opam/.opam/4.11/lib/ocaml/caml/alloc.h:64:47: note: expected 'int *' but argument is of type 'const int *'
64 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/test && ./testba.exe)
......
Ran: 6 tests in: 0.02 seconds.
OK
(cd _build/default/test && ./test.exe)
.............................................................
Ran: 43 tests in: 0.06 seconds.
OK
....
Ran: 43 tests in: 0.07 seconds.
OK
.
Ran: 43 tests in: 0.07 seconds.
OK
.
2026-04-13 10:46.16 ---> saved as "5e1c88a8c06488ae51e99fb138434891eb297a808cb14b633b0983d9cf78a180"
Job succeeded
2026-04-13 10:46.17: Job succeeded