You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Libraries using dune-site can be used in non-dune projects.
Actual Behavior
dune-site-depending libraries depend on a Dune_site__Dune_site_data module whose implementation does not exist.
Reproduction
In Debian, virt-top depends on gettext which depends on dune-site. However, virt-top does not use dune (only ocamlfind) and the final linking step fails with:
File "_none_", line 1:
Error: No implementation provided for the following modules:
Dune_site__Dune_site_data referenced from Dune_site__Helpers (/usr/lib/x86_64-linux-gnu/ocaml/5.3.0/dune-site/dune_site.cmxa)
ocamlopt returned with exit code 2
My understanding is that, when using dune, this module is generated by dune. I'm not sure, and I did not investigate on why this is needed, but it this is the case, it looks like a defect somewhere.
Specifications
Version of dune (output of dune --version): 3.17.2
Version of ocaml (output of ocamlc --version): 5.3.0
Operating system (distribution and version): Debian sid
It is generated by dune, but only when it links the final binary. dune-site is indeed dune only and other build systems would have to provide their own implementation for this module.
Expected Behavior
Libraries using
dune-site
can be used in non-dune projects.Actual Behavior
dune-site
-depending libraries depend on aDune_site__Dune_site_data
module whose implementation does not exist.Reproduction
In Debian,
virt-top
depends ongettext
which depends ondune-site
. However,virt-top
does not usedune
(onlyocamlfind
) and the final linking step fails with:My understanding is that, when using
dune
, this module is generated bydune
. I'm not sure, and I did not investigate on why this is needed, but it this is the case, it looks like a defect somewhere.Specifications
dune
(output ofdune --version
): 3.17.2ocaml
(output ofocamlc --version
): 5.3.0Additional information
gettext
: 0.5.0virt-top
: 1.1.1The text was updated successfully, but these errors were encountered: