Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: ocaml-sqlite-devel doesn't work properly without sqlite-devel, but it's not a dependency
https://bugzilla.redhat.com/show_bug.cgi?id=603230
Summary: ocaml-sqlite-devel doesn't work properly without sqlite-devel, but it's not a dependency Product: Fedora Version: 13 Platform: x86_64 OS/Version: Linux Status: NEW Severity: low Priority: low Component: ocaml-sqlite AssignedTo: rjones@redhat.com ReportedBy: bugzilla@mugon.org QAContact: extras-qa@fedoraproject.org CC: rjones@redhat.com, fedora-ocaml-list@redhat.com Classification: Fedora
Description of problem:
Programs that use ocaml-sqlite-devel cannot be compiled to native code with ocamlfind unless sqlite-devel is installed. However, ocaml-sqlite-devel does not list sqlite-devel as a dependency. It probably should.
Version-Release number of selected component (if applicable): 1.5.6-3.fc13
Steps to Reproduce:
1. Ensure neither ocaml-sqlite-devel nor sqlite-devel is installed. 2. Install ocaml-sqlite-devel. 3. Create an empty file called "empty.ml". 4. Execute "ocamlfind ocamlopt -package sqlite3 -linkpkg empty.ml".
Actual results:
/usr/bin/ld: cannot find -lsqlite3 collect2: ld returned 1 exit status File "caml_startup", line 1, characters 0-1: Error: Error during linking
Expected results:
Successful creation of a.out
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603230
--- Comment #1 from Bug Zapper triage@lists.fedoraproject.org 2011-06-02 07:10:52 EDT ---
This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603230
Bug Zapper triage@lists.fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WONTFIX Flag|needinfo?(bugzilla@mugon.or | |g) | Last Closed| |2011-06-27 14:02:43
--- Comment #2 from Bug Zapper triage@lists.fedoraproject.org 2011-06-27 14:02:43 EDT ---
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603230
Michael Ekstrand michael@elehack.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |ASSIGNED CC| |michael@elehack.net Version|13 |15 Resolution|WONTFIX | Keywords| |Reopened
--- Comment #3 from Michael Ekstrand michael@elehack.net 2011-06-28 11:25:16 EDT --- I just checked, and this bug is still present in F15.
Also, the ocaml-sqlite-devel package does not depend on either 'ocaml' or 'ocaml-findlib'; should it depend on these packages so that it can actually do something, or is it assumed that the user has OCaml installed?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603230
--- Comment #4 from Richard W.M. Jones rjones@redhat.com 2011-06-28 13:35:36 EDT --- (In reply to comment #3)
I just checked, and this bug is still present in F15.
Also, the ocaml-sqlite-devel package does not depend on either 'ocaml' or 'ocaml-findlib'; should it depend on these packages so that it can actually do something, or is it assumed that the user has OCaml installed?
It should get the dependencies it needs automatically. RPM itself knows about OCaml and (should) all deps like ocaml(ModuleName) = MD5SUM, ocaml(runtime) = VERSION.
For the current ocaml-sqlite package from Fedora 15, everything looks OK to me:
$ rpm -qR ocaml-sqlite rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 ocaml(Array) = 720848e0b508273805ef38d884a57618 ocaml(Buffer) = 40bf652f22a33a7cfa05ee1dd5e0d7e4 ocaml(Callback) = e28543018d3991d2a7e9e4233bc16727 ocaml(Int32) = c91c0bbb9f7670b10cdc0f2dcc57c5f9 ocaml(Int64) = 8f09e1331fe8af2d7b954585551cbe4f ocaml(Obj) = 3aeb33d11433c95bb62053c65665eb76 ocaml(Pervasives) = db723a1798b122e08919a2bfed062514 ocaml(Printf) = 55250c391e05a095d3696890d0d554a2 ocaml(String) = 06ab5e6944c47322b9d305c0aa0b07ff ocaml(runtime) = 3.12.0 rpmlib(PayloadIsXz) <= 5.2-1
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603230
--- Comment #5 from Richard W.M. Jones rjones@redhat.com 2011-06-28 13:36:27 EDT --- The reported bug is a bit different though. ocaml-sqlite-devel needs a dependency on sqlite-devel (for some reason, not quite sure why).
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603230
--- Comment #6 from Michael Ekstrand michael@elehack.net 2011-06-28 14:16:12 EDT --- With respect to the OCaml dependencies, it mostly surprised me that the ocaml-sqlite-devel package does not Require: the OCaml compiler (which seems to be ocaml(compiler)), as it seems useless without it. I found this while trying to verify the continued presence of this bug in a mock chroot.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=603230
Stéphane Glondu steph@glondu.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |steph@glondu.net
--- Comment #7 from Stéphane Glondu steph@glondu.net 2011-08-19 06:37:26 EDT --- (In reply to comment #5)
The reported bug is a bit different though. ocaml-sqlite-devel needs a dependency on sqlite-devel (for some reason, not quite sure why).
Linking against sqlite3.cmxa means linking against -lsqlite3. I don't know about Fedora, but in Debian, the .so files (actually, links, without the version appended) are provided by -dev packages. The -dev package is also probably needed to link a custom bytecode executable.
ocaml-devel@lists.fedoraproject.org