Package Details: ocamlnet 4.1.7-1

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: 58
Popularity: 0.116171
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 ... Next › Last »

oriba commented on 2017-07-19 15:17

@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

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

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

@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

@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

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

use makepkg and pacman :-)

klore commented on 2017-07-16 19:41

uff tried again to compile, same fail

dunoo what or how, just yaourt -S ocamlnet

:(( sorry





oriba commented on 2017-07-16 18:59

@klore: which commit did you use?
With d5fca7990d78fe it should work.
So, please pull again before making the package.

klore commented on 2017-07-16 18:34

File "netsys_posix.ml", line 719, characters 0-206:
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/pamac-build-user/ocamlnet/src/ocamlnet-4.1.2/src/netsys'
make: *** [Makefile:23: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...