Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/parse_specialcasing sometimes fails #71

Open
kit-ty-kate opened this issue Apr 13, 2018 · 2 comments
Open

tools/parse_specialcasing sometimes fails #71

kit-ty-kate opened this issue Apr 13, 2018 · 2 comments

Comments

@kit-ty-kate
Copy link
Contributor

While testing several variants of ocaml for the new upcoming OCaml 4.07 I noticed a weird failure happening inconsistently when trying to build camomile.1.0.1:

#=== ERROR while compiling camomile.1.0.1 =====================================#
# context              2.0.0~rc | linux/x86_64 | ocaml-variants.4.07.0+beta2+flambda | file:///home/opam/opam-repository
# path                 ~/.opam/4.07.0+beta2+flambda/.opam-switch/build/camomile.1.0.1
# command              ~/.opam/4.07.0+beta2+flambda/bin/jbuilder build -p camomile -j 63
# exit-code            1
# env-file             ~/.opam/log/camomile-1-882bca.env
# output-file          ~/.opam/log/camomile-1-882bca.out
### output ###
# File "Camomile/jbuild", line 4, characters 0-96:
# Warning: File installConfig.ml is both generated by a rule and present in the source tree.
# As a result, the rule is currently ignored, however this will become an error in the future.
# To keep the current behavior and get rid of this warning, add a field (fallback) to the rule.
#    ocamlyacc Camomile/internal/uReStrParser.{ml,mli}
# 4 shift/reduce conflicts.
# parse_specialcasing Camomile/database/special_casing.mar (exit 2)
# (cd _build/default/Camomile && ./tools/parse_specialcasing.exe database unidata/SpecialCasing.txt)
# Fatal error: exception Not_found

Full log here: http://51.145.134.72:8080/4.07.0+beta2+flambda-Oclassic/bad/zed.1.6
I have no idea what is causing this since it only happened once and I couldn't reproduce it afterwards.

cc @mshinwell in case this has something to do with -Oclassic used here (but I cannot reproduce it, I'll try one more time)

@yoriyuki
Copy link
Owner

Could you take a backtrace for this exception?

Looking to the full log, parse_unidata is not invoked before parse_specialcasing, which shouldn't. Then, parse_specialcasing cannot find a necessary data and throws Not_found.

But I think the dependency is correctly described in jbuild. I don't know what's going on here.

@kit-ty-kate
Copy link
Contributor Author

kit-ty-kate commented Apr 13, 2018

@yoriyuki as i said I didn't manage to reproduce it yet but as soon as I do I'll send you the backtrace.

@rgrinberg has the (deps (alias (database))) semantics been changed recently ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants