On Tue, Jan 25, 2022 at 04:34:20PM -0700, Jerry James wrote:
I've been watching the action on these bugs since the new package notes facility broke frama-c:
https://bugzilla.redhat.com/show_bug.cgi?id=2043092 https://bugzilla.redhat.com/show_bug.cgi?id=2044028
It just dawned on me that, due to this feature, when the mass rebuild packages are merged into Rawhide, we may end up with the entire OCaml ecosystem failing to build from source. The reason is that ocaml.spec bakes $RPM_LD_FLAGS into ocamlopt. Well, $RPM_LD_FLAGS now includes a path to a package-specific notes file, which means every ocaml-foo package that uses ocamlopt is going to get the path to the notes file for the ocaml package, which isn't going to exist.
I added the %undefine directive to every OCaml package today and rebuilt them. Rebuild is nearly complete. I hope one day we'll be able to undo that.
Rich.