[MacPorts] #69787: gstreamer1-gst-plugins-good @ 1.24.1 -x11: Conflicting header file of dependencies mesa and gl-headers

MacPorts noreply at macports.org
Sat Apr 20 17:04:28 UTC 2024


#69787: gstreamer1-gst-plugins-good @ 1.24.1 -x11: Conflicting header file of
dependencies mesa and gl-headers
------------------------------------------+--------------------
  Reporter:  FlyingSamson                 |      Owner:  (none)
      Type:  defect                       |     Status:  new
  Priority:  Normal                       |  Milestone:
 Component:  ports                        |    Version:  2.9.99
Resolution:                               |   Keywords:
      Port:  gstreamer1-gst-plugins-good  |
------------------------------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:4 FlyingSamson]:
 > That is odd. No, it did not warn me or anything. I even retried this in
 an entirely fresh installation of macports using a different prefix and it
 ran just fine until trying to activate mesa.
 >
 > Does that mean `gstreamer1-gst-plugins-good` is (at least currently) not
 supposed to be available using quartz instead of x11? Is there hope (maybe
 even something I could do) that it will become available again?

 I don't know. I think we need some clarification from @Gcenx who added the
 gl-headers ports.

 Why was the gl-headers port added? What does it provide that the existing
 mesa port doesn't have?

 There are 77 ports that depend on mesa and one port (gstreamer1-gst-
 plugins-base) that depends on gl-headers, and mesa and gl-headers
 conflict. What's clearly going to happen, and has happened here, is that
 MacPorts has resolved the dependencies of the one port that depends on gl-
 headers (gstreamer1-gst-plugins-base) first, and therefore installed gl-
 headers. Then, when it comes time to install any of the 77 ports that
 depend on mesa, it fails since there is a conflict. It should clearly
 state that there is a conflict before attempting installation but
 something is going wrong so that that isn't happening, so the problem
 surfaces at activation time instead.

 The solutions that I see are to delete the gl-headers port and have
 gstreamer1-gst-plugins-base depend on mesa instead, or, if gl-headers
 provides something gstreamer1-gst-plugins-base needs that mesa doesn't
 have, change gl-headers so that it installs those things in places that
 don't conflict with where mesa installs things.

 > I'm currently trying to first install `mesa` and then `gstreamer1-gst-
 plugins-good` (still building). From what I gathered this should work, as
 then `gstreamer1-gst-plugins-base` won't pull in the dependency to `gl-
 headers` and use the `mesa` provided ones instead.

 Yes, that's what I would suggest too.

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


More information about the macports-tickets mailing list