Package Details: zeroinstall-injector 2.16-1

Git Clone URL: https://aur.archlinux.org/zeroinstall-injector.git (read-only, click to copy)
Package Base: zeroinstall-injector
Description: A decentralised cross-distribution software installation system
Upstream URL: https://0install.net
Keywords: 0install cross-platform decentralized package-manager
Licenses: LGPL-2.1
Provides: 0install, zeroinstall
Submitter: None
Maintainer: None
Last Packager: hayao
Votes: 64
Popularity: 0.000000
First Submitted: 2005-11-06 12:53 (UTC)
Last Updated: 2020-04-10 00:41 (UTC)

Dependencies (12)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

paulieg commented on 2021-04-30 06:41 (UTC)

FWIW, currently it is better to build from the git repo (https://github.com/0install/0install) Builds easily. 700MB+ of build dependencies later et voila.

paulieg commented on 2021-04-30 05:46 (UTC)

@talex I had to remove the already installed ocamlbuild (was making the preinstalled-ocambuild check fail). Then I had to manually install and init opam, and use it to install a large number of libraries. After that, it errored out with this and I don't currently know enough to fix it, nor do I care enough to try:

File "src/zeroinstall/dune", line 5, characters 12-166:
5 |             (select http.ml from
6 |              (curl curl.lwt -> http.curl.ml)
7 |              (cohttp cohttp-lwt cohttp-lwt-unix lwt_ssl -> http.cohttp.ml)
8 |             )
Error: No solution found for this select form.
make: *** [Makefile:44: all] Error 1
make: *** Waiting for unfinished jobs....
File "src/zeroinstall/dune", line 5, characters 12-166:
5 |             (select http.ml from
6 |              (curl curl.lwt -> http.curl.ml)
7 |              (cohttp cohttp-lwt cohttp-lwt-unix lwt_ssl -> http.cohttp.ml)
8 |             )
Error: No solution found for this select form.
make: *** [Makefile:65: test] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
Error making: zeroinstall-injector

talex commented on 2020-04-05 10:20 (UTC) (edited on 2020-04-06 10:21 (UTC) by talex)

@ragouel: what error did you get? I just tried installing 2.16 on arch using this Dockerfile, which worked for me:

FROM archlinux
RUN pacman -Sy --noconfirm opam make m4 patch unzip gcc sed awk grep diffutils curl pkg-config which gtk3 git
RUN opam init --disable-sandboxing
RUN opam install -y 0install-gtk
RUN opam exec -- 0install --version

Produces:

0install (zero-install) 2.16
Copyright (C) 2019 Thomas Leonard
This program comes with ABSOLUTELY NO WARRANTY,
to the extent permitted by law. You may redistribute copies of this program
under the terms of the GNU Lesser General Public License.
For more information about these matters, see the file named COPYING.
Compiled with D-Bus support: true
HTTP client library: libcurl (C)

(BTW, 0install no longer needs extlib)

ragouel commented on 2020-04-05 05:28 (UTC)

I wasn't able to successfully compile zeroinstall-injector, I used dune 2.1 from Community-Testing. Disowning, in case someone else knows how to fix this.

orbifx commented on 2016-09-05 09:58 (UTC)

I had to change my $PATH, to not contain my local .opam binaries (ocamlfind reports my .opam/ as a destdir, which doesn't work with the AUR scripts).

orbifx commented on 2016-09-02 16:06 (UTC)

Installing with yaourt, I get: ``` Packages (1) cppo-1.3.2-1 Total Installed Size: 0.86 MiB (1/1) checking keys in keyring (1/1) checking package integrity (1/1) loading package files (1/1) checking for file conflicts error: failed to commit transaction (conflicting files) cppo: /home/_/.opam/4.03.0/lib/cppo_ocamlbuild/META exists in filesystem cppo: /home/_/.opam/4.03.0/lib/cppo_ocamlbuild/ocamlbuild_cppo.a exists in filesystem cppo: /home/_/.opam/4.03.0/lib/cppo_ocamlbuild/ocamlbuild_cppo.cma exists in filesystem cppo: /home/_/.opam/4.03.0/lib/cppo_ocamlbuild/ocamlbuild_cppo.cmi exists in filesystem cppo: /home/_/.opam/4.03.0/lib/cppo_ocamlbuild/ocamlbuild_cppo.cmxa exists in filesystem cppo: /home/_/.opam/4.03.0/lib/cppo_ocamlbuild/ocamlbuild_cppo.cmxs exists in filesystem Errors occurred, no packages were upgraded. ``` Is it sane trying install over the existing opam installation?

talex commented on 2016-07-03 18:34 (UTC)

@sigmundv: thanks! I've made a Dockerfile to test installing on Arch with AUR, and that now builds for me: https://hub.docker.com/r/talex5/0install-docker/~/dockerfile/

sigmundv commented on 2016-07-01 01:03 (UTC)

I have now updated the ocaml-ssl package, so this should build now.

talex commented on 2016-06-06 21:57 (UTC)

According to https://github.com/mirage/ocaml-cohttp/issues/462, this was fixed in ocaml-ssh 0.5.2, but Arch only has 0.5.1 (https://aur.archlinux.org/packages/ocaml-ssl/) However, the following should let it build: yaourt -S opam unzip opam init --comp=4.02.3 eval `opam config env` opam install 0install (tested in an Arch Linux Docker container)

dtschmitz commented on 2016-06-05 21:16 (UTC)

sorry, I can't get this to build: ideas? Thanks in advance /* /usr/lib/ocaml/ssl/libssl_threads_stubs.a(ssl_stubs.o): In function `ocaml_ssl_create_context': ssl_stubs.c:(.text+0x576): undefined reference to `SSLv3_client_method' ssl_stubs.c:(.text+0x643): undefined reference to `SSLv3_method' ssl_stubs.c:(.text+0x653): undefined reference to `SSLv3_server_method' collect2: error: ld returned 1 exit status File "caml_startup", line 1: Error: Error during linking Command exited with code 2. Compilation unsuccessful after building 486 targets (0 cached) in 00:00:29. Makefile:26: recipe for target 'ocaml' failed make[2]: *** [ocaml] Error 10 make[2]: Leaving directory '/tmp/yaourt-tmp-dts/aur-zeroinstall-injector/src/0install-2.11/ocaml' /tmp/yaourt-tmp-dts/aur-zeroinstall-injector/src/0install-2.11/Makefile.build:20: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/tmp/yaourt-tmp-dts/aur-zeroinstall-injector/src/0install-2.11/build' Makefile:53: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build zeroinstall-injector. ==> Restart building zeroinstall-injector ? [y/N] ==> --------------------------------------------- ==> */