Re: Most OCaml packages have broken deps now

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

 



On Mon, Jan 23, 2023 at 1:25 PM Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
> The OCaml package encodes the compiler flags into dependencies --
> which is done for fairly accidental reasons.
>
> Because the compiler flags changed, combined with the builds being
> done out of order, means that most of the packages now have broken
> deps.
>
> Will fix ...
>
> Rich.
>
> ----------------------------------------------------------------------
>
> Detailed reasons:
>
> This file:
>
> https://pagure.io/fedora-ocaml/blob/fedora-38-4.14.0/f/utils/config.mlp
>
> expands various compiler flags into an OCaml module.
>
> The dependencies of this module are encoded into a hash value.
> We in turn encode the hash values into RPM dependencies:
>
> https://koji.fedoraproject.org/koji/rpminfo?rpmID=33153300
>
> In this case the only dependencies which changed where:
>
> ocaml(Dynlink_compilerlibs) = a109267eb63024af68e38f0e6a92581f  [-2.fc37]
> ocaml(Dynlink_compilerlibs) = 941c2e7774f264aecaf84e4f31da9ad7  [-4.fc38]
>
> ocaml(Stdlib) = 6d7bf11af14ea68354925f3a37387930  [-2.fc37]
> ocaml(Stdlib) = 79b0e9d3b6f7fed07eb3cc2abb961b91  [-4.fc38]
>
> We should likely do some filtering of compiler flags to avoid this.

Another option is to copy the Haskell stack's example: opt out of mass
rebuilds, and do our own in-order rebuild.

If you haven't already launched a rebuild, could you update the
ocaml-seq package to its latest version?  That makes consuming
packages depend on the Seq in the standard library, instead of
ocaml-seq itself, which will make it easier to remove the ocaml-seq
dependency altogether from individual packages.

Thanks for taking care of the breakage.  Regards,
-- 
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux