You are not logged in.
Pages: 1
Hi all,
I am trying to install sks from the AUR. I am getting this error:
File "eventloop.ml", line 133, characters 15-19:
Error: This expression has type ?cloexec:bool -> Unix.file_descr
but an expression was expected of type
Unix.file_descr = Unix.file_descr
make: *** [Makefile:388: eventloop.cmx] Error 2I want sks to work; but I do not understand what is wrong; it does not seem like anything is wrong.
Any insight on what to do next would be much appreciated. I can output full log if it would help. Here is some of the context:
ocamlopt -runtime-variant _pic -I lib -I bdb -ccopt -L/usr/lib -ccopt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ccopt -Lbdb -dtypes -inline 40 unix.cmxa str.cmxa bdb.cmxa nums.cmxa bigarray.cmxa cryptokit.cmxa -c channel.ml
File "channel.ml", line 53, characters 25-38:
Warning 3: deprecated: StdLabels.String.create
Use BytesLabels.create instead.
File "channel.ml", line 128, characters 13-26:
Warning 3: deprecated: StdLabels.String.create
Use BytesLabels.create instead.
File "channel.ml", line 170, characters 14-27:
Warning 3: deprecated: StdLabels.String.create
Use BytesLabels.create instead.
ocamlc -I lib -I bdb -ccopt -L/usr/lib -ccopt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ccopt -Lbdb -dtypes -g unix.cma str.cma bdb.cma nums.cma bigarray.cma cryptokit.cma -c packet.mli
ocamlopt -runtime-variant _pic -I lib -I bdb -ccopt -L/usr/lib -ccopt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ccopt -Lbdb -dtypes -inline 40 unix.cmxa str.cmxa bdb.cmxa nums.cmxa bigarray.cmxa cryptokit.cmxa -c packet.ml
ocamlopt -runtime-variant _pic -I lib -I bdb -ccopt -L/usr/lib -ccopt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -ccopt -Lbdb -dtypes -inline 40 unix.cmxa str.cmxa bdb.cmxa nums.cmxa bigarray.cmxa cryptokit.cmxa -c eventloop.ml
File "eventloop.ml", line 133, characters 15-19:
Error: This expression has type ?cloexec:bool -> Unix.file_descr
but an expression was expected of type
Unix.file_descr = Unix.file_descr
make: *** [Makefile:388: eventloop.cmx] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build sks.Offline
literally just ran into this.
i posted a comment to debian and gentoo bug reports who are seeing the same thing:
https://aur.archlinux.org/packages/sks/#news
i haven't tried it yet, but there's a patch...
Offline
confirmed the new patch allows it to build.
see updated PKGBUILD: https://pastebin.com/hZ5DvQaa
also be sure to get the patch:
curl -sL -o debian_eventloopfix.patch "https://bugs.debian.org/cgi-bin/bugrepo … tch;msg=15"
Offline
Pages: 1