Building on summer (from freebsd) 2024-07-03 15:00.05 ---> using "77d5fe31836124b4684d554707425c4fde23f9ef3df0a804431a47419573778d" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam")) 2024-07-03 15:00.06 ---> using "a2b22593046b56fadc85e22b0da7b84e903c1f5aa4d42a7c481121ceec28b31f" 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 175a8ca8b27d9a46ed86ec5d7b1130c98a153055")) 2024-07-03 15:00.06 ---> using "12d681098b105578a67465aa7bc396c5d90e9ce4e3304a8d75f23641353fa26c" 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. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2024-07-03 15:00.07 ---> using "cd58f29b8c142c1ae36c06cbe6d040fc45053855e85f74d3d710bce30c463662" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14.1' 'ocaml-base-compiler.4.14.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.2 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.1 (cached) -> installed ocaml-base-compiler.4.14.1 -> installed ocaml-config.2 -> installed ocaml.4.14.1 Done. # Run eval $(opam env --switch=4.14.1) to update the current shell environment 2024-07-03 15:00.07 ---> using "7b308b2584dc258233cfb37ad83354a0804ec90976555e191659bff7e597c170" from cache /: (run (network host) (shell "opam update --depexts")) [WARNING] Unknown update command for bsd, skipping system update 2024-07-03 15:00.08 ---> using "3f0c14f5761a225622a6acf1a058a90ab52281bdd9172d3eca06be38cd0468ad" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"nlopt.0.7.0\"\ \nopam install -vy \"nlopt.0.7.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"nlopt.0.7.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\ \n")) [NOTE] nlopt.0.7.0 is not installed. Nothing to do. The following actions will be performed: === install 4 packages - install conf-nlopt 1 [required by nlopt] - install conf-pkg-config 3 [required by conf-nlopt] - install dune 3.16.0 [required by nlopt] - install nlopt 0.7.0 The following system packages will first need to be installed: nlopt <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run pkg to install them (may need root/sudo access) 2. Display the recommended pkg command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/local/bin/sudo "pkg" "install" "-y" "nlopt" - Updating FreeBSD repository catalogue... - [summer] Fetching data.pkg: .. - .. - .. - ... - . done - Processing entries: . - .. - . - .. - . - .. - . done - FreeBSD repository update completed. 34082 packages processed. - All repositories are up to date. - The following 21 package(s) will be affected (of 0 checked): - - New packages to be INSTALLED: - binutils: 2.40_5,1 - boehm-gc: 8.2.6 - boehm-gc-threaded: 8.2.6 - gcc13: 13.2.0_4 - gmp: 6.3.0 - guile-aclocal: 3.0.9_2 - guile2: 2.2.7_6 - libltdl: 2.4.7 - mpc: 1.3.1_1 - mpfr: 4.2.1,1 - nlopt: 2.7.1_3 - openblas: 0.3.25,2 - py39-numpy: 1.25.0_6,1 - py39-setuptools: 63.1.0_1 - suitesparse-amd: 3.3.1 - suitesparse-camd: 3.3.1 - suitesparse-ccolamd: 3.3.2 - suitesparse-cholmod: 5.2.0 - suitesparse-colamd: 3.3.2 - suitesparse-config: 7.6.1 - suitesparse-umfpack: 6.3.2 - - Number of packages to be installed: 21 - - The process will require 649 MiB more space. - 135 MiB to be downloaded. - [summer] [1/21] Fetching nlopt-2.7.1_3.pkg: ...... - .... done - [summer] [2/21] Fetching suitesparse-camd-3.3.1.pkg: .......... done - [summer] [3/21] Fetching guile2-2.2.7_6.pkg: . - ... - .... - .. done - [summer] [4/21] Fetching suitesparse-cholmod-5.2.0.pkg: ......... - . done - [summer] [5/21] Fetching gmp-6.3.0.pkg: ........ done - [summer] [6/21] Fetching mpfr-4.2.1,1.pkg: .......... done - [summer] [7/21] Fetching suitesparse-config-7.6.1.pkg: ..... done - [summer] [8/21] Fetching py39-numpy-1.25.0_6,1.pkg: - .. - .. - . - . - . - . - . - . done - [summer] [9/21] Fetching boehm-gc-threaded-8.2.6.pkg: .......... done - [summer] [10/21] Fetching suitesparse-colamd-3.3.2.pkg: ......... done - [summer] [11/21] Fetching py39-setuptools-63.1.0_1.pkg: ....... - ... done - [summer] [12/21] Fetching libltdl-2.4.7.pkg: ....... done - [summer] [13/21] Fetching boehm-gc-8.2.6.pkg: .......... done - [summer] [14/21] Fetching mpc-1.3.1_1.pkg: .......... done - [summer] [15/21] Fetching suitesparse-umfpack-6.3.2.pkg: ........ - .. done - [summer] [16/21] Fetching guile-aclocal-3.0.9_2.pkg: ... done - [summer] [17/21] Fetching suitesparse-ccolamd-3.3.2.pkg: ...... done - [summer] [18/21] Fetching gcc13-13.2.0_4.pkg: - . - . - . - . - . - . - . - . - . - . done - [summer] [19/21] Fetching binutils-2.40_5,1.pkg: - .. - ... - ... - .. done - [summer] [20/21] Fetching openblas-0.3.25,2.pkg: - ... - ...... - . done - [summer] [21/21] Fetching suitesparse-amd-3.3.1.pkg: .......... done - Checking integrity... - done (0 conflicting) - [summer] [1/21] Installing gmp-6.3.0... - [summer] [1/21] Extracting gmp-6.3.0: .......... done - [summer] [2/21] Installing mpfr-4.2.1,1... - [summer] [2/21] Extracting mpfr-4.2.1,1: .......... done - [summer] [3/21] Installing mpc-1.3.1_1... - [summer] [3/21] Extracting mpc-1.3.1_1: ......... done - [summer] [4/21] Installing binutils-2.40_5,1... - [summer] [4/21] Extracting binutils-2.40_5,1: .......... done - [summer] [5/21] Installing gcc13-13.2.0_4... - [summer] [5/21] Extracting gcc13-13.2.0_4: ......... - . done - [summer] [6/21] Installing openblas-0.3.25,2... - [summer] [6/21] Extracting openblas-0.3.25,2: .......... done - [summer] [7/21] Installing suitesparse-config-7.6.1... - [summer] [7/21] Extracting suitesparse-config-7.6.1: .......... done - [summer] [8/21] Installing suitesparse-camd-3.3.1... - [summer] [8/21] Extracting suitesparse-camd-3.3.1: .......... done - [summer] [9/21] Installing suitesparse-colamd-3.3.2... - [summer] [9/21] Extracting suitesparse-colamd-3.3.2: .......... done - [summer] [10/21] Installing suitesparse-ccolamd-3.3.2... - [summer] [10/21] Extracting suitesparse-ccolamd-3.3.2: .......... done - [summer] [11/21] Installing suitesparse-amd-3.3.1... - [summer] [11/21] Extracting suitesparse-amd-3.3.1: .......... done - [summer] [12/21] Installing suitesparse-cholmod-5.2.0... - [summer] [12/21] Extracting suitesparse-cholmod-5.2.0: .......... done - [summer] [13/21] Installing boehm-gc-8.2.6... - [summer] [13/21] Extracting boehm-gc-8.2.6: .......... done - [summer] [14/21] Installing boehm-gc-threaded-8.2.6... - [summer] [14/21] Extracting boehm-gc-threaded-8.2.6: .......... done - [summer] [15/21] Installing py39-setuptools-63.1.0_1... - [summer] [15/21] Extracting py39-setuptools-63.1.0_1: .......... done - [summer] [16/21] Installing libltdl-2.4.7... - [summer] [16/21] Extracting libltdl-2.4.7: .......... done - [summer] [17/21] Installing suitesparse-umfpack-6.3.2... - [summer] [17/21] Extracting suitesparse-umfpack-6.3.2: .......... done - [summer] [18/21] Installing guile-aclocal-3.0.9_2... - [summer] [18/21] Extracting guile-aclocal-3.0.9_2: ..... done - [summer] [19/21] Installing guile2-2.2.7_6... - [summer] [19/21] Extracting guile2-2.2.7_6: .......... done - [summer] [20/21] Installing py39-numpy-1.25.0_6,1... - [summer] [20/21] Extracting py39-numpy-1.25.0_6,1: .......... done - [summer] [21/21] Installing nlopt-2.7.1_3... - [summer] [21/21] Extracting nlopt-2.7.1_3: .......... done - ===== - Message from gcc13-13.2.0_4: - - -- - To ensure binaries built with this toolchain find appropriate versions - of the necessary run-time libraries, you may want to link using - - -Wl,-rpath=/usr/local/lib/gcc13 - - For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens - transparently. <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 3/12: [dune.3.16.0: extract] Processing 4/12: [dune.3.16.0: extract] [nlopt.0.7.0: http] Processing 5/12: [dune.3.16.0: extract] [nlopt.0.7.0: http] [conf-pkg-config: pkg-config] + /usr/local/bin/pkg-config "--help" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-pkg-config.3) - usage: pkgconf [OPTIONS] [LIBRARIES] - - basic options: - - --help this message - --about print pkgconf version and license to stdout - --version print supported pkg-config version to stdout - --verbose print additional information - --atleast-pkgconfig-version check whether or not pkgconf is compatible - with a specified pkg-config version - --errors-to-stdout print all errors on stdout instead of stderr - --print-errors ensure all errors are printed - --short-errors be less verbose about some errors - --silence-errors explicitly be silent about errors - --list-all list all known packages - --list-package-names list all known package names - --simulate simulate walking the calculated dependency graph - --no-cache do not cache already seen packages when - walking the dependency graph - --log-file=filename write an audit log to a specified file - --with-path=path adds a directory to the search path - --define-prefix override the prefix variable with one that is guessed based on - the location of the .pc file - --dont-define-prefix do not override the prefix variable under any circumstances - --prefix-variable=varname sets the name of the variable that pkgconf considers - to be the package prefix - --relocate=path relocates a path and exits (mostly for testsuite) - --dont-relocate-paths disables path relocation support - - cross-compilation personality support: - - --personality=triplet|filename sets the personality to 'triplet' or a file named 'filename' - --dump-personality dumps details concerning selected personality - - checking specific pkg-config database entries: - - --atleast-version require a specific version of a module - --exact-version require an exact version of a module - --max-version require a maximum version of a module - --exists check whether or not a module exists - --uninstalled check whether or not an uninstalled module will be used - --no-uninstalled never use uninstalled modules when satisfying dependencies - --no-provides do not use 'provides' rules to resolve dependencies - --maximum-traverse-depth maximum allowed depth for dependency graph - --static be more aggressive when computing dependency graph - (for static linking) - --shared use a simplified dependency graph (usually default) - --pure optimize a static dependency graph as if it were a normal - dependency graph - --env-only look only for package entries in PKG_CONFIG_PATH - --ignore-conflicts ignore 'conflicts' rules in modules - --validate validate specific .pc files for correctness - - querying specific pkg-config database fields: - - --define-variable=varname=value define variable 'varname' as 'value' - --variable=varname print specified variable entry to stdout - --cflags print required CFLAGS to stdout - --cflags-only-I print required include-dir CFLAGS to stdout - --cflags-only-other print required non-include-dir CFLAGS to stdout - --libs print required linker flags to stdout - --libs-only-L print required LDPATH linker flags to stdout - --libs-only-l print required LIBNAME linker flags to stdout - --libs-only-other print required other linker flags to stdout - --print-requires print required dependency frameworks to stdout - --print-requires-private print required dependency frameworks for static - linking to stdout - --print-provides print provided dependencies to stdout - --print-variables print all known variables in module to stdout - --digraph print entire dependency graph in graphviz 'dot' format - --solution print dependency graph solution in a simple format - --keep-system-cflags keep -I/usr/include entries in cflags output - --keep-system-libs keep -L/usr/lib entries in libs output - --path show the exact filenames for any matching .pc files - --modversion print the specified module's version to stdout - --internal-cflags do not filter 'internal' cflags from output - --license print the specified module's license to stdout if known - - filtering output: - - --msvc-syntax print translatable fragments in MSVC syntax - --fragment-filter=types filter output fragments to the specified types - - report bugs to <https://github.com/pkgconf/pkgconf/issues/new>. -> compiled conf-pkg-config.3 Processing 5/12: [dune.3.16.0: extract] [nlopt.0.7.0: http] -> installed conf-pkg-config.3 Processing 6/12: [dune.3.16.0: extract] [nlopt.0.7.0: http] Processing 7/12: [dune.3.16.0: extract] [nlopt.0.7.0: http] [conf-nlopt: pkg-config nlopt] + /usr/local/bin/pkg-config "--exists" "nlopt" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/conf-nlopt.1) -> compiled conf-nlopt.1 Processing 7/12: [dune.3.16.0: extract] [nlopt.0.7.0: http] -> installed conf-nlopt.1 Processing 8/12: [dune.3.16.0: extract] [nlopt.0.7.0: http] Processing 8/12: [dune.3.16.0: extract] [nlopt.0.7.0: extract] -> retrieved nlopt.0.7.0 (https://github.com/mkur/nlopt-ocaml/archive/refs/tags/release-0.7.tar.gz) Processing 8/12: [dune.3.16.0: extract] -> retrieved dune.3.16.0 (cached) Processing 9/12: [dune: ocaml 15] + /home/opam/.opam/4.14.1/bin/ocaml "boot/bootstrap.ml" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.16.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - /tmp/camlobj152fee.c:16582:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] - extern value caml_get_public_method(); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:236:18: note: conflicting prototype is here - CAMLextern value caml_get_public_method (value obj, value tag); - ^ - /tmp/camlobj152fee.c:16764:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] - extern value caml_set_oo_id(); - ^ - /home/opam/.opam/4.14.1/lib/ocaml/caml/mlvalues.h:413:18: note: conflicting prototype is here - CAMLextern value caml_set_oo_id(value obj); - ^ - 2 warnings generated. - ./.duneboot.exe -j 15 - Processing 9/12: [dune: ./_boot/dune.exe build] + /home/opam/.opam/4.14.1/.opam-switch/build/dune.3.16.0/./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 Processing 11/12: [nlopt: dune build] + /home/opam/.opam/4.14.1/bin/dune "build" "-p" "nlopt" "-j" "15" (CWD=/home/opam/.opam/4.14.1/.opam-switch/build/nlopt.0.7.0) - File "src/dune", line 4, characters 37-50: - 4 | (foreign_stubs (language c) (names nlopt_wrapper)) - ^^^^^^^^^^^^^ - (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14.1/lib/ocaml -o nlopt_wrapper.o -c nlopt_wrapper.c) - nlopt_wrapper.c:3:10: fatal error: 'nlopt.h' file not found - #include <nlopt.h> - ^~~~~~~~~ - 1 error generated. [ERROR] The compilation of nlopt.0.7.0 failed at "dune build -p nlopt -j 15". #=== ERROR while compiling nlopt.0.7.0 ========================================# # context 2.2.0~rc1~dev | freebsd/x86_64 | ocaml-base-compiler.4.14.1 | file:///home/opam/opam-repository # path ~/.opam/4.14.1/.opam-switch/build/nlopt.0.7.0 # command ~/.opam/4.14.1/bin/dune build -p nlopt -j 15 # exit-code 1 # env-file ~/.opam/log/nlopt-77869-63c04f.env # output-file ~/.opam/log/nlopt-77869-63c04f.out ### output ### # File "src/dune", line 4, characters 37-50: # 4 | (foreign_stubs (language c) (names nlopt_wrapper)) # ^^^^^^^^^^^^^ # (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14.1/lib/ocaml -o nlopt_wrapper.o -c nlopt_wrapper.c) # nlopt_wrapper.c:3:10: fatal error: 'nlopt.h' file not found # #include <nlopt.h> # ^~~~~~~~~ # 1 error generated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build nlopt 0.7.0 +- +- The following changes have been performed | - install conf-nlopt 1 | - install conf-pkg-config 3 | - install dune 3.16.0 +- The former state can be restored with: /usr/local/bin/opam switch import "/home/opam/.opam/4.14.1/.opam-switch/backup/state-20240703150013.export" 'opam install -vy nlopt.0.7.0' failed. jail: /usr/bin/su -l opam -c cd '/' && env OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "nlopt.0.7.0" opam install -vy "nlopt.0.7.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "nlopt.0.7.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_58868_10570" "mount.fstab=/tmp/obuilder-jail-ad406c/fstab" "mount.devfs" "path=/obuilder/result/2be77abb9919be52638c681a994152a4cb93754bff41aca80979d7a2eb84e810/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/' && env OPAMCRITERIA='+removed' OPAMEXTERNALSOLVER='builtin-0install' OPAMUTF8='never' OPAMPRECISETRACKING='1' '/usr/bin/env' 'bash' '-c' ' opam remove -y "nlopt.0.7.0" opam install -vy "nlopt.0.7.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "nlopt.0.7.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