New issue by paper42 on void-packages repository https://github.com/void-linux/void-packages/issues/37614 Description: zeroinstall build fails on all architectures, this is a log from aarch64-musl, but I had a similar issue on x86_64 and x86_64-musl. ``` => xbps-src: updating repositories for host (aarch64-musl)... [*] Updating repository `https://repo-default.voidlinux.org/current/aarch64/aarch64-musl-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/aarch64/nonfree/aarch64-musl-repodata' ... [*] Updating repository `https://repo-default.voidlinux.org/current/aarch64/debug/aarch64-musl-repodata' ... => xbps-src: updating software in / masterdir... => xbps-src: cleaning up / masterdir... => zeroinstall-2.17_6: removing autodeps, please wait... => zeroinstall-2.17_6: building [gnu-makefile] for aarch64-musl... [host] gettext-0.21_4: found (https://repo-default.voidlinux.org/current/aarch64) [host] ocaml-4.14.0_2: found (/host/binpkgs) [host] opam-2.1.2_2: found (/host/binpkgs) [host] m4-1.4.18_2: found (https://repo-default.voidlinux.org/current/aarch64) [host] tar-1.34_2: found (https://repo-default.voidlinux.org/current/aarch64) [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current/aarch64) [host] which-2.21_3: found (https://repo-default.voidlinux.org/current/aarch64) [target] openssl-devel-1.1.1n_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] libcurl-devel-7.83.1_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] gnupg-2.2.34_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] glib-devel-2.72.0_1: found (https://repo-default.voidlinux.org/current/aarch64) [target] gtk+3-devel-3.24.34_1: found (https://repo-default.voidlinux.org/current/aarch64) [runtime] gnupg-2.2.34_1: found (https://repo-default.voidlinux.org/current/aarch64) [runtime] desktop-file-utils-0.26_1: found (https://repo-default.voidlinux.org/current/aarch64) [runtime] hicolor-icon-theme-0.17_3: found (https://repo-default.voidlinux.org/current/aarch64) [runtime] xdg-utils-1.1.3_4: found (https://repo-default.voidlinux.org/current/aarch64) [runtime] zeroinstall-2.17_6: not found (self, ignored) => zeroinstall-2.17_6: installing host dependencies: gettext-0.21_4 ocaml-4.14.0_2 opam-2.1.2_2 m4-1.4.18_2 tar-1.34_2 pkg-config-0.29.2_3 which-2.21_3 ... => zeroinstall-2.17_6: installing target dependencies: openssl-devel-1.1.1n_1 libcurl-devel-7.83.1_1 gnupg-2.2.34_1 glib-devel-2.72.0_1 gtk+3-devel-3.24.34_1 ... => zeroinstall-2.17_6: running do-fetch hook: 00-distfiles ... => zeroinstall-2.17_6: fetching distfile '0install-v2.17.tbz' from 'http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles'... http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/0install-v2.17.tbz: Not Found => zeroinstall-2.17_6: fetching distfile '0install-v2.17.tbz'... 0install-v2.17.tbz: [438KB 0%] 2943KB/s ETA: 00m00s 0install-v2.17.tbz: 438KB [avg rate: 315MB/s] => zeroinstall-2.17_6: verifying checksum for distfile '0install-v2.17.tbz'... OK. => zeroinstall-2.17_6: running do-extract hook: 00-distfiles ... => zeroinstall-2.17_6: extracting distfile(s), please wait... => zeroinstall-2.17_6: running do-patch hook: 00-patches ... => zeroinstall-2.17_6: running pre-configure hook: 00-gnu-configure-asneeded ... => zeroinstall-2.17_6: running pre-configure hook: 01-override-config ... => zeroinstall-2.17_6: running pre-configure hook: 02-script-wrapper ... => zeroinstall-2.17_6: running pre-build hook: 02-script-wrapper ... => zeroinstall-2.17_6: running pre_build ... No configuration file found, using built-in defaults. Checking for available remotes: none. - you won't be able to use rsync and local repositories unless you install the rsync command on your system. - you won't be able to use git repositories unless you install the git command on your system. - 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 <><> Required setup - please read <><><><><><><><><><><><><><><><><><><><><><><> In normal operation, opam only alters files within ~/.opam. However, to best integrate with your system, some environment variables should be set. If you allow it to, this initialisation step will update your bash configuration by adding the following line to ~/.bash_profile: test -r /tmp/.opam/opam-init/init.sh && . /tmp/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true Otherwise, every time you want to access your opam installation, you will need to run: eval $(opam env) You can always re-run this setup with 'opam init' later. [WARNING] Shell not updated in non-interactive mode: use --shell-setup <><> Creating initial switch 'ocaml-system' (invariant ["ocaml-system"]) ><><><> <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-system"] [NOTE] External dependency handling not supported for OS family 'voidlinux'. You can disable this check using 'opam option --global depext=false' <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ∗ installed base-bigarray.base ∗ installed base-threads.base ∗ installed base-unix.base ∗ installed ocaml-system.4.14.0 ∗ installed ocaml-config.2 ∗ installed ocaml.4.14.0 Done. # Run eval $(opam env --switch=ocaml-system) to update the current shell environment [NOTE] External dependency handling not supported for OS family 'voidlinux'. You can disable this check using 'opam option --global depext=false' The following actions will be performed: ∗ install seq base [required by lwt, yojson] ∗ install ocamlbuild 0.14.1 [required by xmlm] ∗ install conf-pkg-config 2 [required by lwt_glib] ∗ install ocamlfind 1.9.5 [required by ounit, ocurl, xmlm] ∗ install dune 3.3.0 ∗ install conf-libcurl 2 [required by ocurl] ∗ install conf-gtk3 18 [required by lablgtk3] ∗ install conf-glib-2 1 [required by lwt_glib] ∗ install conf-cairo 1 [required by cairo2] ∗ install topkg 1.0.5 [required by xmlm] ∗ install base-bytes base [required by ocplib-endian, ounit2] ∗ install stdlib-shims 0.3.0 [required by sha] ∗ install sexplib0 v0.15.1 [required by ppxlib] ∗ install result 1.5 [required by lwt] ∗ install ppx_derivers 1.2.1 [required by ppxlib] ∗ install ocaml-compiler-libs v0.12.4 [required by ppxlib] ∗ install menhirSdk 20220210 [required by menhir] ∗ install menhirLib 20220210 [required by menhir] ∗ install csexp 1.5.1 [required by dune-configurator] ∗ install cppo 1.6.9 [required by lwt, yojson] ∗ install bigarray-compat 1.1.0 [required by mmap] ∗ install xmlm 1.4.0 ∗ install react 1.2.2 [required by lwt_react] ∗ install sha 1.15.2 ∗ install ounit2 2.2.6 [required by ounit] ∗ install ppxlib 0.25.1 [required by obus] ∗ install menhir 20220210 [required by obus] ∗ install dune-configurator 3.3.0 [required by lwt] ∗ install yojson 2.0.0 ∗ install ocplib-endian 1.2 [required by lwt] ∗ install mmap 1.2.0 [required by lwt] ∗ install ounit 2.2.6 ∗ install cairo2 0.6.3 [required by lablgtk3] ∗ install lwt 5.5.0 ∗ install lablgtk3 3.1.2 ∗ install lwt_react 1.1.5 ∗ install lwt_ppx 2.0.3 [required by obus, ocurl] ∗ install lwt_log 1.1.1 [required by obus] ∗ install lwt_glib 1.1.1 ∗ install ocurl 0.9.2 ∗ install obus 1.2.3 ===== ∗ 41 ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ∗ installed conf-libcurl.2 ⬇ retrieved bigarray-compat.1.1.0 (https://opam.ocaml.org/cache) ⬇ retrieved cppo.1.6.9 (https://opam.ocaml.org/cache) ⬇ retrieved cairo2.0.6.3 (https://opam.ocaml.org/cache) ∗ installed conf-pkg-config.2 ∗ installed conf-cairo.1 ∗ installed conf-glib-2.1 ∗ installed conf-gtk3.18 ⬇ retrieved csexp.1.5.1 (https://opam.ocaml.org/cache) ⬇ retrieved lablgtk3.3.1.2 (https://opam.ocaml.org/cache) ⬇ retrieved lwt.5.5.0 (https://opam.ocaml.org/cache) ⬇ retrieved dune.3.3.0 (https://opam.ocaml.org/cache) ⬇ retrieved lwt_glib.1.1.1 (https://opam.ocaml.org/cache) ⬇ retrieved lwt_log.1.1.1 (https://opam.ocaml.org/cache) ⬇ retrieved lwt_ppx.2.0.3 (cached) ⬇ retrieved lwt_react.1.1.5 (cached) ⬇ retrieved dune-configurator.3.3.0 (https://opam.ocaml.org/cache) ⬇ retrieved menhir.20220210 (https://opam.ocaml.org/cache) ⬇ retrieved mmap.1.2.0 (https://opam.ocaml.org/cache) ⬇ retrieved obus.1.2.3 (https://opam.ocaml.org/cache) ⬇ retrieved ocaml-compiler-libs.v0.12.4 (https://opam.ocaml.org/cache) ⬇ retrieved menhirLib.20220210 (https://opam.ocaml.org/cache) ⬇ retrieved ocamlbuild.0.14.1 (https://opam.ocaml.org/cache) ⬇ retrieved ocamlfind.1.9.5 (https://opam.ocaml.org/cache) ⬇ retrieved ocplib-endian.1.2 (https://opam.ocaml.org/cache) ⬇ retrieved ocurl.0.9.2 (https://opam.ocaml.org/cache) ⬇ retrieved ounit2.2.2.6 (cached) ⬇ retrieved ppx_derivers.1.2.1 (https://opam.ocaml.org/cache) ⬇ retrieved menhirSdk.20220210 (https://opam.ocaml.org/cache) ⬇ retrieved react.1.2.2 (https://opam.ocaml.org/cache) ⬇ retrieved ppxlib.0.25.1 (https://opam.ocaml.org/cache) ⬇ retrieved result.1.5 (https://opam.ocaml.org/cache) ⬇ retrieved sexplib0.v0.15.1 (https://opam.ocaml.org/cache) ⬇ retrieved ounit.2.2.6 (https://opam.ocaml.org/cache) ⬇ retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache) ⬇ retrieved sha.1.15.2 (https://opam.ocaml.org/cache) ⬇ retrieved xmlm.1.4.0 (https://opam.ocaml.org/cache) ⬇ retrieved topkg.1.0.5 (https://opam.ocaml.org/cache) ⬇ retrieved yojson.2.0.0 (https://opam.ocaml.org/cache) ∗ installed ocamlfind.1.9.5 ∗ installed base-bytes.base ∗ installed seq.base ∗ installed ocamlbuild.0.14.1 ∗ installed topkg.1.0.5 ∗ installed react.1.2.2 ∗ installed xmlm.1.4.0 ∗ installed dune.3.3.0 ∗ installed csexp.1.5.1 ∗ installed bigarray-compat.1.1.0 ∗ installed menhirLib.20220210 ∗ installed cppo.1.6.9 ∗ installed mmap.1.2.0 ∗ installed menhirSdk.20220210 ∗ installed ocplib-endian.1.2 ∗ installed dune-configurator.3.3.0 ∗ installed ppx_derivers.1.2.1 ∗ installed ocaml-compiler-libs.v0.12.4 ∗ installed result.1.5 ∗ installed sexplib0.v0.15.1 ∗ installed cairo2.0.6.3 ∗ installed stdlib-shims.0.3.0 ∗ installed lwt.5.5.0 ∗ installed ounit2.2.2.6 ∗ installed lwt_glib.1.1.1 ∗ installed lwt_log.1.1.1 ∗ installed lwt_react.1.1.5 ∗ installed ounit.2.2.6 ∗ installed lablgtk3.3.1.2 ∗ installed sha.1.15.2 ∗ installed menhir.20220210 ∗ installed yojson.2.0.0 ∗ installed ppxlib.0.25.1 ∗ installed lwt_ppx.2.0.3 ∗ installed obus.1.2.3 ∗ installed ocurl.0.9.2 Done. # Run eval $(opam env) to update the current shell environment => zeroinstall-2.17_6: running do_build ... dune build --root=. --profile=release @install File "src/support/json.ml", line 3, characters 9-26: 3 | type t = Yojson.Basic.json ^^^^^^^^^^^^^^^^^ Error: Unbound type constructor Yojson.Basic.json File "src/support/argparse.mli", line 26, characters 13-21: 26 | string Stream.t -> completion:int option -> string list ^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/utils.mli", line 101, characters 39-47: 101 | val stream_of_lines : string -> string Stream.t ^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 17, characters 52-60: 17 | method read : string -> string option -> string Stream.t -> completion:(int option) -> string list ^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 29, characters 29-40: 29 | let is_empty stream = None = Stream.peek stream ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 75, characters 15-29: 75 | let stream = Stream.of_list input_args in ^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 82, characters 26-38: 82 | | Some i -> Some (i - Stream.count stream) in ^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 121, characters 18-29: 121 | Some (Stream.next stream) ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 131, characters 23-34: 131 | handle_option (Stream.from value_stream) key ~carg; ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 141, characters 30-38: 141 | let opt_stream : string Stream.t = ^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 141, characters 30-38: 141 | let opt_stream : string Stream.t = ^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 153, characters 10-21: 153 | Stream.from get_value ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 171, characters 10-21: 171 | match Stream.next stream with ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 236, characters 16-27: 236 | match Stream.peek stream with ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 239, characters 25-36: 239 | | Some next -> Stream.junk stream; [next] ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 252, characters 16-28: 252 | match Stream.npeek 2 stream with ^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 253, characters 30-41: 253 | | [_; _] as pair -> Stream.junk stream; Stream.junk stream; pair ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 253, characters 50-61: 253 | | [_; _] as pair -> Stream.junk stream; Stream.junk stream; pair ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/argparse.ml", line 255, characters 19-30: 255 | | [x] -> Stream.junk stream; [x; ""] ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "src/support/utils.ml", line 465, characters 2-13: 465 | Stream.from (fun _count -> ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. make: *** [Makefile:44: all] Error 1 => ERROR: zeroinstall-2.17_6: do_build: '${make_cmd} CC="$CC" CXX="$CXX" LD="$LD" AR="$AR" RANLIB="$RANLIB" CPP="$CPP" AS="$AS" OBJCOPY="$OBJCOPY" OBJDUMP="$OBJDUMP" CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" ${makejobs} ${make_build_args} ${make_build_target}' exited with 2 => ERROR: in do_build() at common/build-style/gnu-makefile.sh:9 ``` @mobinmob - package maintainer @leahneukirchen - last contributor who touched this package