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

datalog 0.6 is not compatible with ocaml 5 #22939

Merged
merged 1 commit into from
Jan 12, 2023
Merged

datalog 0.6 is not compatible with ocaml 5 #22939

merged 1 commit into from
Jan 12, 2023

Conversation

mseri
Copy link
Member

@mseri mseri commented Jan 12, 2023

#=== ERROR while compiling datalog.0.6 ========================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/datalog.0.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build @install -p datalog -j 71
# exit-code            1
# env-file             ~/.opam/log/datalog-7-97f55d.env
# output-file          ~/.opam/log/datalog-7-97f55d.out
### output ###
# (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -w -40 -g -bin-annot -I src/bottom_up_cli/.datalog_cli.eobjs/byte -I src/bottom_up/.datalog.objs/byte -no-alias-deps -o src/bottom_up_cli/.datalog_cli.eobjs/byte/datalog_cli.cmo -c -impl src/bottom_up_cli/datalog_cli.ml)
# File "src/bottom_up_cli/datalog_cli.ml", line 59, characters 6-24:
# 59 |       Pervasives.compare a b
#            ^^^^^^^^^^^^^^^^^^
# Error: Unbound module Pervasives
# (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -w -40 -color always -safe-string -warn-error -a+8 -g -bin-annot -I src/top_down/.datalog_top_down.objs/byte -I src/bottom_up/.datalog.objs/byte -intf-suffix .ml -no-alias-deps -open Datalog_top_down__ -o src/top_down/.datalog_top_down.objs/byte/datalog_top_down.cmo -c -impl src/top_down/Datalog_top_down.ml)
# File "src/top_down/Datalog_top_down.ml", line 1681, characters 10-17:
# 1681 |       let new_var =
#                  ^^^^^^^
# Warning 26 [unused-var]: unused variable new_var.
# (cd _build/default && /home/opam/.opam/5.0/bin/ocamlopt.opt -w -40 -color always -safe-string -warn-error -a+8 -g -I src/top_down/.datalog_top_down.objs/byte -I src/top_down/.datalog_top_down.objs/native -I src/bottom_up/.datalog.objs/byte -I src/bottom_up/.datalog.objs/native -intf-suffix .ml -no-alias-deps -open Datalog_top_down__ -o src/top_down/.datalog_top_down.objs/native/datalog_top_down.cmx -c -impl src/top_down/Datalog_top_down.ml)
# File "src/top_down/Datalog_top_down.ml", line 1681, characters 10-17:
# 1681 |       let new_var =
#                  ^^^^^^^
# Warning 26 [unused-var]: unused variable new_var.

Seen on #22867 revdeps

```

#=== ERROR while compiling datalog.0.6 ========================================#
# context              2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/datalog.0.6
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build @install -p datalog -j 71
# exit-code            1
# env-file             ~/.opam/log/datalog-7-97f55d.env
# output-file          ~/.opam/log/datalog-7-97f55d.out
### output ###
# (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -w -40 -g -bin-annot -I src/bottom_up_cli/.datalog_cli.eobjs/byte -I src/bottom_up/.datalog.objs/byte -no-alias-deps -o src/bottom_up_cli/.datalog_cli.eobjs/byte/datalog_cli.cmo -c -impl src/bottom_up_cli/datalog_cli.ml)
# File "src/bottom_up_cli/datalog_cli.ml", line 59, characters 6-24:
# 59 |       Pervasives.compare a b
#            ^^^^^^^^^^^^^^^^^^
# Error: Unbound module Pervasives
# (cd _build/default && /home/opam/.opam/5.0/bin/ocamlc.opt -w -40 -color always -safe-string -warn-error -a+8 -g -bin-annot -I src/top_down/.datalog_top_down.objs/byte -I src/bottom_up/.datalog.objs/byte -intf-suffix .ml -no-alias-deps -open Datalog_top_down__ -o src/top_down/.datalog_top_down.objs/byte/datalog_top_down.cmo -c -impl src/top_down/Datalog_top_down.ml)
# File "src/top_down/Datalog_top_down.ml", line 1681, characters 10-17:
# 1681 |       let new_var =
#                  ^^^^^^^
# Warning 26 [unused-var]: unused variable new_var.
# (cd _build/default && /home/opam/.opam/5.0/bin/ocamlopt.opt -w -40 -color always -safe-string -warn-error -a+8 -g -I src/top_down/.datalog_top_down.objs/byte -I src/top_down/.datalog_top_down.objs/native -I src/bottom_up/.datalog.objs/byte -I src/bottom_up/.datalog.objs/native -intf-suffix .ml -no-alias-deps -open Datalog_top_down__ -o src/top_down/.datalog_top_down.objs/native/datalog_top_down.cmx -c -impl src/top_down/Datalog_top_down.ml)
# File "src/top_down/Datalog_top_down.ml", line 1681, characters 10-17:
# 1681 |       let new_var =
#                  ^^^^^^^
# Warning 26 [unused-var]: unused variable new_var.
```
@mseri mseri merged commit d1e94a4 into master Jan 12, 2023
@mseri mseri deleted the mseri-patch-4 branch January 12, 2023 15:05
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.

1 participant