Package Details: ocamlnet 4.1.9-3

Git Clone URL: https://aur.archlinux.org/ocamlnet.git (read-only, click to copy)
Package Base: ocamlnet
Description: A library for Web and Internet programming in OCaml
Upstream URL: http://projects.camlcity.org/projects/ocamlnet.html
Licenses: GPL, LGPL
Submitter: guital
Maintainer: oriba
Last Packager: oriba
Votes: 56
Popularity: 0.000000
First Submitted: 2008-07-23 20:32 (UTC)
Last Updated: 2024-03-17 19:22 (UTC)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 Next › Last »

oriba commented on 2015-01-19 19:45 (UTC)

With the new release of ocamlnet, there were some changes, which may cause problems... so be careful. See here for details: https://sympa.inria.fr/sympa/arc/caml-list/2015-01/msg00087.html

oriba commented on 2014-12-26 09:11 (UTC)

OCaml use checksums at least for the bytecode-packages. So what you are mourning about is a feature! It's there, for guaranteeing type safety. If you have trouble with the administration, you might use "opam", a package manager. Seems like it makes administration of OCaml packages much easier. See here: https://aur.archlinux.org/packages/opam/

JP-Ellis commented on 2014-12-26 03:36 (UTC)

Yeh, ocaml packages have only caused me endless issues. I have uninstalled `ocaml` and all ocaml packages, then proceeded to install them from fresh and it doesn't work. It's not your fault, it's not your package failing (I'm not even getting to your package!).

oriba commented on 2014-12-26 02:09 (UTC)

I had such annoying messages also. Then I did recompile the dependencies and could build the package. I have now 3.7.7-1 installed. yaourt seems to be not the best idea. I had such problems a while ago with other ocaml-related packages. That your error messags differs after recompiling some packages, and noit failing at the same point should be indicator, that you have to recompile. gapi-ocaml is something you seem to use. It's NOT part of the package and not part of the dependencies. Recompile it.

JP-Ellis commented on 2014-12-25 23:05 (UTC)

Actually, I am using Yaourt, but I did not know (and obviously Yaourt had no way of knowing either) that you had to recompile all dependencies. I have tried recompile all ocaml-packages with `yaourt -S --noconfirm $(yaourt -Qqs ocaml | tr '\n' ' ')`, but this seems to be failing at `gapi-ocaml` due to 'inconsistent assumptions about pervasives'. I will have look into this package now.

oriba commented on 2014-12-24 23:27 (UTC)

No, the update is not broken. You have to recompile all dependencies, like ocaml.ssl, ocaml-cryptokit and so on. Possibyl because there was an update in the OCaml-package itself, and then you need to recompile your stuff. If you wish to avoid this problem, maybe yaourt or other aur-tools will help here.

JP-Ellis commented on 2014-12-24 22:48 (UTC)

This latest update has broken the package. Compilation ends with the following error: ocamlfind ocamlc -g -I ../../src/equeue -I ../../src/netsys -package "unix unix ssl" -w -3-25 -c ssl_exts.mli File "ssl_exts.mli", line 1: Error: The files /usr/lib/ocaml/pervasives.cmi and /usr/lib/ocaml/ssl/ssl.cmi make inconsistent assumptions over interface Pervasives ../../Makefile.rules:120: recipe for target 'ssl_exts.cmi' failed make[1]: *** [ssl_exts.cmi] Error 2 make[1]: Leaving directory '/tmp/makepkg/ocamlnet/src/ocamlnet-3.7.7/src/equeue-ssl' Makefile:19: recipe for target 'all' failed

oriba commented on 2014-10-15 18:38 (UTC)

This is not a problem that can be fixed via PKGBUILD. Its coming from OCaml's checksum feature and makepkg/yaourt don't know about this. So there are two possibilities to make thinks working again: 1) rebuild and reinstall by hand all the packages that ocamlnet needs and do make problems. (Or deinstall and resinstall via yaourt?) 2) use opam package manager instead of AUR-packages for OCaml-libs/-software. Opam itself is available via AUR: https://aur.archlinux.org/packages/opam/

valentin.brasov commented on 2014-10-15 05:55 (UTC)

As a normal user I DO NOT WANT to recompile myself manually any package. Instead I just want to just run yaourt-gui and choose "update packages" and get automatically updates for everything that needs updated for all my installed packages from official repositories and AUR. So could you please contact whoever maintains the other packages that need recompiled and ask them to push into AUR recompiled packages if that is what needs to be done, so that no user should need to manually recompile packages.

oriba commented on 2014-10-12 15:37 (UTC)

In the meantime, a new OCaml version has been provided. So you need to rebuild some or all of the dependencies too, and afterwards build ocamlnet.