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

javalib < 3.2.2 is not compatible with OCaml 5.0 (uses Pervasives) #25841

Merged
merged 1 commit into from May 13, 2024

Conversation

kit-ty-kate
Copy link
Member

#=== ERROR while compiling javalib.3.1 ========================================#
# context              2.2.0~beta3~dev | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/opam/opam-repository
# path                 ~/.opam/5.1/.opam-switch/build/javalib.3.1
# command              /usr/bin/make
# exit-code            2
# env-file             ~/.opam/log/javalib-19-6abb7f.env
# output-file          ~/.opam/log/javalib-19-6abb7f.out
### output ###
# /usr/bin/make -C src
# make[1]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/javalib.3.1/src'
# ocamllex jManifest.mll
# 13 states, 340 transitions, table size 1438 bytes
# /home/opam/.opam/5.1/bin/ocamlfind ocamldep -I ptrees ../Makefile.config ptrees/ptset.mli ptrees/ptmap.mli ptrees/genericSet.mli ptrees/genericMap.mli jLib.mli jBasics.mli jBasicsLow.mli jSignature.mli jCode.mli jClassLow.mli jClass.mli jDumpBasics.mli jUnparseSignature.mli jDumpLow.mli jParseCode.mli jInstruction.mli jUnparse.mli jParseSignature.mli jParse.mli jLow2High.mli jHigh2Low.mli jFile.mli jManifest.mli javalib.mli ptrees/ptset.ml ptrees/ptmap.ml ptrees/genericSet.ml ptrees/genericMap.ml jLib.ml jBasics.ml jBasicsLow.ml jSignature.ml jCode.ml jClass.ml jDumpBasics.ml jParseCode.ml jInstruction.ml jUnparseSignature.ml jDumpLow.ml jHigh2Low.ml jUnparse.ml jParseSignature.ml jLow2High.ml jParse.ml jFile.ml jManifest.ml jPrint.ml javalib.ml > .depend
# /home/opam/.opam/5.1/bin/ocamlfind ocamlc -g -w Aer -annot -package unix,str,extlib,zip -I ptrees -c ptrees/ptset.mli
# File "_none_", line 1:
# Alert ocaml_deprecated_cli: Setting a warning with a sequence of lowercase or uppercase letters,
# like 'Aer', is deprecated.
# Use the equivalent signed form: +A-e-r.
# Hint: Enabling or disabling a warning by its mnemonic name requires a + or - prefix.
# /home/opam/.opam/5.1/bin/ocamlfind ocamlc -g -w Aer -annot -package unix,str,extlib,zip -I ptrees -c ptrees/ptmap.mli
# File "_none_", line 1:
# Alert ocaml_deprecated_cli: Setting a warning with a sequence of lowercase or uppercase letters,
# like 'Aer', is deprecated.
# Use the equivalent signed form: +A-e-r.
# Hint: Enabling or disabling a warning by its mnemonic name requires a + or - prefix.
# 
# File "ptrees/ptset.ml", line 338, characters 12-30:
# 338 |   List.sort Pervasives.compare (elements_aux [] s)
#                   ^^^^^^^^^^^^^^^^^^
# Error: Unbound module Pervasives
# make[1]: *** [Makefile:61: ptrees/ptset.cmo] Error 2
# make[1]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/javalib.3.1/src'
# make: *** [Makefile:9: javalib] Error 2

@mseri mseri merged commit ccad3b4 into ocaml:master May 13, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

None yet

2 participants