[MacPorts] #70546: vala @0.56.17_2: Can not install due to cyclic dependency by "+valadoc" (enabled by default) (was: vala [0.56.17_2]: Can not install due to cyclic dependency by "+valadoc" (enabled by default))

MacPorts noreply at macports.org
Tue Aug 13 22:32:10 UTC 2024


#70546: vala @0.56.17_2: Can not install due to cyclic dependency by "+valadoc"
(enabled by default)
---------------------------------------------+----------------------
  Reporter:  nanigashi-uji                   |      Owner:  mascguy
      Type:  defect                          |     Status:  assigned
  Priority:  Normal                          |  Milestone:
 Component:  ports                           |    Version:
Resolution:                                  |   Keywords:
      Port:  vala, vala-devel, gd2, libavif  |
---------------------------------------------+----------------------
Changes (by ryandesign):

 * owner:  (none) => mascguy
 * cc: ryandesign (added)
 * status:  new => assigned
 * port:  vala => vala, vala-devel, gd2, libavif


Comment:

 Ok, so you've found the workaround: install vala without the +valadoc
 variant, and then you can install it with the +valadoc variant. But that
 isn't really a satisfactory situation especially since that variant should
 not exist and its functionality should be always on; see #70417.

 The only reason vala is in the dependency chain of graphviz is that
 graphviz depends on gd2 which depends on libavif which depends on pandoc
 which depends on cabal which depends on wget which depends on libproxy
 which depends on vala.

 pandoc specifically is what I would consider a "heavy" dependency and I
 would not want it in a port's default dependencies unless there is really
 no other way.

 libavif only depends on pandoc in its +docs variant which is on by
 default. A solution would be to make that variant off by default or to
 move what it does to a subport.

 If that will not be done, gd2 can be changed to no longer depend on
 libavif, or to do so only in a non-default variant.
 [changeset:5aa81ff2d92cb7649029e248000797230901df17/macports-ports The
 libavif dependency was added to gd2 relatively recently] so it can clearly
 do without it.

 Previous tickets about this were #69332 and #69566. I had hoped that the
 resolution of those issues would be one of the above.

-- 
Ticket URL: <https://trac.macports.org/ticket/70546#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list