Package Details: ocaml-batteries 3.6.1-1

Git Clone URL: https://aur.archlinux.org/ocaml-batteries.git (read-only, click to copy)
Package Base: ocaml-batteries
Description: A comprehensive standard library for OCaml
Upstream URL: https://github.com/ocaml-batteries-team/batteries-included
Licenses: LGPL
Submitter: None
Maintainer: Score_Under
Last Packager: Score_Under
Votes: 15
Popularity: 0.000000
First Submitted: 2008-11-16 11:42 (UTC)
Last Updated: 2023-08-05 10:42 (UTC)

Latest Comments

1 2 Next › Last »

catalin.hritcu commented on 2018-08-06 11:39 (UTC) (edited on 2018-08-06 12:17 (UTC) by catalin.hritcu)

Added ocaml-num dependency.

crave commented on 2018-07-29 22:44 (UTC)

Please add ocaml-num to the dependencies.

malet commented on 2018-07-27 12:39 (UTC)

Getting the following error:

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, 1 target (0 cached) in 00:00:00.
ocamlfind: Package `bisect' not found
+ ocamlfind ocamldep -package bigarray,num,str -package str -package bytes -modules build/prefilter.ml > build/prefilter.ml.depends
ocamlfind: Package `num' not found
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
make: *** [Makefile:93: all] Error 10

Probably needs ocaml-num as dependency

catalin.hritcu commented on 2017-10-22 19:47 (UTC) (edited on 2017-10-22 20:03 (UTC) by catalin.hritcu)

Getting the following error with OCaml 4.05.0 (the current default on Arch) + ocamlfind ocamlc -c -g -w -3 -package bigarray,num,str -package bytes -I src -I testsuite -I benchsuite -I build -I qtest -o src/batUnix.cmi src/batUnix.mli File "src/batUnix.mliv", line 253, characters 0-1167: Error: This variant or record definition does not match that of type Unix.open_flag The field O_KEEPEXEC is only present in the original definition. From the documentation of the batteries 2.7.0, that seems to be the first version that supports OCaml 4.05.0: https://github.com/ocaml-batteries-team/batteries-included/releases/tag/v2.7.0

LeonidasXIV commented on 2016-11-18 19:14 (UTC) (edited on 2016-11-18 19:14 (UTC) by LeonidasXIV)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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