Bug 1026991

Summary: ocaml-camlidl does not install META file for use with findlib
Product: [Fedora] Fedora Reporter: Alex Jordan <abjordan>
Component: ocaml-camlidlAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 19CC: fedora-ocaml-list, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ocaml-camlidl-1.05-18.fc19.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-10 07:45:43 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 Alex Jordan 2013-11-05 20:09:28 UTC
Description of problem:
The ocaml-camlidl and ocaml-camlidl-devel packages do not contain a META file to allow it to be used with findlib (see http://projects.camlcity.org/projects/findlib.html). Findlib is "the de-facto standard for library management in O'Caml" and many open source projects depend on findlib in order to handle O'Caml library dependencies.

Version-Release number of selected component (if applicable):
Version 1.05, Release 18.fc19

How reproducible:
Always

Steps to Reproduce:
1. Install ocaml-camlidl, ocaml-camlidl-devel, and ocaml-findlib packages
2. Run ocamlfind query camlidl


Actual results:
$ ocamlfind query camlidl
ocamlfind: Package `camlidl' not found

Expected results:
$ ocamlfind query camlidl
/usr/lib64/ocaml/.


Additional info:
A very basic META file to be installed at /usr/lib64/ocaml/META.camlidl would be something like this:
-----
name = "camlidl"
version = "1.05"
description = "A stub code generator and COM binding for Objective Caml (OCaml)"
directory = "."

archive(byte) = "com.cma"
archive(native) = "com.cmxa"
-----

Comment 1 Richard W.M. Jones 2013-11-05 21:49:41 UTC
Debian have:

# Courtesy of GODI 
description = "Stub generator"
version = "1.05"
directory = "^"
archive(byte) = "com.cma"
archive(native) = "com.cmxa"

which as the comment suggests comes from GODI.

Comment 2 Richard W.M. Jones 2013-11-05 22:00:58 UTC
Fixed in Rawhide.

$ ocamlfind query camlidl
/usr/lib64/ocaml
$ rpm -q ocaml-camlidl
ocaml-camlidl-1.05-22.fc21.x86_64

Comment 3 Fedora Update System 2013-11-05 22:10:03 UTC
ocaml-camlidl-1.05-19.fc20.1 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ocaml-camlidl-1.05-19.fc20.1

Comment 4 Fedora Update System 2013-11-05 22:10:09 UTC
ocaml-camlidl-1.05-18.fc19.1 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/ocaml-camlidl-1.05-18.fc19.1

Comment 5 Fedora Update System 2013-11-06 18:22:42 UTC
Package ocaml-camlidl-1.05-19.fc20.1:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ocaml-camlidl-1.05-19.fc20.1'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-20758/ocaml-camlidl-1.05-19.fc20.1
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-11-10 07:45:43 UTC
ocaml-camlidl-1.05-19.fc20.1 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-11-15 20:36:22 UTC
ocaml-camlidl-1.05-18.fc19.1 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.