Bug 1737414
| Summary: | missing OCaml libraries | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pino Toscano <ptoscano> |
| Component: | ocaml-dune | Assignee: | Andy Li <andy> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 30 | CC: | andy, rjones, rosser.bjr |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ocaml-dune-1.7.3-2.fc30 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-15 18:09:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Pino Toscano
2019-08-05 10:35:03 UTC
Which libraries are we missing exactly? Can you show me an example program which fails (eg to compile) with our dune package? Just trying to get an idea of how much work this involves. (In reply to Richard W.M. Jones from comment #1) > Which libraries are we missing exactly? The whole Dune.Configurator, although I suspect it requires a bigger internal library. For comparison, check the content of libdune-ocaml-dev in Debian: https://packages.debian.org/sid/amd64/libdune-ocaml-dev/filelist > Can you show me an example program which > fails (eg to compile) with our dune package? One is mentioned in the Configuration documentation: https://dune.readthedocs.io/en/latest/configurator.html Another one is mentioned w.r.t use pkg-config for discover C dependencies: https://dune.readthedocs.io/en/latest/quick-start.html#defining-a-library-with-c-stubs-using-pkg-config So the problem here is pretty simple: dune/jbuilder requires (or required-- it might be different now) opam-installer to install itself, which itself is *built* using dune/jbuilder. Thus in the "install" section of the package, we install everything by hand. So when we wrote this originally, there were no libraries to install, and the spec was never updated to install them. I think this should be pretty simple to fix. Will work at getting it working in Rawhide and then update the Fedora 30 package too. FEDORA-2019-aeca13759e has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-aeca13759e ocaml-dune-1.7.3-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-aeca13759e ocaml-dune-1.7.3-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |