@somekool
and now you know why the version is pinned, both in this package and the deviant i provide (sks-local).
see my last comment and @ajdiaz's response.
Git Clone URL: | https://aur.archlinux.org/sks.git (read-only, click to copy) |
---|---|
Package Base: | sks |
Description: | Synchronizing OpenPGP Key Server |
Upstream URL: | https://bitbucket.org/skskeyserver/sks-keyserver/ |
Keywords: | keyserver sks |
Licenses: | GPL |
Submitter: | mortzu |
Maintainer: | ajdiaz |
Last Packager: | ajdiaz |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2011-03-02 17:32 (UTC) |
Last Updated: | 2020-08-31 18:02 (UTC) |
@somekool
and now you know why the version is pinned, both in this package and the deviant i provide (sks-local).
see my last comment and @ajdiaz's response.
I bump the dependency for camlp4 and ocaml, so that 4.06 is allowed
camlp4 4.06-1 ocaml 4.06.0-2
I need to skip the PGP validation
then I get this error
ocamlmklib -o cryptokit rijndael-alg-fst.o stubs-aes.o d3des.o stubs-des.o arcfour.o stubs-arcfour.o sha1.o stubs-sha1.o sha256.o stubs-sha256.o ripemd160.o stubs-ripemd160.o blowfish.o stubs-blowfish.o keccak.o stubs-sha3.o stubs-md5.o stubs-zlib.o stubs-misc.o stubs-rng.o -L/usr/lib -lz ocamlc -g -c cryptokit.mli ocamlc -g -c cryptokit.ml File "cryptokit.ml", line 16, characters 5-8: Error: Unbound module Nat make[1]: *** [Makefile:95: cryptokit.cmo] Error 2
Thanks
Unfortunately there is no basic conversion to ocaml 4.06, which has some changes related with return types of certain core functions (mainly now return bytes instead of string), and also it's no easy to move cryptokit 1.7 to ocaml-cryptokit package, because ocaml in arch does not support dynamic linking.
I will update the PKGBUILD to force a lower version of ocaml in dependencies. This will not resolve the problem and sks will still no buildable with current arch packages. I guess that we will need to wait to new sks release.
Any idea to resolve that is welcome of course :) Probably we should mark the package out-of-date anyway...
some changes needed to get this working:
1.) currently due to https://bitbucket.org/skskeyserver/sks-keyserver/issues/55/unbound-module-nat-in-cryptokit-on-ocaml it only works with ocaml 4.05.
Install agetpkg, then:
agetpkg -i ^ocaml 4.05.0; agetpkg -i ^camlp4 4.05
2.) This is also required for sks-recon.service (as root user):
cat > /tmp/sks-recon.service << EOF
[Unit]
Description=Synchronizing key server recon instance
After=network.target remote-fs.target nss-lookup.target sks-db.service
[Service]
Type=simple
User=sks
Group=sks
PIDFile=/var/run/sks/sksrecon.pid
ExecStart=/usr/bin/sks recon
Requires=sks-db.service
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
hey, @ajdiaz -
just a heads-up/FYI, looks like the recent ocaml bump in Arch has caused some problems with upstream.
i've filed a bug here: https://bitbucket.org/skskeyserver/sks-keyserver/issues/55/unbound-module-nat-in-cryptokit-on-ocaml
Pinned Comments
ajdiaz commented on 2018-05-11 15:59 (UTC) (edited on 2018-05-11 16:01 (UTC) by ajdiaz)
Unfortunately there is no basic conversion to ocaml 4.06, which has some changes related with return types of certain core functions (mainly now return bytes instead of string), and also it's no easy to move cryptokit 1.7 to ocaml-cryptokit package, because ocaml in arch does not support dynamic linking.
I will update the PKGBUILD to force a lower version of ocaml in dependencies. This will not resolve the problem and sks will still no buildable with current arch packages. I guess that we will need to wait to new sks release.
Any idea to resolve that is welcome of course :) Probably we should mark the package out-of-date anyway...