Package Details: ocaml-ssl 0.5.6-3

Git Clone URL: https://aur.archlinux.org/ocaml-ssl.git (read-only)
Package Base: ocaml-ssl
Description: OCaml SSL Library
Upstream URL: http://savonet.sourceforge.net/
Licenses: custom
Submitter: sigmundv
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 6
Popularity: 0.003815
First Submitted: 2015-08-10 18:23
Last Updated: 2018-10-11 12:03

Latest Comments

chrko commented on 2018-09-20 07:13

Currently opam is required as a make dependency. Please add it and test it with clean chroot build!

Edit: I should finish testing:

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed base-bigarray.base
∗ installed base-threads.base
∗ installed base-unix.base
[ERROR] The compilation of ocaml-system failed at "/build/.opam/opam-init/hooks/sandbox.sh build ocaml gen_ocaml_config.ml".

#=== ERROR while compiling ocaml-system.4.07.0 ================================#
# context              2.0.0 | linux/x86_64 |  | https://opam.ocaml.org#7cd43695
# path                 ~/.opam/default/.opam-switch/build/ocaml-system.4.07.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build ocaml gen_ocaml_config.ml
# exit-code            1
# env-file             /tmp/opam-xxx-1095/ocaml-system-1095-2dea01.env
# output-file          /tmp/opam-xxx-1095/ocaml-system-1095-2dea01.out
### output ###
# ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
# bwrap: capset failed: Operation not permitted



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build ocaml-system 4.07.0
└─ 
┌─ The following changes have been performed (the rest was aborted)
│ ∗ install base-bigarray base
│ ∗ install base-threads  base
│ ∗ install base-unix     base
└─ 
# Run eval $(opam env) to update the current shell environment

furious_snail commented on 2017-01-01 12:46

On the previous paste the first '-' on the first linke was removed. Repasting:
--- PKGBUILD.bak 2017-01-01 14:33:33.892191420 +0200
+++ PKGBUILD 2017-01-01 14:39:45.152566637 +0200
@@ -1,7 +1,7 @@
# Maintainer: Sigmund Vestergaard <sigmundv at gmail dot com>
# Contributor: Denis Wernert <denis@wernert.info>
pkgname=ocaml-ssl
-pkgver=0.5.2
+pkgver=0.5.3
pkgrel=1
pkgdesc="OCaml SSL Library"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
makedepends=('ocaml' 'ocaml-findlib' 'autoconf')
source=(https://github.com/savonet/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
options=(!libtool !strip zipman !makeflags staticlibs)
-md5sums=('404f71d33885c985a8ff579996a5cda8')
+md5sums=('9fd48066d1cd4db52b40e2f59a7d4d83')


build() {

furious_snail commented on 2017-01-01 12:45

Here is the diff patch for 0.5.3:
-- PKGBUILD.bak 2017-01-01 14:33:33.892191420 +0200
+++ PKGBUILD 2017-01-01 14:39:45.152566637 +0200
@@ -1,7 +1,7 @@
# Maintainer: Sigmund Vestergaard <sigmundv at gmail dot com>
# Contributor: Denis Wernert <denis@wernert.info>
pkgname=ocaml-ssl
-pkgver=0.5.2
+pkgver=0.5.3
pkgrel=1
pkgdesc="OCaml SSL Library"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
makedepends=('ocaml' 'ocaml-findlib' 'autoconf')
source=(https://github.com/savonet/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
options=(!libtool !strip zipman !makeflags staticlibs)
-md5sums=('404f71d33885c985a8ff579996a5cda8')
+md5sums=('9fd48066d1cd4db52b40e2f59a7d4d83')


build() {

5chdn commented on 2016-12-26 19:57

this package fails building with latest ocaml. and it blocks upgrading liquidsoap. please bump the version, thanks :)

robertfoster commented on 2016-11-17 18:50

0.5.3 is out and liquidsoap needs a recompilation:
File "cry_ssl.ml", line 1:
Error: /usr/lib/ocaml/ssl/ssl_threads.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.

Yamakaky commented on 2016-11-17 05:51

Build fail, see https://github.com/savonet/ocaml-ssl/issues/29:

/usr/lib/ocaml/caml/alloc.h:59:8: erreur : unknown type name ‘inline’
static inline value caml_alloc_unboxed (value arg) { return arg; }
^~~~~~
/usr/lib/ocaml/caml/alloc.h:59:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_alloc_unboxed’
static inline value caml_alloc_unboxed (value arg) { return arg; }
^~~~~~~~~~~~~~~~~~
/usr/lib/ocaml/caml/alloc.h:60:8: erreur : unknown type name ‘inline’
static inline value caml_alloc_boxed (value arg) {
^~~~~~
/usr/lib/ocaml/caml/alloc.h:60:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_alloc_boxed’
static inline value caml_alloc_boxed (value arg) {
^~~~~~~~~~~~~~~~
/usr/lib/ocaml/caml/alloc.h:65:8: erreur : unknown type name ‘inline’
static inline value caml_field_unboxed (value arg) { return arg; }
^~~~~~
/usr/lib/ocaml/caml/alloc.h:65:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_field_unboxed’
static inline value caml_field_unboxed (value arg) { return arg; }
^~~~~~~~~~~~~~~~~~
/usr/lib/ocaml/caml/alloc.h:66:8: erreur : unknown type name ‘inline’
static inline value caml_field_boxed (value arg) { return Field (arg, 0); }
^~~~~~
/usr/lib/ocaml/caml/alloc.h:66:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_field_boxed’
static inline value caml_field_boxed (value arg) { return Field (arg, 0); }

sigmundv commented on 2016-07-01 01:00

Thank you for letting me know. I have updated the package.

talex commented on 2016-06-06 21:58

Programs using this (e.g. zeroinstall-injector) failed to build with:

/usr/lib/ocaml/ssl/libssl_threads_stubs.a(ssl_stubs.o): In function `ocaml_ssl_create_context':
ssl_stubs.c:(.text+0x576): undefined reference to `SSLv3_client_method'
ssl_stubs.c:(.text+0x643): undefined reference to `SSLv3_method'
ssl_stubs.c:(.text+0x653): undefined reference to `SSLv3_server_method'
collect2: error: ld returned 1 exit status

According to https://github.com/mirage/ocaml-cohttp/issues/462, this was fixed in ocaml-ssh 0.5.2.