Package Details: ocamlnet 4.1.7-1

Git Clone URL: (read-only, click to copy)
Package Base: ocamlnet
Description: A library for Web and Internet programming in OCaml
Upstream URL:
Licenses: GPL, LGPL
Submitter: guital
Maintainer: oriba
Last Packager: oriba
Votes: 58
Popularity: 0.197065
First Submitted: 2008-07-23 20:32
Last Updated: 2020-06-05 12:58

Latest Comments

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

w-flo commented on 2015-04-21 12:44

This doesn't compile for me, probably since gnutls-3.4.0 was uploaded 2 days ago. Not sure if this requires something like a configure switch or if it's an upstream bug. (Bad luck recently, google disabled the old gdrive API yesterday, and now the only working google drive client I know depends on a library that no longer works :D).

Sorry, I didn't call yaourt with LANG=C, so this is German. It basically says that GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA is undeclared. And it is indeed missing from gnutls.h, the enum where it used to be now just contains "GNUTLS_SUPPLEMENTAL_UNKNOWN".

+ gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -O -g -I/usr/include/p11-kit-1 -Wno-unused-function -I'/usr/lib/ocaml' 'nettls_gnutls_bindings_stubs.c'
nettls_gnutls_bindings_stubs.c: In Funktion »wrap_gnutls_supplemental_data_format_type_t«:
nettls_gnutls_bindings_stubs.c:2694:10: Fehler: »GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA« nicht deklariert (erste Benutzung in dieser Funktion)
case GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA: return Val_long(93721039);

oriba commented on 2015-03-01 17:41

New package-version 4.0.2-2 fixed wrong permissions of documentation-html-files in /usr/share/doc/ocamlnet/. (Removed x-flag from the permissions of the html-files.)

oriba commented on 2015-02-26 14:14

I recommend to install the new version,
especially if you do stream-downloads.
One possible Stack-Overflow-Bug has been fixed in ocamlnet-4.0.2.
This Stack-Overflow did occur while downloading certain video-files with any-dl.
That has been fixed now.

oriba commented on 2015-01-19 19:45

With the new release of ocamlnet, there were some changes,
which may cause problems... so be careful.

See here for details:

oriba commented on 2014-12-26 09:11

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:

JP-Ellis commented on 2014-12-26 03:36

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

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

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

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

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