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
I would like to draw attention to this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1982933
It appears that some META files, at least, need to be in the main
package, not in -devel. We've been inconsistent about this. Some
OCaml packages have META in the main package, and some in -devel.
I also see that the latest ocaml-lablgtk3 build failed to build
documentation correctly because it looked for
%{_libdir}/ocaml/ocamldoc/META and failed to find it. Does the main
ocaml package build generate a META file for ocamldoc?
Regards,
--
Jerry James
http://www.jamezone.org/