Excluding various ocamlx() dependencies in Fedora OCaml packages
by Richard W.M. Jones
Some ocamlx dependencies, notably ocamlx(Dynlink) are not very stable
between rebuilds of OCaml even of the same version. I'm unclear why
this is exactly, but I am currently rebuilding many ocaml packages
broken by the Fedora mass rebuild for this exact reason.
I think therefore we should modify the /usr/lib/rpm/ocamldeps.sh to
ignore these troublesome dependencies.
A simple thing to do for now would be (untested):
$ diff -ur ocamldeps.sh ocamldeps.sh.new
--- ocamldeps.sh 2021-07-27 21:54:47.673109249 +0100
+++ ocamldeps.sh.new 2021-07-27 22:00:34.917707988 +0100
@@ -198,7 +198,7 @@
}
#
mode=
-ignore_implementation_a=()
+ignore_implementation_a=(Dynlink)
ignore_interface_a=()
while test "$#" -gt 0
do
which should have the effect of ignoring ocamlx(Dynlink) across all
modules. Obviously this would need a rebuild of all packages, so
something to consider when OCaml 4.13 comes out.
Thoughts on this?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
2 years, 3 months