Organisationsygrekextunix3e34b7 (master)openbsd-76-amd64-5.3_opam-2.3

openbsd-76-amd64-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-02-05 08:33.33: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (3e34b741ef323f9715662346ffa126740915412b) (openbsd-amd64:openbsd-76-amd64-5.3_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.3
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 openbsd-76-amd64-ocaml-5.3
# openbsd-76-amd64-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 /home/opam/src/./
RUN opam pin add -yn extunix.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./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 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2025-02-05 08:33.33: Using cache hint "ygrek/extunix-openbsd-76-amd64-ocaml-5.3-openbsd-76-amd64-5.3_opam-2.3-527005c7f198137593257d94c8618edb"
2025-02-05 08:33.33: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.3)
(comment openbsd-76-amd64-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(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 /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn extunix.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./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 /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-02-05 08:33.33: Waiting for resource in pool OCluster
2025-02-05 08:33.33: Waiting for worker…
2025-02-05 10:03.16: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 3e34b74 renameat2: check RENAME_WHITEOUT constructor


(from openbsd-76-amd64-ocaml-5.3)
2025-02-05 10:03.16 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache


/: (comment openbsd-76-amd64-5.3_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-05 10:03.16 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-02-05 10:03.16 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-05 10:03.16 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" from cache


/: (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"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f93eb7cb02..3ee951993d  master     -> origin/master
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8


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


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 10:03.16 ---> using "b197c49a2fa127333af86f9258cc0d44f8f7534990c7866247e403c2e122f354" from cache


/: (copy (src extunix.opam) (dst /home/opam/src/./))
2025-02-05 10:03.59 ---> saved as "b0894a2d07a5a638cb9d705013ad5026ffdd82a11317ef91ee508f85ddf2ba8c"


/: (run (network host)
(shell "opam pin add -yn extunix.dev '/home/opam/src/./'"))
[extunix.dev] synchronised (file:///home/opam/src)
extunix is now pinned to file:///home/opam/src (version dev)
2025-02-05 10:04.43 ---> saved as "f73b869d90f8c086742b4a4fb3ecca0bb0873841844ac7af81f4a9471478d767"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-02-05 10:05.24 ---> saved as "ed4984cdfc3413b1d0f0830667290a147238c743f782e7d24645013970d65fe2"


/: (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"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[extunix.dev] synchronised (file:///home/opam/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-05 10:06.22 ---> saved as "9c9ca87d87f747a73a0dc3f531f50d181178a243e6cf0b4bcbc8a77302e6ce83"


/: (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 ppx_derivers.1.2.1  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved seq.base  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved stdlib-shims.0.3.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 seq.base
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed dune-configurator.3.17.2
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed ppxlib.0.35.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 10:16.41 ---> saved as "62022bd4c0363da466ae00d0dab3b36ce3053bf687ea720772b2fec25fc2bb09"


/: (copy (src .) (dst /home/opam/src))
2025-02-05 10:17.24 ---> saved as "feeb28b0bd27c082f88521196f3b738787d9550094a5f81a8b61249fd17f64c1"


/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && ../discover/discover.exe)
checking EVENTFD.............failed
checking ATFILE..............ok
checking RENAMEAT2...........failed
checking RENAME_WHITEOUT.....failed
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.............failed
checking FALLOCATE...........failed
checking TTY_IOCTL...........ok
checking TTYNAME.............ok
checking CTERMID.............ok
checking GETTID..............failed
checking PGID................ok
checking SETREUID............ok
checking FSYNC...............ok
checking FDATASYNC...........ok
checking SYNC................ok
checking SYNCFS..............failed
checking REALPATH............ok
checking SIGNALFD............failed
checking PTRACE..............failed
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............failed
checking MKDTEMP.............ok
checking MALLOC_INFO.........failed
checking MALLOC_STATS........failed
checking MEMALIGN............ok
checking ENDIAN..............ok
checking READ_CREDENTIALS....ok
checking FEXECVE.............failed
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..............failed
checking TEE.................failed
checking VMSPLICE............failed
checking SOCKOPT.............ok
checking TCP_KEEPIDLE........failed
checking TCP_KEEPCNT.........failed
checking TCP_KEEPINTVL.......failed
checking SO_REUSEPORT........ok
checking POLL................ok
checking SYSINFO.............failed
checking MCHECK..............failed
checking MOUNT...............failed
checking UNSHARE.............failed
checking CHROOT..............ok
checking SYSLOG..............ok
File "src/dune", line 52, characters 3-12:
52 |    read_cred
^^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/5.3.0/lib/ocaml -I /home/opam/.opam/5.3.0/lib/bytes -I /home/opam/.opam/5.3.0/lib/ocaml/unix -o read_cred.o -c read_cred.c)
read_cred.c:13:16: error: variable has incomplete type 'struct ucred'
struct ucred crd;
               ^
read_cred.c:13:10: note: forward declaration of 'struct ucred'
struct ucred crd;
         ^
1 error generated.
File "src/dune", line 55, characters 3-11:
55 |    resource
^^^^^^^^
(cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/5.3.0/lib/ocaml -I /home/opam/.opam/5.3.0/lib/bytes -I /home/opam/.opam/5.3.0/lib/ocaml/unix -o resource.o -c resource.c)
resource.c:105:5: error: use of undeclared identifier 'RLIMIT_AS'
RLIMIT_AS
    ^
1 error generated.
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-02-05 10:18.40: Job failed: Failed: Build failed