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 2 3 4 5 6 7 8 .. 11 Next › Last »

mcgyver commented on 2017-08-16 10:53 (UTC) (edited on 2017-08-16 11:04 (UTC) by mcgyver)

@oriba Thanks for the suggestion: I already tried to update the ocaml-pcre package as well as all the other ocamlnet dependencies, and I am stuck. Thank you for pointing this out, I understand I have bothered you, and I'll try to use other channels to ask questions. Or, perhaps, I just remove this package... All the best. Regards For completeness: % pacman -Qo /usr/lib/ocaml/pervasives.cmi /usr/lib/ocaml/pervasives.cmi is owned by ocaml 4.05.0-1 % pacman -Qo /usr/lib/ocaml/pcre/pcre.cmi /usr/lib/ocaml/pcre/pcre.cmi is owned by ocaml-pcre 7.2.3-2

oriba commented on 2017-08-11 15:27 (UTC)

Please, questions that focus on non-package specific questions, please ask in OCaml-mailinglist. Errors like "Error: The files /usr/lib/ocaml/pervasives.cmi and /usr/lib/ocaml/pcre/pcre.cmi make inconsistent assumptions over interface Pervasives" are typical problems that occur, when new OCaml is out and used libs are not recompiled. They are NOT specific to this package. And: they are beginners-questions. So, please ask such questions on ocaml-beginners mailinglist, or #ocaml at freenode, or stackoverflow. Thanks.

oriba commented on 2017-08-11 14:16 (UTC)

@mcgyver: you need to update all dependencies of ocamlnet too. This means: first update ocaml-pcre package it seems to be compiled with old ocaml-version.

mcgyver commented on 2017-08-11 13:55 (UTC)

Hi Everyone, I have a problem updating this package, but I am not sure I understand what's wrong. I have a clean Arch system, I installed this some time ago as dependency of google-drive-ocamlfuse but now if I try to update it, half way through the compilation process I receive the error: [...] make[1]: Entering directory '/home/sergio/build-repos/ocamlnet/src/ocamlnet-4.1.3/src/netstring-pcre' opts="-opaque"; \ if [ -f "$(basename netstring_pcre.mli .ml)".nopaque ]; then opts=""; fi; \ ocamlfind ocamlc -g -safe-string -package "bytes unix bytes pcre" -w -25 -c $opts netstring_pcre.mli File "netstring_pcre.mli", line 1: Error: The files /usr/lib/ocaml/pervasives.cmi and /usr/lib/ocaml/pcre/pcre.cmi make inconsistent assumptions over interface Pervasives make[1]: *** [../../Makefile.rules:116: netstring_pcre.cmi] Error 2 make[1]: Leaving directory '/home/sergio/build-repos/ocamlnet/src/ocamlnet-4.1.3/src/netstring-pcre' make: *** [Makefile:23: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Could anyone help me decoding it, and what to do to solve this? I already tried to update and recompile ocaml-pcre, and it worked without any issue. Suggestions welcome. Thank you!

oriba commented on 2017-08-07 15:17 (UTC)

@isra17: thanks for reporting this. I forgot to remove the commands that use the netsys_posix.ml. Update is comming soon.

isra17 commented on 2017-08-07 14:16 (UTC)

Package is broken, last update removed (>24h) the netsys_posix.ml file that is still used in the PKGBUILD. pwd: /tmp/pkg/src/ocamlnet-4.1.3 ls -l ../.. => total 4452 -rw-r--r-- 1 isra users 4553037 Aug 7 10:10 ocamlnet-4.1.3.tar.gz d--x--x--x 2 isra users 40 Aug 7 10:10 pkg -rw-r--r-- 1 isra users 1848 Aug 7 10:09 PKGBUILD drwxr-xr-x 3 isra users 80 Aug 7 10:10 src cp: cannot stat '../../netsys_posix.ml': No such file or directory

snakeroot commented on 2017-08-01 12:55 (UTC)

@oriba Apparently the problem somehow relates to the fact that in /etc/makepkg.conf I have BUILDDIR=/tmp/makepkg (which is a fairly common modification and recommended by the wiki). When I commented that out, the package built.

oriba commented on 2017-07-21 22:08 (UTC)

As jant90 has mentioned, on a fresh Arch linux, the package compiles. This confirms that the package is working. The package is working since Sun Jul 16 2017. So, please lets end the discussion. For any other problems regarding this package release, please ask at Arch-blog or in IRC.

oriba commented on 2017-07-21 19:37 (UTC)

@snakeroot: in ../.. there should be the PKGBUILD and the netsys_posix.ml as well as ocamlnet-4.1.2.tar.gz If these files are not there, thats maybe an issue with symlinks?! How can you create the package with makepkg, if the PKGBUILD is not there? Please check, what you have done there.

snakeroot commented on 2017-07-21 15:23 (UTC) (edited on 2017-07-21 15:28 (UTC) by snakeroot)

@oriba. Per your 2017-07-20 19:25 request, recompiled 4.1.2-4. I'm using stock Arch (no Manjaro) and compile using makepkg (no yaourt). <edit>I compile as user chris and user chris is a member of group users.</edit> Result was the same error as I reported originally. Salient output, including the new verbose checks is: <snip> pwd: /tmp/makepkg/ocamlnet/src/ocamlnet-4.1.2 ls -l ../.. => total 0 d--x--x--x 2 chris users 40 Jul 21 11:10 pkg drwxr-xr-x 3 chris users 100 Jul 21 11:10 src cp: cannot stat '../../netsys_posix.ml': No such file or directory </snip> Note that on 4.1.2-3 I've already recompiled all of the dependencies necessary to get rid of the usual "inconsistent assumptions about interface" errors and was able to successfully compile ocamlnet. So I think the problem should be pretty isolated. Let me know if there's anything I can do to help.