thierry-martinez/pyml

Error: No implementations provided for the following modules: # Seq referenced from /home/user/.opam/4.06.1/lib/stdcompat/stdcompat.cmxa(Stdcompat__seq)

XVilka opened this issue · 7 comments

opam install pyml
The following actions will be performed:
  ∗  install stdcompat 5                      [required by pyml]
  ∗  install pyml      20180530
===== ∗  2 =====
Do you want to continue ? [Y/n] Y

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[pyml] Archive in cache
[stdcompat] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
∗  installed stdcompat.5
[ERROR] The compilation of pyml failed at "make all pymltop PREFIX=/home/user/.opam/4.06.1".
Processing  2/2: [pyml: make uninstall]
#=== ERROR while installing pyml.20180530 =====================================#
# opam-version 1.2.2
# os           linux
# command      make all pymltop PREFIX=/home/user/.opam/4.06.1
# path         /home/user/.opam/4.06.1/build/pyml.20180530
# compiler     4.06.1
# exit-code    2
# env-file     /home/user/.opam/4.06.1/build/pyml.20180530/pyml-24575-d8a4ae.env
# stdout-file  /home/user/.opam/4.06.1/build/pyml.20180530/pyml-24575-d8a4ae.out
# stderr-file  /home/user/.opam/4.06.1/build/pyml.20180530/pyml-24575-d8a4ae.err
### stdout ###
# [...]
# cp pyml_arch_linux.ml pyml_arch.ml
# ocamlfind ocamlc -I /home/user/.opam/4.06.1/lib/stdcompat -c pyutils.mli -o pyutils.cmi
# ocamlfind ocamlopt -I /home/user/.opam/4.06.1/lib/stdcompat -c pyutils.ml -o pyutils.cmx
# ocamlfind ocamlopt -I /home/user/.opam/4.06.1/lib/stdcompat -c generate.ml -o generate.cmx
# ocamlfind ocamlopt -I /home/user/.opam/4.06.1/lib/stdcompat stdcompat.cmxa unix.cmxa pyutils.cmx generate.cmx -o generate
# ocamlfind ocamlc -I /home/user/.opam/4.06.1/lib/stdcompat -c pyml_arch.mli -o pyml_arch.cmi
# ocamlfind ocamlc -I /home/user/.opam/4.06.1/lib/stdcompat -c pyml_arch.ml -o pyml_arch.cmo
# ocamlfind ocamlc -I /home/user/.opam/4.06.1/lib/stdcompat -c pyutils.ml -o pyutils.cmo
# ocamlfind ocamlc -I /home/user/.opam/4.06.1/lib/stdcompat -c pytypes.ml -o pytypes.cmo
# Makefile:291: recipe for target 'pytypes.cmo' failed
### stderr ###
# File "_none_", line 1:
# Error: No implementations provided for the following modules:
#          Seq referenced from /home/user/.opam/4.06.1/lib/stdcompat/stdcompat.cmxa(Stdcompat__seq)
# File "pytypes.ml", line 1:
# Error: Could not find the .cmi file for interface pytypes.mli.
# make: *** [pytypes.cmo] Error 2



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
  ∗  install pyml 20180530
The following changes have been performed
  ∗  install stdcompat 5

The former state can be restored with:
    opam switch import "~/.opam/4.06.1/backup/state-20180721094318.export"

same error here on 4.06.0

follow up: opam install works on 4.7.0

So? Any updates on this one? Just retried with a fresh opam and clean opam installation.

Ping?

mseri commented

This is still happening. Just seen on opam repository:


#=== ERROR while compiling pyml.20180530 ======================================#
# context              2.0.4 | linux/x86_64 | ocaml-base-compiler.4.06.1 | git+file:///home/opam/opam-repository
# path                 ~/.opam/4.06/.opam-switch/build/pyml.20180530
# command              /usr/bin/make all pymltop PREFIX=/home/opam/.opam/4.06
# exit-code            2
# env-file             ~/.opam/log/pyml-15-f2f3ec.env
# output-file          ~/.opam/log/pyml-15-f2f3ec.out
### output ###
# cp pyml_arch_linux.ml pyml_arch.ml
# ocamlfind ocamlc -I /home/opam/.opam/4.06/lib/stdcompat -c pyutils.mli -o pyutils.cmi
# ocamlfind ocamlopt -I /home/opam/.opam/4.06/lib/stdcompat -c pyutils.ml -o pyutils.cmx
# ocamlfind ocamlopt -I /home/opam/.opam/4.06/lib/stdcompat -c generate.ml -o generate.cmx
# ocamlfind ocamlopt -I /home/opam/.opam/4.06/lib/stdcompat stdcompat.cmxa unix.cmxa pyutils.cmx generate.cmx -o generate
# File "_none_", line 1:
# Error: No implementations provided for the following modules:
#          Seq referenced from /home/opam/.opam/4.06/lib/stdcompat/stdcompat.cmxa(Stdcompat__seq)
# ocamlfind ocamlc -I /home/opam/.opam/4.06/lib/stdcompat -c pyml_arch.mli -o pyml_arch.cmi
# ocamlfind ocamlc -I /home/opam/.opam/4.06/lib/stdcompat -c pyml_arch.ml -o pyml_arch.cmo
# ocamlfind ocamlc -I /home/opam/.opam/4.06/lib/stdcompat -c pyutils.ml -o pyutils.cmo
# ocamlfind ocamlc -I /home/opam/.opam/4.06/lib/stdcompat -c pytypes.ml -o pytypes.cmo
# File "pytypes.ml", line 1:
# Error: Could not find the .cmi file for interface pytypes.mli.
# Makefile:291: recipe for target 'pytypes.cmo' failed
# make: *** [pytypes.cmo] Error 2

Indeed I just opened #32 which is likely to be a duplicate.

Sorry for having missed this old issue: this issue was incidently fixed in 4cc922a by using ocamlfind package resolution to compile ./generate. The next release of pyml (ocaml/opam-repository#14363) will fix this. Thank you for report and sorry for the (very!) long delay!