Bug 439652 - ocaml-zip needs to require Unix in its META file
Summary: ocaml-zip needs to require Unix in its META file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-zip
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-30 01:08 UTC by Hezekiah M. Carty
Modified: 2008-03-31 11:13 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-03-31 11:13:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Hezekiah M. Carty 2008-03-30 01:08:19 UTC
Description of problem:
ocaml-zip does not list the Unix module in its META file under Fedora.  The Unix
module is required.

Version-Release number of selected component (if applicable):
[hcarty@fry gsl]$ rpm -qa |grep ocaml-zip
ocaml-zip-devel-1.03-2.fc9.i386
ocaml-zip-1.03-2.fc9.i386

How reproducible:
Every time

Steps to Reproduce:
[hcarty@fry gsl]$ rlwrap ocaml
        Objective Caml version 3.10.1

# #use "topfind";;
- : unit = ()
(snipped findlib output)
# #require "zip";;
/usr/lib/ocaml/zip: added to search path
/usr/lib/ocaml/zip/zip.cma: loaded
Reference to undefined global `Unix'
  
Actual results:
ocaml-zip does not load properly

Expected results:
ocaml-zip loads properly

Additional info:
More simple OCaml library testing.

Comment 1 Richard W.M. Jones 2008-03-31 11:13:47 UTC
Fixed in Rawhide / ocaml-zip 1.03-3.

  http://koji.fedoraproject.org/koji/taskinfo?taskID=539519

$ ocaml
        Objective Caml version 3.10.1

# #use "topfind";;
- : unit = ()
Findlib has been successfully loaded. Additional directives:
  #require "package";;      to load a package
  #list;;                   to list the available packages
  #camlp4o;;                to load camlp4 (standard syntax)
  #camlp4r;;                to load camlp4 (revised syntax)
  #predicates "p,q,...";;   to set these predicates
  Topfind.reset();;         to force that packages will be reloaded
  #thread;;                 to enable threads

- : unit = ()
# #require "zip";;
/usr/lib/ocaml/unix.cma: loaded
/usr/lib/ocaml/zip: added to search path
/usr/lib/ocaml/zip/zip.cma: loaded



Note You need to log in before you can comment on or make changes to this bug.