Building on x86-bm-c3.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam eeef78c87a1b: Pulling fs layer eeef78c87a1b: Verifying Checksum eeef78c87a1b: Download complete eeef78c87a1b: Pull complete Digest: sha256:a708df2d96414c61dc47c9f06e6c2d22e9a6350ad772417bd0e7a3550e440e73 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-08-05 05:50.18 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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/bin/opam-dev /usr/bin/opam")) 2024-08-05 05:50.18 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 fe8dffac61bbab376897c0f4e7cc5b7b8c4eecc1")) 2024-08-05 05:50.18 ---> using "828e9194b01b44f44dbe3a17fa70d9df857e6edbfbc28830335e417ee457f303" 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 User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2024-08-05 05:50.18 ---> using "e4c5e8d9ee051813ad71799bcfd0cce33f59a36ff0befb5e5fbb9434b383bc16" 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 2024-08-05 05:50.18 ---> using "44557c519dcb0a98d2187ae082639613b6affcc04630a7fbe43979079c9518ed" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [198 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB] - Fetched 758 kB in 4s (194 kB/s) - Reading package lists... - 2024-08-05 05:50.18 ---> using "60e429f741cfa5b2c6876c6bc2125784d8047ba9ce99c12c9c2fbe936bb2acdb" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"mpg123.0.3\"\ \nopam install -vy \"mpg123.0.3\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"mpg123.0.3\" | 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")) [NOTE] mpg123.0.3 is not installed. Nothing to do. The following actions will be performed: === install 12 packages - install bigarray-compat 1.1.0 [required by ctypes] - install conf-libffi 2.0.0 [required by ctypes-foreign] - install conf-libmpg123 1 [required by mpg123] - install conf-pkg-config 3 [required by mpg123] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.22.0 [required by mpg123] - install ctypes-foreign 0.22.0 [required by mpg123] - install dune 3.16.0 [required by mpg123] - install dune-configurator 3.16.0 [required by mpg123] - install integers 0.7.0 [required by ctypes] - install mpg123 0.3 - install stdlib-shims 0.3.0 [required by integers] The following system packages will first need to be installed: libffi-dev libmpg123-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" "libmpg123-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - 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 ... 19456 files and directories currently installed.) - Preparing to unpack .../0-libffi-dev_3.4.6-1_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.6-1) ... - Selecting previously unselected package libmpg123-0t64:amd64. - Preparing to unpack .../1-libmpg123-0t64_1.32.6-3_amd64.deb ... - Unpacking libmpg123-0t64:amd64 (1.32.6-3) ... - Selecting previously unselected package libout123-0t64:amd64. - Preparing to unpack .../2-libout123-0t64_1.32.6-3_amd64.deb ... - Unpacking libout123-0t64:amd64 (1.32.6-3) ... - Selecting previously unselected package libsyn123-0t64:amd64. - Preparing to unpack .../3-libsyn123-0t64_1.32.6-3_amd64.deb ... - Unpacking libsyn123-0t64:amd64 (1.32.6-3) ... - Selecting previously unselected package libmpg123-dev:amd64. - Preparing to unpack .../4-libmpg123-dev_1.32.6-3_amd64.deb ... - Unpacking libmpg123-dev:amd64 (1.32.6-3) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../5-libpkgconf3_1.8.1-3_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-3) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../6-pkgconf-bin_1.8.1-3_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-3) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../7-pkgconf_1.8.1-3_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-3) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../8-pkg-config_1.8.1-3_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-3) ... - Setting up libmpg123-0t64:amd64 (1.32.6-3) ... - Setting up libffi-dev:amd64 (3.4.6-1) ... - Setting up libpkgconf3:amd64 (1.8.1-3) ... - Setting up libsyn123-0t64:amd64 (1.32.6-3) ... - Setting up pkgconf-bin (1.8.1-3) ... - Setting up libout123-0t64:amd64 (1.32.6-3) ... - Setting up libmpg123-dev:amd64 (1.32.6-3) ... - Setting up pkgconf:amd64 (1.8.1-3) ... - Setting up pkg-config:amd64 (1.8.1-3) ... - Processing triggers for libc-bin (2.39-6) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/34: [bigarray-compat.1.1.0: extract] Processing 2/34: [bigarray-compat.1.1.0: extract] Processing 3/34: [bigarray-compat.1.1.0: extract] Processing 4/34: [bigarray-compat.1.1.0: extract] Processing 5/34: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] Processing 6/34: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.22.0, ctypes-foreign.0.22.0: extract] Processing 7/34: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.22.0, ctypes-foreign.0.22.0: extract] [conf-pkg-config: pkg-config] -> retrieved bigarray-compat.1.1.0 (cached) Processing 7/34: [csexp.1.5.2: extract] [ctypes.0.22.0, ctypes-foreign.0.22.0: extract] [conf-pkg-config: pkg-config] Processing 8/34: [csexp.1.5.2: extract] [ctypes.0.22.0, ctypes-foreign.0.22.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-pkg-config: pkg-config] -> retrieved csexp.1.5.2 (cached) Processing 8/34: [ctypes.0.22.0, ctypes-foreign.0.22.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [conf-pkg-config: pkg-config] Processing 9/34: [ctypes.0.22.0, ctypes-foreign.0.22.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] [conf-pkg-config: pkg-config] -> retrieved ctypes.0.22.0, ctypes-foreign.0.22.0 (cached) Processing 9/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] [conf-pkg-config: pkg-config] Processing 10/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] [mpg123.0.3: http] [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/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] [mpg123.0.3: http] -> installed conf-pkg-config.3 Processing 11/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] [mpg123.0.3: http] Processing 12/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] [mpg123.0.3: http] [conf-libffi: pkg-config libffi] Processing 13/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] [mpg123.0.3: http] [conf-libffi: pkg-config libffi] [conf-libmpg123: pkg-config libmpg123] -> retrieved integers.0.7.0 (cached) Processing 13/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [mpg123.0.3: http] [conf-libffi: pkg-config libffi] [conf-libmpg123: pkg-config libmpg123] Processing 14/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [mpg123.0.3: http] [stdlib-shims.0.3.0: extract] [conf-libffi: pkg-config libffi] [conf-libmpg123: pkg-config libmpg123] -> retrieved stdlib-shims.0.3.0 (cached) Processing 14/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [mpg123.0.3: http] [conf-libffi: pkg-config libffi] [conf-libmpg123: pkg-config libmpg123] + /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/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [mpg123.0.3: http] [conf-libmpg123: pkg-config libmpg123] -> installed conf-libffi.2.0.0 Processing 15/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [mpg123.0.3: http] [conf-libmpg123: pkg-config libmpg123] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--exists" "libmpg123" (CWD=/home/opam/.opam/5.2/.opam-switch/build/conf-libmpg123.1) -> compiled conf-libmpg123.1 Processing 15/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [mpg123.0.3: http] -> installed conf-libmpg123.1 Processing 16/34: [dune.3.16.0, dune-configurator.3.16.0: extract] [mpg123.0.3: http] -> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached) Processing 16/34: [mpg123.0.3: http] Processing 17/34: [mpg123.0.3: http] [dune: ocaml 39] Processing 17/34: [mpg123.0.3: extract] [dune: ocaml 39] -> retrieved mpg123.0.3 (https://github.com/mbacarella/mpg123/archive/0.3.tar.gz) Processing 17/34: [dune: ocaml 39] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.16.0) - 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 39 - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads stdune.ml - File "otherlibs/stdune/src/stdune.ml", line 1, characters 4-9: - Warning 53 [misplaced-attribute]: the "alert" attribute cannot appear in this context - Processing 17/34: [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" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 Processing 19/34: [bigarray-compat: dune build] Processing 20/34: [bigarray-compat: dune build] [csexp: dune build] Processing 21/34: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "39" "@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 21/34: [bigarray-compat: dune build] [stdlib-shims: dune build] -> installed csexp.1.5.2 Processing 22/34: [bigarray-compat: dune build] [stdlib-shims: dune build] Processing 23/34: [bigarray-compat: dune build] [dune-configurator: rm] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 23/34: [dune-configurator: rm] [stdlib-shims: dune build] -> installed bigarray-compat.1.1.0 Processing 24/34: [dune-configurator: rm] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 24/34: [dune-configurator: rm] -> installed stdlib-shims.0.3.0 Processing 25/34: [dune-configurator: rm] Processing 26/34: [dune-configurator: rm] [integers: 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.16.0) + /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.16.0) Processing 26/34: [dune-configurator: dune build] [integers: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "integers" "-j" "39" (CWD=/home/opam/.opam/5.2/.opam-switch/build/integers.0.7.0) -> compiled integers.0.7.0 Processing 26/34: [dune-configurator: dune build] -> installed integers.0.7.0 Processing 27/34: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "39" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune-configurator.3.16.0) -> compiled dune-configurator.3.16.0 -> installed dune-configurator.3.16.0 Processing 29/34: [ctypes: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes" "-j" "39" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ctypes.0.22.0) Processing 29/34: [ctypes: dune install] + /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.22.0) -> compiled ctypes.0.22.0 -> installed ctypes.0.22.0 Processing 31/34: [ctypes-foreign: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes-foreign" "-j" "39" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ctypes-foreign.0.22.0) Processing 31/34: [ctypes-foreign: dune install] + /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.22.0) -> compiled ctypes-foreign.0.22.0 -> installed ctypes-foreign.0.22.0 Processing 33/34: [mpg123: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mpg123" "-j" "39" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/mpg123.0.3) - File "c/dune", line 66, characters 11-32: - 66 | (names c_generated_functions) - ^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/c && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -I/usr/include/x86_64-linux-gnu -g -I /home/opam/.opam/5.2/lib/ocaml -I /home/opam/.opam/5.2/lib/bigarray-compat -I /home/opam/.opam/5.2/lib/ctypes -I /home/opam/.opam/5.2/lib/integers -I /home/opam/.opam/5.2/lib/stdlib-shims -I . -o c_generated_functions.o -c c_generated_functions.c) - c_generated_functions.c: In function 'mpg123_stub_5_mpg123_plain_strerror': - c_generated_functions.c:48:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 48 | char* x29 = mpg123_plain_strerror(x26); - | ^~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'mpg123_stub_6_mpg123_strerror': - c_generated_functions.c:58:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 58 | char* x35 = mpg123_strerror(x34); - | ^~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'mpg123_stub_8_mpg123_decoders': - c_generated_functions.c:77:17: error: initialization of 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] - 77 | char** x46 = mpg123_decoders(); - | ^~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'mpg123_stub_9_mpg123_supported_decoders': - c_generated_functions.c:86:17: error: initialization of 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] - 86 | char** x51 = mpg123_supported_decoders(); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'mpg123_stub_11_mpg123_current_decoder': - c_generated_functions.c:107:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 107 | char* x65 = mpg123_current_decoder(x64); - | ^~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'mpg123_stub_14_mpg123_read': - c_generated_functions.c:141:41: error: passing argument 4 of 'mpg123_read' from incompatible pointer type [-Wincompatible-pointer-types] - 141 | int x93 = mpg123_read(x87, x88, x89, x92); - | ^~~ - | | - | int * - In file included from c_generated_functions.c:1: - /usr/include/x86_64-linux-gnu/mpg123.h:828:53: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' - 828 | , void *outmemory, size_t outmemsize, size_t *done ); - | ~~~~~~~~^~~~ - c_generated_functions.c: In function 'mpg123_stub_20_mpg123_getformat': - c_generated_functions.c:207:38: error: passing argument 2 of 'mpg123_getformat' from incompatible pointer type [-Wincompatible-pointer-types] - 207 | int x139 = mpg123_getformat(x135, x136, x137, x138); - | ^~~~ - | | - | int * - /usr/include/x86_64-linux-gnu/mpg123.h:692:15: note: expected 'long int *' but argument is of type 'int *' - 692 | , long *rate, int *channels, int *encoding ); - | ~~~~~~^~~~ [ERROR] The compilation of mpg123.0.3 failed at "dune build -p mpg123 -j 39 @install". #=== ERROR while compiling mpg123.0.3 =========================================# # context 2.3.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.2.0 | file:///home/opam/opam-repository # path ~/.opam/5.2/.opam-switch/build/mpg123.0.3 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p mpg123 -j 39 @install # exit-code 1 # env-file ~/.opam/log/mpg123-8-305199.env # output-file ~/.opam/log/mpg123-8-305199.out ### output ### # File "c/dune", line 66, characters 11-32: # 66 | (names c_generated_functions) # ^^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/c && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -I/usr/include/x86_64-linux-gnu -g -I /home/opam/.opam/5.2/lib/ocaml -I /home/opam/.opam/5.2/lib/bigarray-compat -I /home/opam/.opam/5.2/lib/ctypes -I /home/opam/.opam/5.2/lib/integers -I /home/opam/.opam/5.2/lib/stdlib-shims -I . -o c_generated_functions.o -c c_generated_functions.c) # c_generated_functions.c: In function 'mpg123_stub_5_mpg123_plain_strerror': # c_generated_functions.c:48:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 48 | char* x29 = mpg123_plain_strerror(x26); # | ^~~~~~~~~~~~~~~~~~~~~ # c_generated_functions.c: In function 'mpg123_stub_6_mpg123_strerror': # c_generated_functions.c:58:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 58 | char* x35 = mpg123_strerror(x34); # | ^~~~~~~~~~~~~~~ # c_generated_functions.c: In function 'mpg123_stub_8_mpg123_decoders': # c_generated_functions.c:77:17: error: initialization of 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] # 77 | char** x46 = mpg123_decoders(); # | ^~~~~~~~~~~~~~~ # c_generated_functions.c: In function 'mpg123_stub_9_mpg123_supported_decoders': # c_generated_functions.c:86:17: error: initialization of 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] # 86 | char** x51 = mpg123_supported_decoders(); # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # c_generated_functions.c: In function 'mpg123_stub_11_mpg123_current_decoder': # c_generated_functions.c:107:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 107 | char* x65 = mpg123_current_decoder(x64); # | ^~~~~~~~~~~~~~~~~~~~~~ # c_generated_functions.c: In function 'mpg123_stub_14_mpg123_read': # c_generated_functions.c:141:41: error: passing argument 4 of 'mpg123_read' from incompatible pointer type [-Wincompatible-pointer-types] # 141 | int x93 = mpg123_read(x87, x88, x89, x92); # | ^~~ # | | # | int * # In file included from c_generated_functions.c:1: # /usr/include/x86_64-linux-gnu/mpg123.h:828:53: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' # 828 | , void *outmemory, size_t outmemsize, size_t *done ); # | ~~~~~~~~^~~~ # c_generated_functions.c: In function 'mpg123_stub_20_mpg123_getformat': # c_generated_functions.c:207:38: error: passing argument 2 of 'mpg123_getformat' from incompatible pointer type [-Wincompatible-pointer-types] # 207 | int x139 = mpg123_getformat(x135, x136, x137, x138); # | ^~~~ # | | # | int * # /usr/include/x86_64-linux-gnu/mpg123.h:692:15: note: expected 'long int *' but argument is of type 'int *' # 692 | , long *rate, int *channels, int *encoding ); # | ~~~~~~^~~~ <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build mpg123 0.3 +- +- The following changes have been performed | - install bigarray-compat 1.1.0 | - install conf-libffi 2.0.0 | - install conf-libmpg123 1 | - install conf-pkg-config 3 | - install csexp 1.5.2 | - install ctypes 0.22.0 | - install ctypes-foreign 0.22.0 | - install dune 3.16.0 | - install dune-configurator 3.16.0 | - install integers 0.7.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-20240805055019.export" 'opam install -vy mpg123.0.3' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "mpg123.0.3" opam install -vy "mpg123.0.3" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "mpg123.0.3" | 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