Building on toxis.caelum.ci.dev (from ocaml/opam:debian-unstable) 2025-01-15 19:04.07 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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/bin/opam-dev /usr/bin/opam")) 2025-01-15 19:04.07 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" 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 451b1e526ccb27dc66364a851b27fbf7ccfbc2f2")) 2025-01-15 19:04.07 ---> using "52625e8a37d6974e498c46c5b73987a5de23eb753980981e64630dc695fbe3b3" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from 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 default (at file:///home/opam/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2025-01-15 19:04.07 ---> using "bf0993b7e440c7679323e43a556b3a337fb81df454233420043ea0f043d5139e" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.2' '5.2.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (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.5.2.0 (cached) -> installed ocaml-base-compiler.5.2.0 -> installed ocaml-config.3 -> installed ocaml.5.2.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.2) to update the current shell environment 2025-01-15 19:04.07 ---> using "b882a5b0ea41c859bffd56b9cbf4207ab08712f8b57fdbb6d552922dfac72883" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [205 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [9979 kB] - Fetched 10.2 MB in 3s (3438 kB/s) - Reading package lists... - 2025-01-15 19:04.07 ---> using "5eb3a8bad9f844b7c08a81f62b7da4039d92cc9cbf95d1ee406949329bd6f0b5" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"pg_query.0.9.7\"\ \nopam install -vy \"pg_query.0.9.7\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"pg_query.0.9.7\" | grep -q '\"debian-unstable\"'; 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")) Nothing to do. [NOTE] pg_query.0.9.7 is not installed. The following actions will be performed: === install 19 packages - install bigarray-compat 1.1.0 [required by ctypes] - install cmdliner 1.3.0 [required by pg_query] - install conf-libffi 2.0.0 [required by ctypes-foreign] - install conf-pkg-config 3 [required by ctypes-foreign] - install cppo 1.8.0 [required by ppx_deriving] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.23.0 [required by pg_query] - install ctypes-foreign 0.23.0 [required by pg_query] - install dune 3.17.1 [required by pg_query] - install dune-configurator 3.17.1 [required by ctypes, ctypes-foreign] - install integers 0.7.0 [required by ctypes] - install ocaml-compiler-libs v0.17.0 [required by ppxlib] - install ocamlfind 1.9.6 [required by ppx_deriving] - install pg_query 0.9.7 - install ppx_derivers 1.2.1 [required by ppx_deriving] - install ppx_deriving 6.0.3 [required by pg_query] - install ppxlib 0.34.0 [required by ppx_deriving] - install sexplib0 v0.17.0 [required by ppxlib] - install stdlib-shims 0.3.0 [required by integers, ppxlib] The following system packages will first need to be installed: libffi-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get 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/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19823 files and directories currently installed.) - Preparing to unpack .../base-files_13.6_amd64.deb ... - Unpacking base-files (13.6) over (13) ... - Setting up base-files (13.6) ... - Updating /etc/profile to current default. - Updating /root/.profile to current default. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19834 files and directories currently installed.) - Preparing to unpack .../libc-devtools_2.40-5_amd64.deb ... - Unpacking libc-devtools (2.40-5) over (2.37-13) ... - Preparing to unpack .../libc6-dev_2.40-5_amd64.deb ... - Unpacking libc6-dev:amd64 (2.40-5) over (2.37-13) ... - Preparing to unpack .../libc-dev-bin_2.40-5_amd64.deb ... - Unpacking libc-dev-bin (2.40-5) over (2.37-13) ... - Preparing to unpack .../libc6_2.40-5_amd64.deb ... - Checking for services that may need to be restarted... - Checking init scripts... - Unpacking libc6:amd64 (2.40-5) over (2.37-13) ... - Setting up libc6:amd64 (2.40-5) ... - Checking for services that may need to be restarted... - - Checking init scripts... - Nothing to restart. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19843 files and directories currently installed.) - Preparing to unpack .../libc-bin_2.40-5_amd64.deb ... - Unpacking libc-bin (2.40-5) over (2.37-13) ... - Setting up libc-bin (2.40-5) ... - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19843 files and directories currently installed.) - Preparing to unpack .../libffi8_3.4.6-1_amd64.deb ... - Unpacking libffi8:amd64 (3.4.6-1) over (3.4.4-2) ... - Setting up libffi8:amd64 (3.4.6-1) ... - Selecting previously unselected package libffi-dev:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19843 files and directories currently installed.) - Preparing to unpack .../libffi-dev_3.4.6-1_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.6-1) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-4) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-4) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-4) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-4) ... - Setting up libffi-dev:amd64 (3.4.6-1) ... - Setting up libpkgconf3:amd64 (1.8.1-4) ... - Setting up pkgconf-bin (1.8.1-4) ... - Setting up libc-dev-bin (2.40-5) ... - Setting up libc-devtools (2.40-5) ... - Setting up pkgconf:amd64 (1.8.1-4) ... - Setting up pkg-config:amd64 (1.8.1-4) ... - Setting up libc6-dev:amd64 (2.40-5) ... - Processing triggers for libc-bin (2.40-5) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/55: Processing 2/55: Processing 3/55: Processing 4/55: Processing 5/55: Processing 6/55: [conf-pkg-config: pkg-config] -> retrieved bigarray-compat.1.1.0 (cached) Processing 7/55: [conf-pkg-config: pkg-config] -> retrieved cppo.1.8.0 (cached) Processing 8/55: [conf-pkg-config: pkg-config] -> retrieved cmdliner.1.3.0 (cached) Processing 9/55: [conf-pkg-config: pkg-config] Processing 10/55: [cmdliner: make all] [conf-pkg-config: pkg-config] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/5.2/.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 - --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 - --keep-system-cflags keep -I/usr/include entries in cflags output - --keep-system-libs keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 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 - - 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 10/55: [cmdliner: make all] -> installed conf-pkg-config.3 Processing 11/55: [cmdliner: make all] Processing 12/55: [cmdliner: make all] [conf-libffi: pkg-config libffi] -> retrieved csexp.1.5.2 (cached) Processing 13/55: [cmdliner: make all] [conf-libffi: pkg-config libffi] -> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached) Processing 14/55: [cmdliner: make all] [conf-libffi: pkg-config libffi] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "libffi" (CWD=/home/opam/.opam/5.2/.opam-switch/build/conf-libffi.2.0.0) -> compiled conf-libffi.2.0.0 Processing 14/55: [cmdliner: make all] -> installed conf-libffi.2.0.0 Processing 15/55: [cmdliner: make all] -> retrieved integers.0.7.0 (cached) Processing 16/55: [cmdliner: make all] -> retrieved ocaml-compiler-libs.v0.17.0 (cached) Processing 17/55: [cmdliner: make all] -> retrieved ocamlfind.1.9.6 (cached) Processing 18/55: [cmdliner: make all] [ocamlfind: patch] applying 0001-Harden-test-for-OCaml-5.patch Processing 19/55: [cmdliner: make all] [ocamlfind: patch] -> retrieved pg_query.0.9.7 (cached) Processing 20/55: [cmdliner: make all] [ocamlfind: patch] -> retrieved ppx_derivers.1.2.1 (cached) Processing 21/55: [cmdliner: make all] [ocamlfind: patch] Processing 21/55: [cmdliner: make all] [ocamlfind: ./configure] -> retrieved ppx_deriving.6.0.3 (cached) Processing 22/55: [cmdliner: make all] [ocamlfind: ./configure] -> retrieved sexplib0.v0.17.0 (cached) Processing 23/55: [cmdliner: make all] [ocamlfind: ./configure] -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved ppxlib.0.34.0 (cached) -> retrieved dune.3.17.1, dune-configurator.3.17.1 (cached) Processing 24/55: [cmdliner: make all] [dune: ocaml 71] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" "PREFIX=/home/opam/.opam/5.2" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cmdliner.1.3.0) - ocaml build.ml cma - ocaml build.ml cmxa - ocaml build.ml cmxs -> compiled cmdliner.1.3.0 Processing 24/55: [dune: ocaml 71] [ocamlfind: ./configure] Processing 25/55: [dune: ocaml 71] [ocamlfind: ./configure] [cmdliner: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/5.2/bin" "-sitelib" "/home/opam/.opam/5.2/lib" "-mandir" "/home/opam/.opam/5.2/man" "-config" "/home/opam/.opam/5.2/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6) - Welcome to findlib version 1.9.6 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Checking for ocamlopt -g... - Configuring libraries... - unix: found (in +unix) - dynlink: found (in +dynlink) - bigarray: not present (possible since 4.08) - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: not present (normal since 4.09) - num: not present (normal since 4.06) - ocamlbuild: not present (normal since 4.03) - ocamldoc: found (in +ocamldoc) - raw_spacetime: not present (normal since 4.12) - threads: found (in +threads) - str: found (in +str) - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for bytes written to site-lib-src/bytes/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/5.2/lib/ocaml - Binaries: /home/opam/.opam/5.2/bin - Manual pages: /home/opam/.opam/5.2/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/5.2/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/5.2/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/5.2/bin - Manual pages: /home/opam/.opam/5.2/man - topfind script: /home/opam/.opam/5.2/lib/ocaml - Topfind ppxopt support: yes - Toolbox: no - Link custom runtime: no - Need bytes compatibility: no - - Configuration has been written to Makefile.config - - You can now do 'make all', and optionally 'make opt', to build ocamlfind. Processing 25/55: [dune: ocaml 71] [ocamlfind: make all] [cmdliner: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" "LIBDIR=/home/opam/.opam/5.2/lib/cmdliner" "DOCDIR=/home/opam/.opam/5.2/doc/cmdliner" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cmdliner.1.3.0) - install -d "/home/opam/.opam/5.2/lib/cmdliner" - install pkg/META _build/cmdliner.mli _build/cmdliner.cmi _build/cmdliner.cmti "/home/opam/.opam/5.2/lib/cmdliner" - install cmdliner.opam "/home/opam/.opam/5.2/lib/cmdliner/opam" - install _build/cmdliner.cma "/home/opam/.opam/5.2/lib/cmdliner" - install _build/cmdliner.cmxa _build/cmdliner.a _build/cmdliner.cmx _build/cmdliner_arg.cmx _build/cmdliner_base.cmx _build/cmdliner_cline.cmx _build/cmdliner_cmd.cmx _build/cmdliner_docgen.cmx _build/cmdliner_eval.cmx _build/cmdliner_exit.cmx _build/cmdliner_info.cmx _build/cmdliner_manpage.cmx _build/cmdliner_msg.cmx _build/cmdliner_term.cmx _build/cmdliner_term_deprecated.cmx _build/cmdliner_trie.cmx \ - "/home/opam/.opam/5.2/lib/cmdliner" - install _build/cmdliner.cmxs "/home/opam/.opam/5.2/lib/cmdliner" Processing 25/55: [dune: ocaml 71] [ocamlfind: make all] [cmdliner: make install-doc] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install-doc" "LIBDIR=/home/opam/.opam/5.2/lib/cmdliner" "DOCDIR=/home/opam/.opam/5.2/doc/cmdliner" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cmdliner.1.3.0) - install -d "/home/opam/.opam/5.2/doc/cmdliner/odoc-pages" - install CHANGES.md LICENSE.md README.md "/home/opam/.opam/5.2/doc/cmdliner" - install doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \ - doc/tool_man.mld "/home/opam/.opam/5.2/doc/cmdliner/odoc-pages" -> installed cmdliner.1.3.0 Processing 25/55: [dune: ocaml 71] [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/5.2/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/5.2/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;g' \ - >findlib_config.ml - if [ "true" = "true" ]; then \ - cp topfind.ml.in topfind.ml; \ - else \ - sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ - > topfind.ml ; \ - fi - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c findlib_config.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_split.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_meta.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_metascanner.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_topo.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_topo.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_package_base.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlc -I +compiler-libs -I +unix -I +dynlink -c findlib.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_args.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c ocaml_args.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - -I +unix -I +dynlink ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -I +unix -I +dynlink -c topfind.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c topfind.ml - File "topfind.ml", line 128, characters 40-63: - 128 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 258, characters 4-27: - 258 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 268, characters 4-27: - 268 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 280, characters 4-27: - 280 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 293, characters 4-27: - 293 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 307, characters 4-27: - 307 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 319, characters 4-27: - 319 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/5.2/lib' \ - >topfind - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_dynload.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/5.2/lib' | \ - tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/5.2/lib/ocaml:/home/opam/.opam/5.2/lib' -p >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ - echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ - echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ - echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ - echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ - fi - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6' Processing 25/55: [dune: ocaml 71] [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c findlib_config.ml - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c fl_split.ml - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c fl_metatoken.ml - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c fl_meta.ml - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c fl_metascanner.ml - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c fl_topo.ml - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c fl_args.ml - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c fl_lint.ml - ocamlopt -I +compiler-libs -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c ocaml_args.ml - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -o ocamlfind_opt findlib.cmxa unix.cmxa \ - -I +unix -I +dynlink ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c topfind.ml - File "topfind.ml", line 128, characters 40-63: - 128 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 258, characters 4-27: - 258 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 268, characters 4-27: - 268 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 280, characters 4-27: - 280 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 293, characters 4-27: - 293 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 307, characters 4-27: - 307 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 319, characters 4-27: - 319 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlopt -I +compiler-libs -a -o findlib_top.cmxa topfind.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -shared -o findlib_top.cmxs topfind.cmx; \ - fi - ocamlopt -I +compiler-libs -I +unix -I +dynlink -c fl_dynload.ml - ocamlopt -I +compiler-libs -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' -> compiled ocamlfind.1.9.6 Processing 25/55: [dune: ocaml 71] Processing 26/55: [dune: ocaml 71] [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6) - if [ "0" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/5.2/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/5.2/lib/$x/META"; then \ - rm -f site-lib-src/$x/META; \ - fi; \ - fi; \ - done; \ - test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \ - fi - echo 'SITELIB_META =' > Makefile.packages.in - for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done - tr '\n' ' ' < Makefile.packages.in > Makefile.packages - rm Makefile.packages.in - install -d "/home/opam/.opam/5.2/bin" - install -d "/home/opam/.opam/5.2/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6' - install -d "`dirname \"/home/opam/.opam/5.2/lib/findlib.conf\"`" - test -f "/home/opam/.opam/5.2/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/5.2/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - install -d "/home/opam/.opam/5.2/lib/findlib" - install -d "/home/opam/.opam/5.2/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/5.2/lib/ocaml" - test 1 -eq 0 || install -c topfind "/home/opam/.opam/5.2/lib/ocaml/" - files=` ../../tools/collect_files ../../Makefile.config \ - findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \ - findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \ - fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \ - fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \ - fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \ - findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \ - META` && \ - install -c $files "/home/opam/.opam/5.2/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/5.2/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/5.2/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/5.2/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "/home/opam/.opam/5.2/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6' - for x in bytes ; do install -d "/home/opam/.opam/5.2/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/5.2/lib/$x/META.tmp" && mv "/home/opam/.opam/5.2/lib/$x/META.tmp" "/home/opam/.opam/5.2/lib/$x/META"; done - install -d "/home/opam/.opam/5.2/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/5.2/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/5.2/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6' - install -d "/home/opam/.opam/5.2/man/man1" "/home/opam/.opam/5.2/man/man3" "/home/opam/.opam/5.2/man/man5" - install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/5.2/man/man1" - install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/5.2/man/man5" - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.6' -> installed ocamlfind.1.9.6 Processing 26/55: [dune: ocaml 71] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "71" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.17.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 71 - Processing 26/55: [dune: ./_boot/dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "71" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.17.1) -> compiled dune.3.17.1 -> installed dune.3.17.1 Processing 28/55: [bigarray-compat: dune build] Processing 29/55: [bigarray-compat: dune build] [cppo: dune build] Processing 30/55: [bigarray-compat: dune build] [cppo: dune build] [csexp: dune build] Processing 31/55: [bigarray-compat: dune build] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build] Processing 32/55: [bigarray-compat: dune build] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] Processing 33/55: [bigarray-compat: dune build] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build] Processing 34/55: [bigarray-compat: dune build] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [sexplib0: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppx_derivers" "-j" "71" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ppx_derivers.1.2.1) -> compiled ppx_derivers.1.2.1 Processing 34/55: [bigarray-compat: dune build] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] -> installed ppx_derivers.1.2.1 Processing 35/55: [bigarray-compat: dune build] [cppo: dune build] [csexp: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "71" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/csexp.1.5.2) - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.csexp.objs/byte -intf-suffix .ml -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.2/bin/ocamlopt.opt -w -40 -g -I src/.csexp.objs/byte -I src/.csexp.objs/native -intf-suffix .ml -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 35/55: [bigarray-compat: dune build] [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] -> installed csexp.1.5.2 Processing 36/55: [bigarray-compat: dune build] [cppo: dune build] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] Processing 37/55: [bigarray-compat: dune build] [cppo: dune build] [dune-configurator: rm] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "71" (CWD=/home/opam/.opam/5.2/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 37/55: [cppo: dune build] [dune-configurator: rm] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] -> installed bigarray-compat.1.1.0 Processing 38/55: [cppo: dune build] [dune-configurator: rm] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "sexplib0" "-j" "71" (CWD=/home/opam/.opam/5.2/.opam-switch/build/sexplib0.v0.17.0) -> compiled sexplib0.v0.17.0 Processing 38/55: [cppo: dune build] [dune-configurator: rm] [ocaml-compiler-libs: dune build] [stdlib-shims: dune build] -> installed sexplib0.v0.17.0 Processing 39/55: [cppo: dune build] [dune-configurator: rm] [ocaml-compiler-libs: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "71" (CWD=/home/opam/.opam/5.2/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 39/55: [cppo: dune build] [dune-configurator: rm] [ocaml-compiler-libs: dune build] -> installed stdlib-shims.0.3.0 Processing 40/55: [cppo: dune build] [dune-configurator: rm] [ocaml-compiler-libs: dune build] Processing 41/55: [cppo: dune build] [dune-configurator: rm] [integers: dune build] [ocaml-compiler-libs: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune-configurator.3.17.1) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune-configurator.3.17.1) Processing 41/55: [cppo: dune build] [dune-configurator: dune build] [integers: dune build] [ocaml-compiler-libs: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cppo" "-j" "71" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cppo.1.8.0) -> compiled cppo.1.8.0 Processing 41/55: [dune-configurator: dune build] [integers: dune build] [ocaml-compiler-libs: dune build] -> installed cppo.1.8.0 Processing 42/55: [dune-configurator: dune build] [integers: dune build] [ocaml-compiler-libs: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "integers" "-j" "71" (CWD=/home/opam/.opam/5.2/.opam-switch/build/integers.0.7.0) -> compiled integers.0.7.0 Processing 42/55: [dune-configurator: dune build] [ocaml-compiler-libs: dune build] -> installed integers.0.7.0 Processing 43/55: [dune-configurator: dune build] [ocaml-compiler-libs: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-compiler-libs" "-j" "71" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocaml-compiler-libs.v0.17.0) -> compiled ocaml-compiler-libs.v0.17.0 Processing 43/55: [dune-configurator: dune build] -> installed ocaml-compiler-libs.v0.17.0 Processing 44/55: [dune-configurator: dune build] Processing 45/55: [dune-configurator: dune build] [ppxlib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "71" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune-configurator.3.17.1) -> compiled dune-configurator.3.17.1 Processing 45/55: [ppxlib: dune build] -> installed dune-configurator.3.17.1 Processing 46/55: [ppxlib: dune build] Processing 47/55: [ctypes: dune build] [ppxlib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes" "-j" "71" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ctypes.0.23.0) Processing 47/55: [ctypes: dune install] [ppxlib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ctypes.0.23.0) -> compiled ctypes.0.23.0 Processing 47/55: [ppxlib: dune build] -> installed ctypes.0.23.0 Processing 48/55: [ppxlib: dune build] Processing 49/55: [ctypes-foreign: dune build] [ppxlib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes-foreign" "-j" "71" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ctypes-foreign.0.23.0) Processing 49/55: [ctypes-foreign: dune install] [ppxlib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ctypes-foreign" "--create-install-files" "ctypes-foreign" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ctypes-foreign.0.23.0) -> compiled ctypes-foreign.0.23.0 Processing 49/55: [ppxlib: dune build] -> installed ctypes-foreign.0.23.0 Processing 50/55: [ppxlib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppxlib" "-j" "71" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ppxlib.0.34.0) -> compiled ppxlib.0.34.0 -> installed ppxlib.0.34.0 Processing 52/55: [ppx_deriving: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ppx_deriving" "-j" "71" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ppx_deriving.6.0.3) - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -I src/.ppx_deriving_main.eobjs/byte -I src/.ppx_deriving_main.eobjs/native -I /home/opam/.opam/5.2/lib/findlib -I /home/opam/.opam/5.2/lib/ocaml/dynlink -intf-suffix .ml-gen -no-alias-deps -opaque -o src/.ppx_deriving_main.eobjs/native/findlib_initl.cmx -c -impl src/.ppx_deriving_main.eobjs/findlib_initl.ml-gen) - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Findlib, and its interface was not compiled with -opaque - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -w -27-9 -g -I src/.ppx_deriving_main.eobjs/byte -I src/.ppx_deriving_main.eobjs/native -I /home/opam/.opam/5.2/lib/findlib -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/ocaml/dynlink -I /home/opam/.opam/5.2/lib/ppx_derivers -I /home/opam/.opam/5.2/lib/ppxlib -I /home/opam/.opam/5.2/lib/ppxlib/ast -I /home/opam/.opam/5.2/lib/ppxlib/astlib -I /home/opam/.opam/5.2/lib/ppxlib/print_diff -I /home/opam/.opam/5.2/lib/ppxlib/stdppx -I /home/opam/.opam/5.2/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.2/lib/sexplib0 -I /home/opam/.opam/5.2/lib/stdlib-shims -I src/api/.ppx_deriving_api.objs/byte -I src/api/.ppx_deriving_api.objs/native -intf-suffix .ml -no-alias-deps -o src/.ppx_deriving_main.eobjs/native/ppx_deriving_main.cmx -c -impl src/ppx_deriving_main.pp.ml) - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Findlib, and its interface was not compiled with -opaque - - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Fl_dynload, and its interface was not compiled with -opaque -> compiled ppx_deriving.6.0.3 -> installed ppx_deriving.6.0.3 Processing 54/55: [pg_query: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "pg_query" "-j" "71" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/pg_query.0.9.7) - File "dune-project", line 1, characters 11-16: - 1 | (lang dune 2.0.1) - ^^^^^ - Warning: The ".1" part is ignored here. - This version is parsed as just 2.0. - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I bin/.pg_check.eobjs/byte -I /home/opam/.opam/5.2/lib/bigarray-compat -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/ctypes -I /home/opam/.opam/5.2/lib/ctypes-foreign -I /home/opam/.opam/5.2/lib/integers -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ppx_deriving/runtime -I /home/opam/.opam/5.2/lib/stdlib-shims -I lib/.pg_query.objs/byte -no-alias-deps -o bin/.pg_check.eobjs/byte/dune__exe__Pg_check.cmo -c -impl bin/pg_check.ml) - File "bin/pg_check.ml", line 47, characters 2-11: - 47 | Term.info "pg_check" - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.info - Use Cmd.info instead. - - File "bin/pg_check.ml", line 51, characters 6-15: - 51 | exit_info 0 ~doc:"if all files were parsed successfully."; - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit_info - Use Cmd.Exit.info instead. - - File "bin/pg_check.ml", line 52, characters 6-15: - 52 | exit_info 1 ~doc:"on parsing errors."; - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit_info - Use Cmd.Exit.info instead. - - File "bin/pg_check.ml", line 53, characters 6-15: - 53 | exit_info 124 ~doc:"on command line parsing errors."; - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit_info - Use Cmd.Exit.info instead. - - File "bin/pg_check.ml", line 54, characters 6-15: - 54 | exit_info 125 ~doc:"on unexpected internal errors."; - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit_info - Use Cmd.Exit.info instead. - - File "bin/pg_check.ml", line 64, characters 9-18: - 64 | let () = Term.exit @@ Term.eval (cmd, info) - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit - Use Stdlib.exit and Cmd.eval instead. - - File "bin/pg_check.ml", line 64, characters 22-31: - 64 | let () = Term.exit @@ Term.eval (cmd, info) - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.eval - Use Cmd.v and one of Cmd.eval* instead. - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I bin/.pg_check.eobjs/byte -I bin/.pg_check.eobjs/native -I /home/opam/.opam/5.2/lib/bigarray-compat -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/ctypes -I /home/opam/.opam/5.2/lib/ctypes-foreign -I /home/opam/.opam/5.2/lib/integers -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ppx_deriving/runtime -I /home/opam/.opam/5.2/lib/stdlib-shims -I lib/.pg_query.objs/byte -I lib/.pg_query.objs/native -intf-suffix .ml -no-alias-deps -o bin/.pg_check.eobjs/native/dune__exe__Pg_check.cmx -c -impl bin/pg_check.ml) - File "bin/pg_check.ml", line 47, characters 2-11: - 47 | Term.info "pg_check" - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.info - Use Cmd.info instead. - - File "bin/pg_check.ml", line 51, characters 6-15: - 51 | exit_info 0 ~doc:"if all files were parsed successfully."; - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit_info - Use Cmd.Exit.info instead. - - File "bin/pg_check.ml", line 52, characters 6-15: - 52 | exit_info 1 ~doc:"on parsing errors."; - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit_info - Use Cmd.Exit.info instead. - - File "bin/pg_check.ml", line 53, characters 6-15: - 53 | exit_info 124 ~doc:"on command line parsing errors."; - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit_info - Use Cmd.Exit.info instead. - - File "bin/pg_check.ml", line 54, characters 6-15: - 54 | exit_info 125 ~doc:"on unexpected internal errors."; - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit_info - Use Cmd.Exit.info instead. - - File "bin/pg_check.ml", line 64, characters 9-18: - 64 | let () = Term.exit @@ Term.eval (cmd, info) - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.exit - Use Stdlib.exit and Cmd.eval instead. - - File "bin/pg_check.ml", line 64, characters 22-31: - 64 | let () = Term.exit @@ Term.eval (cmd, info) - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.eval - Use Cmd.v and one of Cmd.eval* instead. [ERROR] The compilation of pg_query.0.9.7 failed at "dune build -p pg_query -j 71 @install". #=== ERROR while compiling pg_query.0.9.7 =====================================# # context 2.2.0~alpha4~dev | linux/x86_64 | ocaml-base-compiler.5.2.0 | file:///home/opam/opam-repository # path ~/.opam/5.2/.opam-switch/build/pg_query.0.9.7 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p pg_query -j 71 @install # exit-code 1 # env-file ~/.opam/log/pg_query-8-ad1cfc.env # output-file ~/.opam/log/pg_query-8-ad1cfc.out ### output ### # File "dune-project", line 1, characters 11-16: # 1 | (lang dune 2.0.1) # ^^^^^ # Warning: The ".1" part is ignored here. # This version is parsed as just 2.0. # (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I bin/.pg_check.eobjs/byte -I /home/opam/.opam/5.2/lib/bigarray-compat -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/ctypes -I /home/opam/.opam/5.2/lib/ctypes-foreign -I /home/opam/.opam/5.2/lib/integers -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ppx_deriving/runtime -I /home/opam/.opam/5.2/lib/stdlib-shims -I lib/.pg_query.objs/byte -no-alias-deps -o bin/.pg_check.eobjs/byte/dune__exe__Pg_check.cmo -c -impl bin/pg_check.ml) # File "bin/pg_check.ml", line 47, characters 2-11: # 47 | Term.info "pg_check" # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.info # Use Cmd.info instead. # # File "bin/pg_check.ml", line 51, characters 6-15: # 51 | exit_info 0 ~doc:"if all files were parsed successfully."; # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit_info # Use Cmd.Exit.info instead. # # File "bin/pg_check.ml", line 52, characters 6-15: # 52 | exit_info 1 ~doc:"on parsing errors."; # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit_info # Use Cmd.Exit.info instead. # # File "bin/pg_check.ml", line 53, characters 6-15: # 53 | exit_info 124 ~doc:"on command line parsing errors."; # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit_info # Use Cmd.Exit.info instead. # # File "bin/pg_check.ml", line 54, characters 6-15: # 54 | exit_info 125 ~doc:"on unexpected internal errors."; # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit_info # Use Cmd.Exit.info instead. # # File "bin/pg_check.ml", line 64, characters 9-18: # 64 | let () = Term.exit @@ Term.eval (cmd, info) # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit # Use Stdlib.exit and Cmd.eval instead. # # File "bin/pg_check.ml", line 64, characters 22-31: # 64 | let () = Term.exit @@ Term.eval (cmd, info) # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.eval # Use Cmd.v and one of Cmd.eval* instead. # (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I bin/.pg_check.eobjs/byte -I bin/.pg_check.eobjs/native -I /home/opam/.opam/5.2/lib/bigarray-compat -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/ctypes -I /home/opam/.opam/5.2/lib/ctypes-foreign -I /home/opam/.opam/5.2/lib/integers -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ppx_deriving/runtime -I /home/opam/.opam/5.2/lib/stdlib-shims -I lib/.pg_query.objs/byte -I lib/.pg_query.objs/native -intf-suffix .ml -no-alias-deps -o bin/.pg_check.eobjs/native/dune__exe__Pg_check.cmx -c -impl bin/pg_check.ml) # File "bin/pg_check.ml", line 47, characters 2-11: # 47 | Term.info "pg_check" # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.info # Use Cmd.info instead. # # File "bin/pg_check.ml", line 51, characters 6-15: # 51 | exit_info 0 ~doc:"if all files were parsed successfully."; # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit_info # Use Cmd.Exit.info instead. # # File "bin/pg_check.ml", line 52, characters 6-15: # 52 | exit_info 1 ~doc:"on parsing errors."; # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit_info # Use Cmd.Exit.info instead. # # File "bin/pg_check.ml", line 53, characters 6-15: # 53 | exit_info 124 ~doc:"on command line parsing errors."; # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit_info # Use Cmd.Exit.info instead. # # File "bin/pg_check.ml", line 54, characters 6-15: # 54 | exit_info 125 ~doc:"on unexpected internal errors."; # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit_info # Use Cmd.Exit.info instead. # # File "bin/pg_check.ml", line 64, characters 9-18: # 64 | let () = Term.exit @@ Term.eval (cmd, info) # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.exit # Use Stdlib.exit and Cmd.eval instead. # # File "bin/pg_check.ml", line 64, characters 22-31: # 64 | let () = Term.exit @@ Term.eval (cmd, info) # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.eval # Use Cmd.v and one of Cmd.eval* instead. # File "lib/libpg_query/dune", lines 1-4, characters 0-82: # 1 | (rule # 2 | (deps (source_tree .)) # 3 | (targets libpg_query.a) # 4 | (action (run %{make} build))) # (cd _build/default/lib/libpg_query && /usr/bin/gmake build) # compiling src/pg_query.c # compiling src/pg_query_deparse.c # compiling src/pg_query_fingerprint.c # compiling src/pg_query_json_plpgsql.c # compiling src/pg_query_normalize.c # compiling src/pg_query_outfuncs_json.c # compiling src/pg_query_outfuncs_protobuf.c # compiling src/pg_query_parse.c # compiling src/pg_query_parse_plpgsql.c # compiling src/pg_query_readfuncs_protobuf.c # Warning: protoc-gen-c not found, skipping protocol buffer regeneration # compiling src/pg_query_scan.c # compiling src/pg_query_split.c # compiling src/postgres/src_backend_catalog_namespace.c # compiling src/postgres/src_backend_catalog_pg_proc.c # compiling src/postgres/src_backend_commands_define.c # compiling src/postgres/src_backend_libpq_pqcomm.c # compiling src/postgres/src_backend_nodes_bitmapset.c # compiling src/postgres/src_backend_nodes_copyfuncs.c # compiling src/postgres/src_backend_nodes_equalfuncs.c # compiling src/postgres/src_backend_nodes_extensible.c # compiling src/postgres/src_backend_nodes_list.c # compiling src/postgres/src_backend_nodes_makefuncs.c # compiling src/postgres/src_backend_nodes_nodeFuncs.c # compiling src/postgres/src_backend_nodes_value.c # compiling src/postgres/src_backend_parser_gram.c # compiling src/postgres/src_backend_parser_parse_expr.c # compiling src/postgres/src_backend_parser_parser.c # compiling src/postgres/src_backend_parser_scan.c # compiling src/postgres/src_backend_parser_scansup.c # compiling src/postgres/src_backend_postmaster_postmaster.c # compiling src/postgres/src_backend_storage_ipc_ipc.c # compiling src/postgres/src_backend_storage_lmgr_s_lock.c # compiling src/postgres/src_backend_tcop_postgres.c # compiling src/postgres/src_backend_utils_adt_datum.c # compiling src/postgres/src_backend_utils_adt_expandeddatum.c # compiling src/postgres/src_backend_utils_adt_format_type.c # compiling src/postgres/src_backend_utils_adt_ruleutils.c # compiling src/postgres/src_backend_utils_error_assert.c # compiling src/postgres/src_backend_utils_error_elog.c # compiling src/postgres/src_backend_utils_fmgr_fmgr.c # compiling src/postgres/src_backend_utils_hash_dynahash.c # compiling src/postgres/src_backend_utils_init_globals.c # compiling src/postgres/src_backend_utils_mb_mbutils.c # compiling src/postgres/src_backend_utils_misc_guc.c # compiling src/postgres/src_backend_utils_mmgr_aset.c # compiling src/postgres/src_backend_utils_mmgr_mcxt.c # compiling src/postgres/src_common_encnames.c # compiling src/postgres/src_common_keywords.c # compiling src/postgres/src_common_kwlookup.c # compiling src/postgres/src_common_psprintf.c # compiling src/postgres/src_common_string.c # compiling src/postgres/src_common_stringinfo.c # compiling src/postgres/src_common_wchar.c # compiling src/postgres/src_pl_plpgsql_src_pl_comp.c # compiling src/postgres/src_pl_plpgsql_src_pl_funcs.c # compiling src/postgres/src_pl_plpgsql_src_pl_gram.c # compiling src/postgres/src_pl_plpgsql_src_pl_handler.c # compiling src/postgres/src_pl_plpgsql_src_pl_scanner.c # compiling src/postgres/src_port_erand48.c # compiling src/postgres/src_port_pg_bitutils.c # compiling src/postgres/src_port_pgsleep.c # compiling src/postgres/src_port_pgstrcasecmp.c # compiling src/postgres/src_port_qsort.c # compiling src/postgres/src_port_random.c # compiling src/postgres/src_port_snprintf.c # src/postgres/src_port_snprintf.c:374:1: error: conflicting types for 'strchrnul'; have 'const char *(const char *, int)' # 374 | strchrnul(const char *s, int c) # | ^~~~~~~~~ # In file included from ./src/postgres/include/c.h:61, # from src/postgres/src_port_snprintf.c:62: # /usr/include/string.h:286:14: note: previous declaration of 'strchrnul' with type 'char *(const char *, int)' # 286 | extern char *strchrnul (const char *__s, int __c) # | ^~~~~~~~~ # gmake: *** [Makefile:140: src/postgres/src_port_snprintf.o] Error 1 - File "lib/libpg_query/dune", lines 1-4, characters 0-82: - 1 | (rule - 2 | (deps (source_tree .)) - 3 | (targets libpg_query.a) - 4 | (action (run %{make} build))) - (cd _build/default/lib/libpg_query && /usr/bin/gmake build) - compiling src/pg_query.c - compiling src/pg_query_deparse.c - compiling src/pg_query_fingerprint.c - compiling src/pg_query_json_plpgsql.c - compiling src/pg_query_normalize.c - compiling src/pg_query_outfuncs_json.c - compiling src/pg_query_outfuncs_protobuf.c - compiling src/pg_query_parse.c - compiling src/pg_query_parse_plpgsql.c - compiling src/pg_query_readfuncs_protobuf.c - Warning: protoc-gen-c not found, skipping protocol buffer regeneration - compiling src/pg_query_scan.c - compiling src/pg_query_split.c - compiling src/postgres/src_backend_catalog_namespace.c - compiling src/postgres/src_backend_catalog_pg_proc.c - compiling src/postgres/src_backend_commands_define.c - compiling src/postgres/src_backend_libpq_pqcomm.c - compiling src/postgres/src_backend_nodes_bitmapset.c - compiling src/postgres/src_backend_nodes_copyfuncs.c - compiling src/postgres/src_backend_nodes_equalfuncs.c - compiling src/postgres/src_backend_nodes_extensible.c - compiling src/postgres/src_backend_nodes_list.c - compiling src/postgres/src_backend_nodes_makefuncs.c - compiling src/postgres/src_backend_nodes_nodeFuncs.c - compiling src/postgres/src_backend_nodes_value.c - compiling src/postgres/src_backend_parser_gram.c - compiling src/postgres/src_backend_parser_parse_expr.c - compiling src/postgres/src_backend_parser_parser.c - compiling src/postgres/src_backend_parser_scan.c - compiling src/postgres/src_backend_parser_scansup.c - compiling src/postgres/src_backend_postmaster_postmaster.c - compiling src/postgres/src_backend_storage_ipc_ipc.c - compiling src/postgres/src_backend_storage_lmgr_s_lock.c - compiling src/postgres/src_backend_tcop_postgres.c - compiling src/postgres/src_backend_utils_adt_datum.c - compiling src/postgres/src_backend_utils_adt_expandeddatum.c - compiling src/postgres/src_backend_utils_adt_format_type.c - compiling src/postgres/src_backend_utils_adt_ruleutils.c - compiling src/postgres/src_backend_utils_error_assert.c - compiling src/postgres/src_backend_utils_error_elog.c - compiling src/postgres/src_backend_utils_fmgr_fmgr.c - compiling src/postgres/src_backend_utils_hash_dynahash.c - compiling src/postgres/src_backend_utils_init_globals.c - compiling src/postgres/src_backend_utils_mb_mbutils.c - compiling src/postgres/src_backend_utils_misc_guc.c - compiling src/postgres/src_backend_utils_mmgr_aset.c - compiling src/postgres/src_backend_utils_mmgr_mcxt.c - compiling src/postgres/src_common_encnames.c - compiling src/postgres/src_common_keywords.c - compiling src/postgres/src_common_kwlookup.c - compiling src/postgres/src_common_psprintf.c - compiling src/postgres/src_common_string.c - compiling src/postgres/src_common_stringinfo.c - compiling src/postgres/src_common_wchar.c - compiling src/postgres/src_pl_plpgsql_src_pl_comp.c - compiling src/postgres/src_pl_plpgsql_src_pl_funcs.c - compiling src/postgres/src_pl_plpgsql_src_pl_gram.c - compiling src/postgres/src_pl_plpgsql_src_pl_handler.c - compiling src/postgres/src_pl_plpgsql_src_pl_scanner.c - compiling src/postgres/src_port_erand48.c - compiling src/postgres/src_port_pg_bitutils.c - compiling src/postgres/src_port_pgsleep.c - compiling src/postgres/src_port_pgstrcasecmp.c - compiling src/postgres/src_port_qsort.c - compiling src/postgres/src_port_random.c - compiling src/postgres/src_port_snprintf.c - src/postgres/src_port_snprintf.c:374:1: error: conflicting types for 'strchrnul'; have 'const char *(const char *, int)' - 374 | strchrnul(const char *s, int c) - | ^~~~~~~~~ - In file included from ./src/postgres/include/c.h:61, - from src/postgres/src_port_snprintf.c:62: - /usr/include/string.h:286:14: note: previous declaration of 'strchrnul' with type 'char *(const char *, int)' - 286 | extern char *strchrnul (const char *__s, int __c) - | ^~~~~~~~~ - gmake: *** [Makefile:140: src/postgres/src_port_snprintf.o] Error 1 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build pg_query 0.9.7 +- +- The following changes have been performed | - install bigarray-compat 1.1.0 | - install cmdliner 1.3.0 | - install conf-libffi 2.0.0 | - install conf-pkg-config 3 | - install cppo 1.8.0 | - install csexp 1.5.2 | - install ctypes 0.23.0 | - install ctypes-foreign 0.23.0 | - install dune 3.17.1 | - install dune-configurator 3.17.1 | - install integers 0.7.0 | - install ocaml-compiler-libs v0.17.0 | - install ocamlfind 1.9.6 | - install ppx_derivers 1.2.1 | - install ppx_deriving 6.0.3 | - install ppxlib 0.34.0 | - install sexplib0 v0.17.0 | - install stdlib-shims 0.3.0 +- # Run eval $(opam env) to update the current shell environment The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/5.2/.opam-switch/backup/state-20250115190408.export" 'opam install -vy pg_query.0.9.7' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "pg_query.0.9.7" opam install -vy "pg_query.0.9.7" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "pg_query.0.9.7" | grep -q '"debian-unstable"'; 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 31 Failed: Build failed