Package Details: ocaml-base 0.14.1-1

Git Clone URL: https://aur.archlinux.org/ocaml-base.git (read-only, click to copy)
Package Base: ocaml-base
Description: Full standard library replacement for OCaml
Upstream URL: https://github.com/janestreet/base
Keywords: base function library ocaml replacement standard
Licenses: MIT
Submitter: J5lx
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 11
Popularity: 0.000012
First Submitted: 2018-06-27 19:45
Last Updated: 2021-01-16 13:47

Pinned Comments

dpeukert commented on 2020-04-09 22:09

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/ocaml-base

Latest Comments

1 2 3 4 5 Next › Last »

dpeukert commented on 2021-01-23 10:20

@politas Rebuilding ocaml-sexplib0 should fix this.

politas commented on 2021-01-19 07:02

After upgrade to Linux 5.10, I'm getting this:

Command [313] exited with code 2:
$ (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.base.objs/byte -I /usr/lib/ocaml/sexplib0 -I compiler-stdlib/src/.caml.objs/byte -I compiler-stdlib/src/.caml.objs/native -I hash_types/src/.base_internalhash_types.objs/byte -I hash_types/src/.base_internalhash_types.objs/native -I shadow-stdlib/src/.shadow_stdlib.objs/byte -I shadow-stdlib/src/.shadow_stdlib.objs/native -no-alias-deps -open Base__ -o src/.base.objs/byte/base__Sexp.cmi -c -intf src/sexp.mli)
File "src/sexp.mli", line 1:
Error: /usr/lib/ocaml/sexplib0/sexplib0.cmi
       is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.

When attempting to build 0.14.1-1

dpeukert commented on 2020-04-26 06:27

@mutantmonkey Thanks, fixed.

mutantmonkey commented on 2020-04-26 05:18

This package is missing a dependency on dune-configurator:

Running[236]: (cd _build/default/hash_types/src && /usr/sbin/ocamlc.opt -g -ccopt -O2 -ccopt -fno-strict-aliasing -ccopt -fwrapv -ccopt -fPIC -ccopt -g -o internalhash_stubs.o internalhash_stubs.c)
File "src/discover/dune", line 1, characters 41-58:
1 | (executables (names discover) (libraries dune.configurator)
                                             ^^^^^^^^^^^^^^^^^
Error: Library "dune.configurator" not found.
Hint: try: dune external-lib-deps --missing -p base --verbose @install

dpeukert commented on 2020-04-09 22:09

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/ocaml-base

jmvazquezes commented on 2020-03-22 18:19

@dpeukert Thanks, it works now. But I have other problems with ocaml packages. I had to install first ocaml-easy-format, after I installed ocalm-biniou and at last ocaml-yojson

dpeukert commented on 2020-03-21 23:25

@jmvazquezes Can you try now? There was a rebuild of dune that might have solved your problem.

jmvazquezes commented on 2020-03-21 12:34

Compilation fail in: Running[615]: (cd _build/default && /usr/bin/ocamlopt.opt Error in build() Makepkg does't able to compile ocaml-base

ogghi commented on 2019-12-03 05:21

Hi Jakob, thanks a lot, that was what was missing here! Works just fine :) Thankssss!

J5lx commented on 2019-12-02 15:39

Please check if your system has a directory ~/.opam. If it does, remove or rename it and retry building this package. If the directory doesn’t exist, please post the full build output.

Alternatively, try building this package in a clean chroot. In my experience this avoids many possible build failures caused by conflicting system configuration, especially for OCaml packages.