FS#41907 - [camlp4] Not findable with findlib
Attached to Project:
Arch Linux
Opened by Marek Kubica (Leonidas) - Wednesday, 10 September 2014, 09:33 GMT
Last edited by Jürgen Hötzel (juergen) - Monday, 06 April 2015, 15:33 GMT
Opened by Marek Kubica (Leonidas) - Wednesday, 10 September 2014, 09:33 GMT
Last edited by Jürgen Hötzel (juergen) - Monday, 06 April 2015, 15:33 GMT
|
Details
Description: Since CamlP4 was split off from OCaml, the OPAM
package manager depends on CamlP4 being installed when
installing many packaged (when using the system OCaml, not a
custom-compiled one). Unfortunately, the CamlP4 packaged in
Arch Linux is missing the META files required for ocamlfind
to detect the presence and meta data of CamlP4.
Could you please add the ocamlfind registration data, so ocamlfind will be able to find the system-wide installation of CamlP4? Steps to reproduce: $ ocamlfind query -format %d camlp4 ocamlfind: Package `camlp4' not found $ ocamlfind query -format %d camlp4.lib ocamlfind: Package `camlp4.lib' not found |
This task depends upon
Closed by Jürgen Hötzel (juergen)
Monday, 06 April 2015, 15:33 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in camlp4 4.02.1+3-2
Monday, 06 April 2015, 15:33 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in camlp4 4.02.1+3-2
→ LANG=C pacman -Qo /usr/lib/ocaml/camlp4/META
/usr/lib/ocaml/camlp4/META is owned by ocaml-findlib 1.4-2
Do you have this package installed?
I'm wondering, wouldn't it be better to have the META file in the camlp4 package?
This is also the case, if you use a local .opam installation of findlib and not the ArchLinux package.
If this this considered a bug -> IMHO its a upstream bug.
Users may have to reinstall findlib using opam to notice that camlp4 is now known to findlib.
I ended up using a PKGBUILD patched with the attached file.