Comments (4)
I'm having problems too, but with a different error on OpenBSD. OpenBSD 6.6 has OCaml 4.09 in packages right now (https://openports.se/lang/ocaml) and
$ opam install camomile
The following actions will be performed:
- install camomile 1.0.2
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[camomile.1.0.2] downloaded from cache at https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of camomile failed at "/home/kousu/.opam/default/bin/dune build -p camomile -j 1 @install".
#=== ERROR while compiling camomile.1.0.2 =====================================#
# context 2.0.5 | openbsd/x86_64 | ocaml-system.4.09.0 | https://opam.ocaml.org#0825e2d9
# path ~/.opam/default/.opam-switch/build/camomile.1.0.2
# command ~/.opam/default/bin/dune build -p camomile -j 1 @install
# exit-code 1
# env-file ~/.opam/log/camomile-20648-d0f245.env
# output-file ~/.opam/log/camomile-20648-d0f245.out
### output ###
# [...]
# camomilelocaledef Camomile/locales/zh_MO.mar (exit 2)
# (cd _build/default/Camomile && tools/camomilelocaledef.exe --file locales/zh_MO.txt locales)
# Fatal error: exception Stack overflow
# camomilelocaledef Camomile/locales/zh_TW.mar (exit 2)
# (cd _build/default/Camomile && tools/camomilelocaledef.exe --file locales/zh_TW.txt locales)
# Fatal error: exception Stack overflow
# camomilelocaledef Camomile/locales/zh_TW_STROKE.mar (exit 2)
# (cd _build/default/Camomile && tools/camomilelocaledef.exe --file locales/zh_TW_STROKE.txt locales)
# Fatal error: exception Stack overflow
# camomilelocaledef Camomile/locales/zh__PINYIN.mar (exit 2)
# (cd _build/default/Camomile && tools/camomilelocaledef.exe --file locales/zh__PINYIN.txt locales)
# Fatal error: exception Stack overflow
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build camomile 1.0.2
+-
- No changes have been performed
from camomile.
Does not compile with ocaml-4.12:
dune build @install
File "Camomile/internal/byte_labeled_dag.ml", line 90, characters 29-47:
90 | let comp (s1, _) (s2, _) = Pervasives.compare s1 s2 in
^^^^^^^^^^^^^^^^^^
Error (alert deprecated): module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "Camomile/public/oOChannel.mli", line 116, characters 22-43:
116 | class of_in_channel : Pervasives.in_channel -> char_input_channel
^^^^^^^^^^^^^^^^^^^^^
Error (alert deprecated): module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "Camomile/public/oOChannel.mli", line 119, characters 23-45:
119 | class of_out_channel : Pervasives.out_channel -> char_output_channel
^^^^^^^^^^^^^^^^^^^^^^
Error (alert deprecated): module Stdlib.Pervasives
Use Stdlib instead.
from camomile.
Fatal error: exception Stack overflow
I resolved this error (camomile 1.0.2, OpenBSD 7.0, OCaml 4.13.1) by increasing ulimits:
$ ulimit -n "$(ulimit -H -n)" -l "$(ulimit -H -l)" -s "$(ulimit -H -s)"
The adjustment to -n
was probably not necessary.
from camomile.
Thank you @mndrix :)
from camomile.
Related Issues (20)
- Update locale sensitive sorting algorithm (collation)
- Improve character encoding/decoding engine
- Remove/Rename deprecated functions HOT 1
- camomile doesn't compile with OCaml 4.06 HOT 3
- Stack overflow when building on ppc64, ppc64le HOT 5
- Use Uchar in stdlib
- Introduce quick check and use a modern unit test framework HOT 2
- Not_found exception thrown in Camomile/internal/database.ml HOT 7
- SEGV while processing zh locale HOT 2
- Reduce stack usage of ocamllocaldef HOT 6
- Proposal: Use topkg for releases. HOT 2
- v.1.0.0 opam CI test failure HOT 8
- 1.0.0 doesn't compile on macOS (OCaml 4.04.0) HOT 4
- Roadmap to 2.0.0 HOT 1
- tools/parse_specialcasing sometimes fails HOT 2
- Can`t install on OpenBSD HOT 4
- Camomile's config files are incompatible with js_of_ocaml
- Tests seem to fail in 1.0.2 HOT 2
- Does not compile with OCaml 5.0.0 switches in opam HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camomile.