Package Details: zeroinstall-injector 2.11-1

Git Clone URL: https://aur.archlinux.org/zeroinstall-injector.git (read-only)
Package Base: zeroinstall-injector
Description: A decentralised loosely-coupled secure installation system
Upstream URL: http://0install.net
Licenses: GPL2, LGPL
Submitter: None
Maintainer: None
Last Packager: ishitatsuyuki
Votes: 65
Popularity: 1.022041
First Submitted: 2005-11-06 12:53
Last Updated: 2016-03-25 01:42

Dependencies (10)

Required by (0)

Sources (2)

Latest Comments

talex commented on 2016-07-03 18:34

@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

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

talex commented on 2016-06-06 21:57

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

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]
==> ---------------------------------------------
==>

*/

timdiels commented on 2015-09-28 13:36

Please update to 2.9.1. I changed the version in PKGBUILD, ran updpkgsums, and it compiles and runs fine.

sigmundv commented on 2015-05-19 08:38

Thank you, talex, I'll try that.

talex commented on 2015-05-19 08:01

Looks like AUR's ocaml-sha package is massively out of date:

https://aur.archlinux.org/packages/ocaml-sha/

You could try removing the sha package, which will cause 0install to fall back to using openssl's hashing (which is what 2.6 used anyway).

sigmundv commented on 2015-05-19 06:47

Let me know if any of you experience this failure when building version 2.8:

File "support/hash.ml", line 44, characters 35-39:
Error: Signature mismatch:
...
The value `finalize' is required but not provided
File "support/hash.ml", line 30, characters 4-27: Expected declaration
The value `update_string' is required but not provided
File "support/hash.ml", line 29, characters 4-45: Expected declaration
The value `init' is required but not provided
File "support/hash.ml", line 28, characters 4-25: Expected declaration
The type `ctx' is required but not provided
File "support/hash.ml", line 26, characters 9-12: Expected declaration
Command exited with code 2.

sigmundv commented on 2015-05-19 06:40

Version 2.8 doesn't build for me while 2.6 builds without problems (maybe I'm missing some dependency, but I don't think so), so I guess I have to get in touch with the developer before updating this package.

sigmundv commented on 2015-05-13 10:04

Thanks for the information, talex!

talex commented on 2015-05-13 10:02

The lwt.syntax package became optional in Lwt 2.4.4, which now needs to be compiled with --enable-camlp4 in that package.

sigmundv commented on 2015-05-13 07:08

I get that same error myself and am working on solving it. I'll update the PKGBUILD in due course. Ocaml modules are really not easy to maintain.

mickours commented on 2015-05-13 06:57

Compilation still not working with current or next version. I have this error:
+ ocamlfind ocamldep -syntax camlp4o -package lwt.syntax -package yojson,xmlm,str,lwt,lwt.unix,lwt.react,lwt.preemptive,extlib,curl,ssl,dynlink -modules support/gpg.ml > support/gpg.ml.depends
ocamlfind: Package `lwt.syntax' not found
Command exited with code 2

tareef commented on 2015-05-09 18:41

current version is 2.8, please update

talex commented on 2014-05-27 13:51

@simonsilva: it's because you've got the !staticlibs option set, causing makepkg to delete all your .a files (this is now the default). Ideally, libraries that need to provide .a files would override the option, but many don't.

simonsilva commented on 2014-05-27 13:43

problem with ocaml-lwt is solved with the new version.
nevertheless i can't compile it. i receive compiler errors. gcc can't find a few files:
- /usr/lib/ocaml/ssl/ssl_threads.a
- /usr/lib/ocaml/curl/curl.a:
- /usr/lib/ocaml/extlib/extLib.a
- /usr/lib/ocaml/react/react.a
- /usr/lib/ocaml/xmlm/xmlm.a
- /usr/lib/ocaml/oUnit/oUnit.a
- /usr/lib/ocaml/oUnit/oUnitAdvanced.a
i took a look into the corresponding folders and just found some .cma, .cmi, .cmx, .cmxa, .cmxs and .mli files instead.

talex commented on 2014-05-24 11:12

Looks like the Lwt package should be updated to the latest release.
Until that happens, does "opam install 0install" work?

simonsilva commented on 2014-05-24 11:03

ocaml-lwt can not build from aur on amd64. so i can't use zeroinstall ... any suggestions?

talex commented on 2014-02-23 21:35

Note that OCaml libraries are always statically linked. Looks like a change to makepkg to remove static libraries has accidentally broken most of the OCaml packages:

https://mailman.archlinux.org/pipermail/arch-dev-public/2013-September/025454.html

bcdarwin commented on 2014-02-05 22:17

It seems like zeroinstall expects to link statically against some of its dependencies. A quick fix is to recompile ocaml-{curl,ssl,react,ounit,extlib,lwt-git,xmlm} with 'staticlibs' added to `options`.

bartbes commented on 2014-02-05 16:09

It tries to link against .a files that don't exist on my system. Am I using old AUR packages (if so, why did they not get a version bump?), or does this package not compile on a clean system?

talex commented on 2013-10-19 11:20

BTW, 2.3.x is the current stable series (and doesn't require OCaml). Whoever adopts this package will probably want to start with that. Building the OCaml version using AUR dependencies is broken (just recently) because the old AUR Lwt package doesn't work with the new OCaml version (4.01). 0install 2.4+ builds fine on Arch with OPAM, though - just follow the instructions in the README.

speps commented on 2013-10-19 00:29

New generation of 0install (2.4+) depends on ocaml. I'm not interested any more in maintaining this. Orphaning.

lots0logs commented on 2013-10-01 05:00

Version is now at 2.4, PKGBUILD needs updating. THANKS!

dustball commented on 2013-04-05 14:55

current version is 2.0, please update

timdiels commented on 2012-09-18 17:34

Current version is 1.11
md5sums=('20eb0497c8df9864e353411a13c41844')

unhammer commented on 2012-04-17 08:58

seems like 1.7 is out

thomas.oster commented on 2011-11-10 08:39

Hi. Zeroinstall doesn't seem to recognize installed packages by pacman. Seems as if one would have to implement an "ArchDistribution" class in the zeroinstall/injector/distro.py file, but I don't understand it completely yet.

Can anybody confirm that it does not find installed packages? Try the instructions from http://gfxmonk.net/shellshape/ and you will find, that it can not find a version for "gnome-shell", although I have it installed.

rafaelff commented on 2011-08-23 00:21

zeroinstall home site have an out-dated message about zeroisntall package in Archlinux. It mentions a problem with python, but my guess it is from around end of 2010. Can you please convince the webadmin to fix it?

speps commented on 2010-12-08 23:57

@vanadium50 Thanks for signaling, updated.

vanadium50 commented on 2010-12-08 18:30

0.51 and 0.51.1 both released 05-Dec-2010 - I don't know the difference.

speps commented on 2010-10-21 03:57

@Xavion

Hi, this package needs to be adapted to the great python rebuild, also version 0.50 is out.

Here is a working PKGBUILD --> http://aur.pastebin.com/V43meR8y ( python2 + dependences + licenses fixes)
Also the missing .install ---> http://aur.pastebin.com/dhB9cyM5 ( desktop database + icon cache updates)

Feel free to adopt

C ya