Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. Summary: Incomplete packaging https://bugzilla.redhat.com/show_bug.cgi?id=785680 Summary: Incomplete packaging Product: Fedora Version: 16 Platform: x86_64 OS/Version: Linux Status: NEW Severity: high Priority: unspecified Component: ocaml-deriving AssignedTo: rjones@xxxxxxxxxx ReportedBy: 5764c029b688c1c0d24a2e97cd764f@xxxxxxxxx QAContact: extras-qa@xxxxxxxxxxxxxxxxx CC: rjones@xxxxxxxxxx, fedora-ocaml-list@xxxxxxxxxx Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: --- Created attachment 558296 --> https://bugzilla.redhat.com/attachment.cgi?id=558296 two files ... "Makefile" and "Main.ml" Description of problem: I cannot link libraries provided by "ocaml-deriving-devel" package. Which Version-Release number of selected component (if applicable): Fedora release 16 (Verne) How reproducible: always Steps to Reproduce: 1. sudo yum install ocaml-deriving-devel 2. tar xvzf deriving.tar.gz 2. cd deriving 3. make && ./main Actual results: ocamlc -c -pp "camlp4of -I /usr/lib64/ocaml/deriving pa_deriving.cma" -I /usr/lib64/ocaml/deriving nums.cma Main.ml Camlp4: Uncaught exception: DynLoader.Error ("pa_deriving.cma", "file not found in path") File "Main.ml", line 1, characters 0-1: Error: Preprocessor error make: *** [Main.cmo] Error 2 Expected results: ocamlc -c -pp "camlp4of -I ~/lib/godi/lib/ocaml/pkg-lib/deriving-ocsigen pa_deriving.cma" -I ~/lib/godi/lib/ocaml/pkg-lib/deriving-ocsigen nums.cma Main.ml ocamlc -o main -I ~/lib/godi/lib/ocaml/pkg-lib/deriving-ocsigen nums.cma deriving.cma Main.cmo len(s) = 15; s = test s' = {a = 30; b = "test"} Additional info: The following (relevant) file: /usr/lib64/ocaml/deriving/META has suspicious contents. name="deriving" version="0.1.1a" requires="%{camlp4}" description="%{description}" # need a syntax here XXX Compare it with analogous file /home/mkosik/lib/godi/lib/ocaml/pkg-lib/deriving-ocsigen/META provided by GODI: version = "0.2-ocsigen" description = "Deriving (patched for the Ocsigen project)" requires = "num" archive(byte) = "deriving.cma" archive(native) = "deriving.cmxa" package "syntax" ( requires(syntax) = "camlp4,unix" requires(syntax,toploop) += "deriving-ocsigen" archive(preprocessor,syntax) = "pa_deriving.cma" archive(syntax,toploop) = "pa_deriving.cma" package "base" ( requires(syntax) = "camlp4" archive(preprocessor,syntax) = "pa_deriving_common.cmo pa_deriving.cmo" archive(syntax,toploop) = "pa_deriving_common.cmo pa_deriving.cmo" ) ) package "syntax_tc" ( exists_if = "pa_deriving_tc.cma" requires(syntax) = "camlp4,unix,type-conv" requires(syntax,toploop) += "deriving-ocsigen" archive(preprocessor,syntax) = "pa_deriving_tc.cma" archive(syntax,toploop) = "pa_deriving_tc.cma" package "base" ( requires(syntax) = "camlp4" archive(preprocessor,syntax) = "pa_deriving_common.cmo pa_deriving_tc.cmo" archive(syntax,toploop) = "pa_deriving_common.cmo pa_deriving_tc.cmo" ) ) -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ ocaml-devel mailing list ocaml-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/ocaml-devel