Organisationsygrekextunixe90bd0 (master)debian-13-4.14_ppc64_opam-2.4

debian-13-4.14_ppc64_opam-2.4

Link Copied
Code Copied

Logs

2025-10-15 10:13.40: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (e90bd03bbcdf84ccba6b749f727d487f4161aff8) (linux-ppc64:debian-13-4.14_ppc64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.14@sha256:80ac975b3b8f59e4515e18c1b4023eabfd9ba6cbd1660a799245d2dc7e1a144f
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/extunix.git" -b "master" && cd "extunix" && git reset --hard e90bd03b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:80ac975b3b8f59e4515e18c1b4023eabfd9ba6cbd1660a799245d2dc7e1a144f
# debian-13-4.14_ppc64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && 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.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.37.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.4 --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-10-15 10:13.40: Using cache hint "ygrek/extunix-ocaml/opam:debian-13-ocaml-4.14@sha256:80ac975b3b8f59e4515e18c1b4023eabfd9ba6cbd1660a799245d2dc7e1a144f-debian-13-4.14_ppc64_opam-2.4-b9472d7e86a5ff3d2f481856aad186ec"
2025-10-15 10:13.40: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:80ac975b3b8f59e4515e18c1b4023eabfd9ba6cbd1660a799245d2dc7e1a144f)
(comment debian-13-4.14_ppc64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && 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-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.37.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.4 --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-10-15 10:13.40: Waiting for resource in pool OCluster
2025-10-15 10:46.02: Waiting for worker…
2025-10-15 10:59.30: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/extunix.git-9f34d02ef4475fcc8c464b307336158ce417c33a/.git/
HEAD is now at e90bd03 Remove outdated depext on libexecinfo-dev on Alpine


(from ocaml/opam:debian-13-ocaml-4.14@sha256:80ac975b3b8f59e4515e18c1b4023eabfd9ba6cbd1660a799245d2dc7e1a144f)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:80ac975b3b8f59e4515e18c1b4023eabfd9ba6cbd1660a799245d2dc7e1a144f' locally
docker.io/ocaml/opam@sha256:80ac975b3b8f59e4515e18c1b4023eabfd9ba6cbd1660a799245d2dc7e1a144f: Pulling from ocaml/opam
71fbf24a2393: Already exists
83dbd7bf17ea: Already exists
9a65c1a24e17: Already exists
3ddaeece5198: Already exists
7b9d7a80f7ec: Already exists
38aeca3c1618: Already exists
0b596ce0a20e: Already exists
0bbee5d6af7b: Already exists
5298b4255e13: Already exists
5d2e3e353c70: Already exists
7e826a6260ef: Already exists
1e1e8ba66fd1: Already exists
80a95ac0076d: Already exists
ddf5f1a96e1f: Already exists
8c5199c15aa0: Already exists
9adfaeda889f: Already exists
9adfaeda889f: Already exists
1c7fc7e831bb: Already exists
73d81cd9f2f1: Already exists
aad978d660cd: Already exists
79f97c7fe0e1: Already exists
4f4fb700ef54: Already exists
0d0929900137: Already exists
51ace838e111: Already exists
5e3d32d58263: Already exists
312c19c10354: Already exists
b8a6f72a4879: Already exists
701b5b70672c: Already exists
423ecb89d367: Already exists
1daad2e46849: Already exists
ee810ee132eb: Already exists
87cbcd4f135f: Already exists
b0d89dead177: Already exists
7797421764ef: Already exists
3eaad8887796: Already exists
6620c200808d: Already exists
5fe59832ab21: Already exists
b92d9ca399fc: Already exists
1f82ed4aae51: Already exists
7d53bd33957c: Already exists
774ef7afd9e0: Pulling fs layer
ea2ee057f3bb: Pulling fs layer
0d0454f0d863: Pulling fs layer
ed3511b5485d: Pulling fs layer
ed3511b5485d: Waiting
ea2ee057f3bb: Download complete
0d0454f0d863: Download complete
ed3511b5485d: Verifying Checksum
ed3511b5485d: Download complete
774ef7afd9e0: Download complete
774ef7afd9e0: Pull complete
ea2ee057f3bb: Pull complete
0d0454f0d863: Pull complete
ed3511b5485d: Pull complete
Digest: sha256:80ac975b3b8f59e4515e18c1b4023eabfd9ba6cbd1660a799245d2dc7e1a144f
Status: Downloaded newer image for ocaml/opam@sha256:80ac975b3b8f59e4515e18c1b4023eabfd9ba6cbd1660a799245d2dc7e1a144f
2025-10-15 10:59.31 ---> using "1cb942cfda1f8e1ddbf40e5bdcbeac5fd965ced289f74a8c35099e1a102034e9" from cache


/: (comment debian-13-4.14_ppc64_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-15 10:59.31 ---> using "2718b6b4fbbf7e4749c9d720e3d02153c391f01749b90904ca85ae4f23a8120a" 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
2025-10-15 10:59.31 ---> using "92a282fe656dc9bd68064dc3d350288ac9479d44cd28978f21085bbf2b5af975" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-15 10:59.31 ---> using "136c44bb1d5823a2fafbdeb5b8f649b3e611251de3488c712e9593d030c65f47" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-15 10:59.31 ---> using "d81465d278c872c629803ec8f96f7ed89da224b51326fd434324c4a8ccefd4a5" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
1abfcdbf14..12d0447fd1  master     -> origin/master
deb3de7fc5 Merge pull request #28686 from NathanReb/release-ppxlib-0.37.0


<><> 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.3.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)
2025-10-15 10:59.31 ---> using "1e4a0b0b1b2c9e7c144fa2449f54d47904bc870613685b8ddceaa160fc7e50fb" from cache


/src: (copy (src extunix.opam) (dst ./))
2025-10-15 10:59.31 ---> saved as "aadea7512f98fcaa7db7a64c73d77a1f720b9c72fccc0980207c8b2294cab618"


/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-10-15 10:59.35 ---> saved as "30b89cb56aae24723367b822686b749893f130335e74cb3fbe8962ca5ef50472"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 10:59.35 ---> saved as "c1df8b5383ef117145c1344524b07d9e85f8c52ad65ddadb8eb950e18a72741f"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.37.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.4 --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 ppc64el Packages [51.4 kB]
- Fetched 142 kB in 0s (803 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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).
2025-10-15 10:59.58 ---> saved as "5a94dd1b78d1d3e63aad16e131a1f760318143c902782bd1d3bb3a6a3bdc5dfb"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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.20.2
- install dune-configurator   3.20.2
- 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.37.0
- install seq                 base
- install sexplib0            v0.17.0
- install stdlib-shims        0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.20.2
-> installed ppxlib.0.37.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 11:01.04 ---> saved as "d0ac9e83f199a2ea7e27fa0f02dda714bf6403a997c49f7768002ef7983c433d"


/src: (copy (src .) (dst /src))
2025-10-15 11:01.04 ---> saved as "2acfef3527037584be01ef3f8b15be5f39f9a2f4c1308379fc252d1310ddcb94"


/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
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | 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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | 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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | 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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | 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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | 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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | 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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | 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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | 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.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/test && ./testba.exe)
......
Ran: 6 tests in: 0.01 seconds.
OK
(cd _build/default/test && ./test.exe)
............................................................
Ran: 42 tests in: 0.04 seconds.
OK
.
Ran: 42 tests in: 0.04 seconds.
OK
..
Ran: 42 tests in: 0.04 seconds.
OK


Ran: 42 tests in: 0.04 seconds.
OK
2025-10-15 11:01.12 ---> saved as "80c0738ad641fc1c5a8973c2678d73597bdd902ae57774848f9e776b54d936fe"
Job succeeded
2025-10-15 11:01.12: Job succeeded