OCamllabs icon Home|Differences with the last checks|Previous runs


Building on rosemary

(from freebsd)
2026-01-23 12:22.07 ---> using "77d5fe31836124b4684d554707425c4fde23f9ef3df0a804431a47419573778d" from cache

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

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (env CI true)

/: (env OPAM_HEALTH_CHECK_CI true)

/: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2026-01-23 12:22.08 ---> using "7afea9128a2830beedf345f0b46af5484579ebada7710165f445c6c5b18563a9" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 69f4d66596cd0a420dffdd43036a9eeb0b410d84"))
2026-01-23 12:22.08 ---> using "482dbb0ec91a42af2126b08c8ddaaefe7af1d37bece2ab2e09f190ea92f08575" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository"))
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.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  ~/.profile is already up-to-date.
2026-01-23 12:22.08 ---> using "e228eb0cc982c3d8ea51604ea760b18f8ed99c97f3d0b31028b3d89c7900bb93" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '4.14.2' 'ocaml-base-compiler.4.14.2'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.14.2"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.14.2  (cached)
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.2
-> installed ocaml.4.14.2
Done.
# To update the current shell environment, run: eval $(opam env --switch=4.14.2)
2026-01-23 12:22.09 ---> using "bad89a40d8d7858aaa3076026e4b96a3c9f5b2ee9a02c4e9541752c1eb581dc2" from cache

/: (run (network host)
        (shell "opam update --depexts"))
[WARNING] Unknown update command for bsd, skipping system update
2026-01-23 12:22.09 ---> using "af12f089a2138c328e853989f7a4ea4ba3c335962c279afd28d1db681985014b" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "opam remove -y ortools_solvers.9.14.0\
               \nopam install -vy ortools_solvers.9.14.0\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: ortools_solvers.9.14.0 | grep -q 'freebsd'; then\
               \n        echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
               \n        exit 69\
               \n    fi\
               \nfi \
               \n\
               \n\
               \nexit $res"))
[NOTE] ortools_solvers.9.14.0 is not installed.

Nothing to do.
The following actions will be performed:
=== install 7 packages
  - install csexp             1.5.2  [required by dune-configurator]
  - install dune              3.21.0 [required by ortools_solvers]
  - install dune-configurator 3.21.0 [required by ortools_solvers]
  - install ortools           9.14.0 [required by ortools_solvers]
  - install ortools_solvers   9.14.0
  - install pbrt              4.0    [required by ortools]
  - install stdlib-shims      0.3.0  [required by pbrt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/19: [csexp.1.5.2: extract]
Processing  2/19: [csexp.1.5.2: extract] [dune.3.21.0, dune-configurator.3.21.0: extract]
Processing  3/19: [csexp.1.5.2: extract] [dune.3.21.0, dune-configurator.3.21.0: extract] [ortools.9.14.0, ortools_solvers.9.14.0: extract]
-> retrieved ortools.9.14.0, ortools_solvers.9.14.0  (cached)
Processing  3/19: [csexp.1.5.2: extract] [dune.3.21.0, dune-configurator.3.21.0: extract]
Processing  4/19: [csexp.1.5.2: extract] [dune.3.21.0, dune-configurator.3.21.0: extract] [pbrt.4.0: extract]
-> retrieved csexp.1.5.2  (cached)
Processing  4/19: [dune.3.21.0, dune-configurator.3.21.0: extract] [pbrt.4.0: extract]
Processing  5/19: [dune.3.21.0, dune-configurator.3.21.0: extract] [pbrt.4.0: extract] [stdlib-shims.0.3.0: extract]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing  5/19: [dune.3.21.0, dune-configurator.3.21.0: extract] [pbrt.4.0: extract]
-> retrieved pbrt.4.0  (cached)
Processing  5/19: [dune.3.21.0, dune-configurator.3.21.0: extract]
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
Processing  6/19: [dune: ocaml 39]
+ /home/opam/.opam/4.14.2/bin/ocaml "boot/bootstrap.ml" "-j" "39" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune.3.21.0)
- ocamlc -output-complete-exe -intf-suffix .dummy -g -o .duneboot.exe -I boot unix.cma boot/types.ml boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 39
Processing  6/19: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/4.14.2/.opam-switch/build/dune.3.21.0/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "39" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune.3.21.0)
-> compiled  dune.3.21.0
-> installed dune.3.21.0
Processing  8/19: [csexp: dune build]
Processing  9/19: [csexp: dune build] [stdlib-shims: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "stdlib-shims" "-j" "39" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/stdlib-shims.0.3.0)
-> compiled  stdlib-shims.0.3.0
Processing  9/19: [csexp: dune build]
-> installed stdlib-shims.0.3.0
Processing 10/19: [csexp: dune build]
Processing 11/19: [csexp: dune build] [pbrt: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "csexp" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/csexp.1.5.2)
-> compiled  csexp.1.5.2
Processing 11/19: [pbrt: dune build]
-> installed csexp.1.5.2
Processing 12/19: [pbrt: dune build]
Processing 13/19: [dune-configurator: rm] [pbrt: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "pbrt" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/pbrt.4.0)
- (cd _build/default/src/runtime && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -std=c99 -O2 -g -I /home/opam/.opam/4.14.2/lib/ocaml -o stubs.o -c stubs.c)
- stubs.c:59:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
-    59 |   char *str = Bytes_val(_str);
-       |         ^     ~~~~~~~~~~~~~~~
- stubs.c:60:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
-    60 |   pbrt_varint(str + idx, i);
-       |               ^~~~~~~~~
- stubs.c:43:47: note: passing argument to parameter 'str' here
-    43 | static inline void pbrt_varint(unsigned char *str, uint64_t i) {
-       |                                               ^
- stubs.c:66:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
-    66 |   char *str = Bytes_val(_str);
-       |         ^     ~~~~~~~~~~~~~~~
- stubs.c:69:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
-    69 |   pbrt_varint(str + idx, i);
-       |               ^~~~~~~~~
- stubs.c:43:47: note: passing argument to parameter 'str' here
-    43 | static inline void pbrt_varint(unsigned char *str, uint64_t i) {
-       |                                               ^
- 4 warnings generated.
-> compiled  pbrt.4.0
Processing 13/19: [dune-configurator: rm]
-> installed pbrt.4.0
Processing 14/19: [dune-configurator: rm]
Processing 15/19: [dune-configurator: rm] [ortools: dune build]
+ /bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune-configurator.3.21.0)
+ /bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune-configurator.3.21.0)
Processing 15/19: [dune-configurator: dune build] [ortools: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "dune-configurator" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/dune-configurator.3.21.0)
-> compiled  dune-configurator.3.21.0
Processing 15/19: [ortools: dune build]
-> installed dune-configurator.3.21.0
Processing 16/19: [ortools: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "ortools" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/ortools.9.14.0)
-> compiled  ortools.9.14.0
-> installed ortools.9.14.0
Processing 18/19: [ortools_solvers: dune build]
+ /home/opam/.opam/4.14.2/bin/dune "build" "-p" "ortools_solvers" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14.2/.opam-switch/build/ortools_solvers.9.14.0)
- File "ortools_solvers/dune", lines 1-11, characters 0-281:
-  1 | (library
-  2 |   (name ortools_solvers)
-  3 |   (public_name ortools_solvers)
-  4 |   (synopsis "Call Google OR-Tools solvers")
-  5 |   (modules ortools_solvers)
-  6 |   (foreign_stubs
-  7 |     (language c)
-  8 |     (names ocaml_ortools_solvers))
-  9 |   (c_library_flags (:include discover/flags.sexp))
- 10 |   (libraries ortools)
- 11 | )
- (cd _build/default && /home/opam/.opam/4.14.2/bin/ocamlmklib.opt -g -o ortools_solvers/ortools_solvers_stubs ortools_solvers/ocaml_ortools_solvers.o -ldopt -lortools)
- ld: error: unable to find library -lortools
- cc: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] The compilation of ortools_solvers.9.14.0 failed at "dune build -p ortools_solvers -j 39 @install".

#=== ERROR while compiling ortools_solvers.9.14.0 =============================#
# context              2.5.0 | freebsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14.2/.opam-switch/build/ortools_solvers.9.14.0
# command              ~/.opam/4.14.2/bin/dune build -p ortools_solvers -j 39 @install
# exit-code            1
# env-file             ~/.opam/log/ortools_solvers-82486-4643cf.env
# output-file          ~/.opam/log/ortools_solvers-82486-4643cf.out
### output ###
# File "ortools_solvers/dune", lines 1-11, characters 0-281:
# [...]
#  4 |   (synopsis "Call Google OR-Tools solvers")
#  5 |   (modules ortools_solvers)
#  6 |   (foreign_stubs
#  7 |     (language c)
#  8 |     (names ocaml_ortools_solvers))
#  9 |   (c_library_flags (:include discover/flags.sexp))
# 10 |   (libraries ortools)
# 11 | )
# (cd _build/default && /home/opam/.opam/4.14.2/bin/ocamlmklib.opt -g -o ortools_solvers/ortools_solvers_stubs ortools_solvers/ocaml_ortools_solvers.o -ldopt -lortools)
# ld: error: unable to find library -lortools
# cc: error: linker command failed with exit code 1 (use -v to see invocation)



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ortools_solvers 9.14.0
+- 
+- The following changes have been performed
| - install csexp             1.5.2
| - install dune              3.21.0
| - install dune-configurator 3.21.0
| - install ortools           9.14.0
| - install pbrt              4.0
| - install stdlib-shims      0.3.0
+- 

<><> ortools_solvers.9.14.0 troubleshooting <><><><><><><><><><><><><><><><><><>
=> Failed to install ortools_solvers.
   Ensure the Google OR-Tools runtime is available on LIBRARY_PATH (to build)
   and LD_LIBRARY_PATH (to use). See https://github.com/inria/ocaml-ortools.

The former state can be restored with:
    /usr/local/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20260123122212.export"
'opam install -vy ortools_solvers.9.14.0' failed.
This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.
jail: /usr/bin/su -l opam -c cd '/' && env OPAM_HEALTH_CHECK_CI='true' CI='true' OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' 'opam remove -y ortools_solvers.9.14.0
opam install -vy ortools_solvers.9.14.0
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: ortools_solvers.9.14.0 | grep -q '\''freebsd'\''; then
        echo "This package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field."
        exit 69
    fi
fi 


exit $res': failed
"jail" "-c" "name=obuilder_56181_69598" "mount.fstab=/tmp/obuilder-jail-ad6355/fstab" "mount.devfs" "path=/obuilder/result/643b9b86f1c757c26c9ce66c969cada10ef9c26819825247e6b501f5bba04303/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/' && env OPAM_HEALTH_CHECK_CI='true' CI='true' OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' 'opam remove -y ortools_solvers.9.14.0
opam install -vy ortools_solvers.9.14.0
res=$?
if [ $res = 31 ]; then
    if opam show -f x-ci-accept-failures: ortools_solvers.9.14.0 | grep -q '\''freebsd'\''; then
        echo "This package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field."
        exit 69
    fi
fi 


exit $res'" failed with exit status 1
Failed: Build failed