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 9 10 11 Next › Last »

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

@mcgyver: thanks. But pacman can't install the dependencies. There are AUR-packages, which msut be updated first. The exception about Pervasices-interface looks like it was not a fresh install...?! Can you try to install the AUR-packages by hand (ocaml-pcre is from AUR)? And then with makepkg ocamlnet? (makepkg without any other options).

mcgyver commented on 2017-07-19 08:28 (UTC)

This is the paste from a pc where the command makepkg -sri does not work on a fresh clone of https://aur.archlinux.org/ocamlnet.git https://pastebin.com/DQfHY9sY Hope it helps

oriba commented on 2017-07-18 18:50 (UTC)

I tested it again on a different machine and it compiled well. So it looks like it needs some more investigation... @nerflad: can you please do this again with a fresh clone and paste a LOG of the output to a paste-server and place the link to the pasted stuff here? I would like to compare the outputs.

oriba commented on 2017-07-17 19:34 (UTC)

@snakeroot: I did test compilation before commiting the package. And because of your comment I did test it again: with a fresh clone from the repository. And it again compiled and created the package. For yoaurt-users: use makepkg. It's not the first time that yaourt potentially adds problems. Regarding the paths: before the cp-command my path is /home/oliver/tmp/TMP/ocamlnet/src/ocamlnet-4.1.2 and the PKGBUOILD as well as the changed netsys_posix.ml are in /home/oliver/tmp/TMP/ocamlnet and thats, why the cp-command is ok. If you have different paths with yourt, the problem may be at the yaourt side. Please use makepkg to create the package. (Yes, it can be annoying to recreate all used AUR-packages before ocamlnet, but this way it is working.)

uggjesus commented on 2017-07-17 19:21 (UTC)

@snakeroot I still get the following error even with that change: Error: This variant or record definition does not match that of type Unix.open_flag The field O_KEEPEXEC is only present in this definition. make[1]: *** [../../Makefile.rules:113: netsys_posix.cmo] Error 2 make[1]: Leaving directory '/tmp/yaourt-tmp-alex/aur-ocamlnet/src/ocamlnet-4.1.2/src/netsys' make: *** [Makefile:23: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build ocamlnet.

snakeroot commented on 2017-07-17 16:12 (UTC)

VERSION: 4.1.2-3 In line 23 of the PKGBUILD you need to change from: cp ../../netsys_posix.ml src/netsys/netsys_posix.ml # overwrite file with changed one to cp ../netsys_posix.ml src/netsys/netsys_posix.ml # overwrite file with changed one (i.e., delete one ../) The reason is that at that point you are in directory /tmp/makepkg/ocamlnet/src/ocamlnet-4.1.2 and the changed netsys_posix.ml is in /tmp/makepkg/ocamlnet/src. ../.. is /tmp/makepkg/ocamlnet, so the build complains that netsys_posix.ml is not found and then fails. Thanks,

oriba commented on 2017-07-16 20:10 (UTC)

use makepkg and pacman :-)

klore commented on 2017-07-16 19:41 (UTC)

uff tried again to compile, same fail dunoo what or how, just yaourt -S ocamlnet :(( sorry