Review request for bringing back ocaml-calimages
by Bruno Wolff III
I want to bring back ocaml-calimages since it is a build dependency
of free tennis. I used the current ocaml template mixed a bit with the
previous spec file to create the proposed new spec file.
While I'd really like an official review, even a quick looksee from someone
that works with ocaml regularly (which I don't), for obvious issues
would be appreciated.
Thanks.
The review bug is at:
https://bugzilla.redhat.com/show_bug.cgi?id=785727
11 years, 7 months
[Bug 785680] New: Incomplete packaging
by Red Hat Bugzilla
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(a)redhat.com
ReportedBy: 5764c029b688c1c0d24a2e97cd764f(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: rjones(a)redhat.com, fedora-ocaml-list(a)redhat.com
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.
11 years, 7 months