Bug 439652

Summary: ocaml-zip needs to require Unix in its META file
Product: [Fedora] Fedora Reporter: Hezekiah M. Carty <hez>
Component: ocaml-zipAssignee: Richard W.M. Jones <rjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-31 11:13:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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