Package Details: ocaml-batteries 2.5.3-1

Git Clone URL: https://aur.archlinux.org/ocaml-batteries.git (read-only)
Package Base: ocaml-batteries
Description: A comprehensive standard library for OCaml
Upstream URL: https://forge.ocamlcore.org/projects/batteries/
Licenses: LGPL
Submitter: None
Maintainer: LeonidasXIV
Last Packager: LeonidasXIV
Votes: 14
Popularity: 0.000000
First Submitted: 2008-11-16 11:42
Last Updated: 2016-11-18 19:13

Dependencies (4)

Required by (3)

Sources (1)

Latest Comments

LeonidasXIV commented on 2016-11-18 19:14

Thanks thorsten, I updated it to 2.5.3 which has fixes to work with OCaml 4.04.

thorsten commented on 2016-11-18 13:23

The package is not compiling for me.
$ makepkg -cf

==> Making package: ocaml-batteries 2.5.0-1 (Fri Nov 18 14:20:01 CET 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v2.5.0.tar.gz
==> Validating source files with sha512sums...
v2.5.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting v2.5.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
ocamlfind: Package `qcheck' not found
Build mode: shared
ocamlbuild -no-links -no-links -use-ocamlfind src/batteries.cma src/batteriesHelp.cmo src/batteriesThread.cma META src/batteries.cmxs src/batteriesThread.cmxs
Finished, 0 targets (0 cached) in 00:00:00.
ocamlfind: Package `bisect' not found
+ ocamlfind ocamlc -c -g -annot -w -3 -w -29 -package bigarray,num,str -package bytes -I src -I benchsuite -I qtest -I build -I testsuite -o src/batBytes.cmo src/batBytes.ml
File "src/batBytes.ml", line 1:
Error: The implementation src/batBytes.ml
does not match the interface src/batBytes.cmi:
Values do not match:
external length : bytes -> int = "%bytes_length"
is not included in
external length : t -> int = "%string_length"
Command exited with code 2.
Compilation unsuccessful after building 309 targets (308 cached) in 00:00:00.
make: *** [Makefile:78: all] Error 10
==> ERROR: A failure occurred in build().
Aborting...

$ pacman -Qs ocaml|grep ^local
local/camlp5-transitional 6.12-1
local/cppo 1.3.2-1
local/ocaml 4.04.0-1
local/ocaml-compiler-libs 4.04.0-1
local/ocaml-findlib 1.6.3-1
local/ocamlbuild 0.9.3-1

LeonidasXIV commented on 2016-10-20 19:29

Thanks Darksonn, I've updated the whole package to 2.5.0 which has some fixes for OCaml 4.03.

Darksonn commented on 2016-10-20 18:37

With the release of OCaml 4.03, the ocamlbuild executable has been split from the ocaml package, and the package "ocamlbuild" must be added to the dependencies for this to build.

The split has been mentioned in the release notes here:
https://ocaml.org/releases/4.03.html

LeonidasXIV commented on 2015-09-27 17:47

What is the error message on ARM? I currently don't have an ARM box to test.

orbifx commented on 2015-09-26 17:25

Any chance we can get this working for ARM? I'm willing to help.

LeonidasXIV commented on 2014-01-04 21:36

Thanks sitquietly, I updated the PKGBUILD with your suggestions.

sitquietly commented on 2014-01-04 21:22

With ocaml 4.01 you will need the batteries-2.1-ocaml-4.01.patch available here:
http://packages.gentoo.org/package/dev-ml/batteries and add to the PKGBUILD:

prepare() {
cd "batteries-$pkgver"
patch -Np1 -i ../batteries-2.1-ocaml-4.01.patch
}

source=(
"http://forge.ocamlcore.org/frs/download.php/1218/batteries-$pkgver.tar.gz"
'batteries-2.1-ocaml-4.01.patch'
)

npouillard commented on 2011-08-11 05:41

ocaml-batteries 1.4.0-1 uploaded, enjoy.

SerP commented on 2011-08-10 21:16

1.4.0 PKGBUILD
https://gist.github.com/1138293

All comments