[Bug 785680] META file is wrong in ocaml-deriving package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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=785680

--- Comment #6 from Matej Košík <5764c029b688c1c0d24a2e97cd764f@xxxxxxxxx> 2012-02-01 09:31:00 EST ---
(In reply to comment #3)
> This still fails:
> 
> Camlp4: Uncaught exception: DynLoader.Error ("pa_deriving.cma", "file not found
> in path")
> 
> However there is no pa_deriving.cma file built by the upstream
> source, nor any pa_deriving.ml file that I can see.  So we
> must be building from a different upstream source from whatever
> GODI is using and/or deriving has been forked.
> 
> Debian are packaging this as a separate package:
> https://github.com/jaked/deriving
> but even this doesn't have pa_deriving ...

deriving.tar.gz is not supposed to provide pa_deriving.cma.
It only tests whether it exists on the system and if yes, it tries to link it.

(I am sorry for the confusion. I should have chosen different name for the
tarball.)

I think that *deriving* packages (published in Fedora repositories) do not
actually provide all the files that are needed.

There might be a good reason to split things into two packages:
- ocaml-deriving   (e.g.install this if you need to run programs
                    whose implementation takes advantage of the "deriving"
                    syntactic sugar)
- ocaml-deriving-devel   (e.g. install this if you want to create your own
                          program that takes advantage of the "deriving"
                          syntactic sugar)
but I do not understand why "deriving.cma" is in one package and "derving.cmxa"
is in the other. Which one should be chosen depends on the fact whether
programmer prefers "ocamlc" or "ocamlcopt".

Even if I install both---ocaml-deriving as well as ocaml-deriving-devel---I
still miss the "pa_deriving.cma". I guess (I am not sure) this is the file that
tells camlp4 how to convert deriving-related syntactic sugar to basic Ocaml
constructs.

GODI provides this file.

-- 
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



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux