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


Building on rosemary

(from freebsd)
2026-01-23 12:22.20 ---> 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.21 ---> 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.21 ---> 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.21 ---> using "e228eb0cc982c3d8ea51604ea760b18f8ed99c97f3d0b31028b3d89c7900bb93" from cache

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

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

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

/: (run (network host)
        (shell "opam update --depexts"))
[WARNING] Unknown update command for bsd, skipping system update
2026-01-23 12:22.22 ---> using "21bf8337b63802ab27e354b2885323d528c11851454a4fab31b6d2f9ad44dee7" 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/5.3.0/bin/ocaml "boot/bootstrap.ml" "-j" "39" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/dune.3.21.0)
- ocamlc -output-complete-exe -intf-suffix .dummy -g -o .duneboot.exe -I boot -I +unix 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/5.3.0/.opam-switch/build/dune.3.21.0/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "39" (CWD=/home/opam/.opam/5.3.0/.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/5.3.0/bin/dune "build" "-p" "csexp" "-j" "39" "@install" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/csexp.1.5.2)
- (cd _build/default && /home/opam/.opam/5.3.0/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.csexp.objs/byte -cmi-file src/.csexp.objs/byte/csexp.cmi -no-alias-deps -o src/.csexp.objs/byte/csexp.cmo -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 |     [@@inlined always]
-              ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
- (cd _build/default && /home/opam/.opam/5.3.0/bin/ocamlopt.opt -w -40 -g -I src/.csexp.objs/byte -I src/.csexp.objs/native -cmi-file src/.csexp.objs/byte/csexp.cmi -no-alias-deps -o src/.csexp.objs/native/csexp.cmx -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 |     [@@inlined always]
-              ^^^^^^^
- Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context
-> compiled  csexp.1.5.2
Processing  9/19: [stdlib-shims: dune build]
-> installed csexp.1.5.2
Processing 10/19: [stdlib-shims: dune build]
Processing 11/19: [dune-configurator: rm] [stdlib-shims: dune build]
+ /home/opam/.opam/5.3.0/bin/dune "build" "-p" "stdlib-shims" "-j" "39" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/stdlib-shims.0.3.0)
-> compiled  stdlib-shims.0.3.0
Processing 11/19: [dune-configurator: rm]
-> installed stdlib-shims.0.3.0
Processing 12/19: [dune-configurator: rm]
Processing 13/19: [dune-configurator: rm] [pbrt: dune build]
+ /bin/rm "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/dune-configurator.3.21.0)
+ /bin/rm "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/dune-configurator.3.21.0)
Processing 13/19: [dune-configurator: dune build] [pbrt: dune build]
+ /home/opam/.opam/5.3.0/bin/dune "build" "-p" "pbrt" "-j" "39" "@install" (CWD=/home/opam/.opam/5.3.0/.opam-switch/build/pbrt.4.0)
- (cd _build/default/src/runtime && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -std=c99 -O2 -g -I /home/opam/.opam/5.3.0/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: dune build]
-> installed pbrt.4.0
Processing 14/19: [dune-configurator: dune build]
Processing 15/19: [dune-configurator: dune build] [ortools: dune build]
+ /home/opam/.opam/5.3.0/bin/dune "build" "-p" "dune-configurator" "-j" "39" "@install" (CWD=/home/opam/.opam/5.3.0/.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/5.3.0/bin/dune "build" "-p" "ortools" "-j" "39" "@install" (CWD=/home/opam/.opam/5.3.0/.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/5.3.0/bin/dune "build" "-p" "ortools_solvers" "-j" "39" "@install" (CWD=/home/opam/.opam/5.3.0/.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/5.3.0/bin/ocamlmklib -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.5.3.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.3.0/.opam-switch/build/ortools_solvers.9.14.0
# command              ~/.opam/5.3.0/bin/dune build -p ortools_solvers -j 39 @install
# exit-code            1
# env-file             ~/.opam/log/ortools_solvers-88246-fbfb5a.env
# output-file          ~/.opam/log/ortools_solvers-88246-fbfb5a.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/5.3.0/bin/ocamlmklib -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/5.3.0/.opam-switch/backup/state-20260123122226.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_69600" "mount.fstab=/tmp/obuilder-jail-3d0ee8/fstab" "mount.devfs" "path=/obuilder/result/1985400bdc7be96d9d0d419c541fe974505658460d0133b0e2a69fee09a700cf/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