OrganisationsMisterDAextunixd1918d (master)freebsd-5.1_opam-2.1

freebsd-5.1_opam-2.1

Link Copied
Code Copied

Logs

2024-05-10 09:22.35: New job: test MisterDA/extunix https://github.com/MisterDA/extunix.git#refs/heads/master (d1918d5e5aa44745add713688046d07e3d9591a9) (freebsd-x86_64:freebsd-5.1_opam-2.1)
Base: freebsd-ocaml-5.1
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/MisterDA/extunix.git" -b "master" && cd "extunix" && git reset --hard d1918d5e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.1
# freebsd-5.1_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 extunix.opam ./
RUN opam pin add -yn extunix.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.32.1 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.1 --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


2024-05-10 09:22.35: Using cache hint "MisterDA/extunix-freebsd-freebsd-ocaml-5.1-freebsd-5.1_opam-2.1-79e9e9dbde4f0ff57134896579e86ae2"
2024-05-10 09:22.35: Using OBuilder spec:
((from freebsd-ocaml-5.1)
 (comment freebsd-5.1_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src extunix.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn extunix.dev './'"))
 (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.32.1 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.1 --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"))
)


2024-05-10 09:22.35: Waiting for resource in pool OCluster
2024-05-10 12:36.02: Waiting for worker…
2024-05-10 14:53.41: Got resource from pool OCluster
Building on summer
All commits already cached
HEAD is now at d1918d5 Remove Travis CI


(from freebsd-ocaml-5.1)
2024-05-10 14:47.20 ---> using "813c71762ba09cfa8cfe3f05f009bdd39b1b347128fefd2e95099f87d236c989" from cache


/: (comment freebsd-5.1_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam"))
2024-05-10 14:47.20 ---> using "65a9b62d2493057013f99a47d1d57b6072f5b00406fb4bfea785e58388f6b852" from cache


/src: (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] no changes from git+file:///home/opam/opam-repository
2024-05-10 14:47.20 ---> using "e99a94697afa70d27199359988cb3c099e37a5c06ee07760e5a5921308c3119e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 5.1.1
2.1.5
2024-05-10 14:47.21 ---> using "ec35bf54fa4c1a8f744eebe8956e2d9e1f1f6379cf858b75ddefbabb954554fc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-10 14:47.21 ---> using "e452d16e32919148b58c7e1d1c9db9a6c0854da706cd5eb72487da563b728a13" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ac9a846c00..20baedeee4  master     -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages


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


Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-05-10 14:47.21 ---> using "58d3ef29e7d8e112ec0533b0e9ff899b4f2ad47e9de0ab0016f9eddf180c5974" from cache


/src: (copy (src extunix.opam) (dst ./))
2024-05-10 14:47.22 ---> saved as "4fdf63c713363046380954a54d768d1dcbfa8168ab265c8c7779cf1f9cd298ed"


/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)
2024-05-10 14:47.25 ---> saved as "d6415d22367268d573179b944803e5e6398103cc34157f7b0e78c597318e9723"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.32.1 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.1 --depext-only -y extunix.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[extunix.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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
2024-05-10 14:47.49 ---> saved as "90d49f758fb26dc8d3037e5d6fa2181afc7340a505cacc4cea410f2b32116478"


/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.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following actions will be performed:
   install seq                 base
   install dune                3.15.2
   install ocamlfind           1.9.6
   install stdlib-shims        0.3.0
   install sexplib0            v0.17.0
   install ppx_derivers        1.2.1
   install ocaml-compiler-libs v0.12.4
   install csexp               1.5.2
   install base-bytes          base
   install ounit2              2.2.7
   install ppxlib              0.32.1
   install dune-configurator   3.15.2
=====  12 =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved csexp.1.5.2  (cached)
 retrieved ocaml-compiler-libs.v0.12.4  (cached)
 retrieved ocamlfind.1.9.6  (cached)
 retrieved ounit2.2.2.7  (cached)
 retrieved ppx_derivers.1.2.1  (cached)
 retrieved dune-configurator.3.15.2  (cached)
 installed seq.base
 retrieved ppxlib.0.32.1  (cached)
 retrieved sexplib0.v0.17.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved dune.3.15.2  (cached)
 installed ocamlfind.1.9.6
 installed base-bytes.base
 installed dune.3.15.2
 installed csexp.1.5.2
 installed stdlib-shims.0.3.0
 installed sexplib0.v0.17.0
 installed ppx_derivers.1.2.1
 installed ocaml-compiler-libs.v0.12.4
 installed ounit2.2.2.7
 installed dune-configurator.3.15.2
 installed ppxlib.0.32.1
Done.
2024-05-10 14:52.16 ---> saved as "0b2ae06a9e68d88b9c27886eb9592dc5100deccc50af9f20b9fd0c222b1b952e"


/src: (copy (src .) (dst /src))
2024-05-10 14:52.27 ---> saved as "5b8edec502829f1b5237befec22ddab0d748388d3d248790afc38034ab6c3183"


/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 DIRFD...............ok
checking STATVFS.............ok
checking FSTATVFS............ok
checking SIOCGIFCONF.........failed
checking IFADDRS.............ok
checking INET_NTOA...........ok
checking INET_NTOP...........ok
checking UNAME...............ok
checking FADVISE.............failed
checking FALLOCATE...........failed
checking TTY_IOCTL...........failed
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............failed
checking TIMEGM..............failed
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....failed
checking FEXECVE.............ok
checking SENDMSG.............failed
checking PREAD...............ok
checking PWRITE..............ok
checking READ................ok
checking WRITE...............ok
checking MKSTEMPS............failed
checking MKOSTEMPS...........failed
checking SETRESUID...........failed
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........failed
checking POLL................ok
checking SYSINFO.............failed
checking MCHECK..............failed
checking MOUNT...............failed
checking UNSHARE.............failed
checking CHROOT..............failed
checking SYSLOG..............ok
File "test/dune", line 2, characters 13-19:
2 |  (names test testba)
                 ^^^^^^
(cd _build/default && /home/opam/.opam/5.1.1/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o test/testba.exe /home/opam/.opam/5.1.1/lib/ocaml/unix/unix.cmxa src/ExtUnix.cmxa -I src /home/opam/.opam/5.1.1/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/5.1.1/lib/ounit2/advanced/oUnitAdvanced.cmxa /home/opam/.opam/5.1.1/lib/ounit2/oUnit.cmxa /home/opam/.opam/5.1.1/lib/ocaml/str/str.cmxa test/.test.eobjs/native/dune__exe.cmx test/.test.eobjs/native/dune__exe__Testba.cmx)
ld: error: undefined symbol: cst_to_constr
>>> referenced by atfile.c:46
>>>               atfile.o:(caml_extunix_fstatat) in archive src/libExtUnix_stubs.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
File "caml_startup", line 1:
Error: Error during linking (exit code 1)
File "test/dune", line 2, characters 8-12:
2 |  (names test testba)
            ^^^^
(cd _build/default && /home/opam/.opam/5.1.1/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o test/test.exe /home/opam/.opam/5.1.1/lib/ocaml/unix/unix.cmxa src/ExtUnix.cmxa -I src /home/opam/.opam/5.1.1/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/5.1.1/lib/ounit2/advanced/oUnitAdvanced.cmxa /home/opam/.opam/5.1.1/lib/ounit2/oUnit.cmxa /home/opam/.opam/5.1.1/lib/ocaml/str/str.cmxa test/.test.eobjs/native/dune__exe.cmx test/.test.eobjs/native/dune__exe__Test.cmx)
ld: error: undefined symbol: cst_to_constr
>>> referenced by atfile.c:46
>>>               atfile.o:(caml_extunix_fstatat) in archive src/libExtUnix_stubs.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
File "caml_startup", line 1:
Error: Error during linking (exit code 1)
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.32.1 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_689_9283" "mount.devfs" "path=/obuilder/result/213e03cd12aa814fea5a785548a215f5a53c325bf88cff7f324c2ade0909855c/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.32.1 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2024-05-10 14:59.26: Job failed: Failed: Build failed