Thanks sitquietly, I updated the PKGBUILD with your suggestions.
Search Criteria
Package Details: ocaml-batteries 2.3.1-1
Package Actions
| Package Base: | ocaml-batteries |
|---|---|
| Description: | A comprehensive standard library for OCaml |
| Upstream URL: | https://forge.ocamlcore.org/projects/batteries/ |
| Category: | lib |
| Licenses: | |
| Submitter: | None |
| Maintainer: | LeonidasXIV |
| Last Packager: | LeonidasXIV |
| Votes: | 14 |
| First Submitted: | 2008-11-16 11:42 |
| Last Updated: | 2014-11-09 23:46 |
Latest Comments
Comment by LeonidasXIV
Comment by sitquietly
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'
)
Comment by npouillard
ocaml-batteries 1.4.0-1 uploaded, enjoy.
Comment by SerP
1.4.0 PKGBUILD
https://gist.github.com/1138293
Anonymous comment
Hi ouroboros
This issue is the result of the following bug that was introduced in ocaml 3.12:
http://caml.inria.fr/mantis/view.php?id=5080
The 2 build issues which currently affect this package are resolved by the following 2 commits to the batteries git repo.
http://github.com/ocaml-batteries-team/batteries-included/commit/dbe3064315d723c0838856ba13527ca6bbaf57e7
http://github.com/ocaml-batteries-team/batteries-included/commit/251d69cd348e964774d60016331fe9b7f158798d
There should be a new release of batteries soonish with these fixes included.
Anonymous comment
Hello,
I can’t build the package. My build output looks like this (I hope it’s ok to just paste it here):
==> Starting build()...
test ! -e src/batteries_config.ml || rm src/batteries_config.ml
ocamlbuild syntax.otarget byte.otarget src/batteries_help.cmo META shared.otarget
Finished, 1 target (0 cached) in 00:00:00.
+ ocamlfind ocamldep -package camomile,num,str -package camlp4.lib -pp camlp4of -pp camlp4of -modules src/syntax/pa_strings/pa_format.ml > src/syntax/pa_strings/pa_format.ml.depends
File "src/syntax/pa_strings/pa_format.ml", line 249, characters 19-22:
While expanding quotation "ctyp" in a position of "patt":
Parse error: EOI expected after [quotation of type] (in [quotation of type])
Preprocessing error on file src/syntax/pa_strings/pa_format.ml
Command exited with code 2.
Compilation unsuccessful after building 9 targets (0 cached) in 00:00:01.
make: *** [all] Error 10
Aborting...
error: Build faile
So far, I haven’t been able to find anything related to this using Google, so some help would be appreciated.