[MacPorts] #57020: gstreamer1-gst-plugins-bad @1.14.2_1 build fails with gstreamer1-gst-plugins-base @1.14.2_1+ogg+universal
MacPorts
noreply at macports.org
Sun Nov 4 03:44:11 UTC 2018
#57020: gstreamer1-gst-plugins-bad @1.14.2_1 build fails with gstreamer1-gst-
plugins-base @1.14.2_1+ogg+universal
-----------------------------------------+----------------------
Reporter: mopihopi | Owner: Ionic
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gstreamer1-gst-plugins-bad |
-----------------------------------------+----------------------
Changes (by mopihopi):
* status: closed => reopened
* resolution: fixed =>
Comment:
The commit mentioned above changes gstreamer1-gst-plugins-base +universal
to require +x11. This does not fix the issue for me, since other ports
conflict with x11.
{{{
$ port installed gstreamer1-gst-plugins-base and active
The following ports are currently installed:
gstreamer1-gst-plugins-base @1.14.4_0+ogg+universal (active)
$ sudo port upgrade gstreamer1-gst-plugins-base
Error: gstreamer1-gst-plugins-base 1.14.4 requires +x11 if +universal is
set.
Error: Unable to open port: incompatible variant selection.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
$ sudo port upgrade --enforce-variants gstreamer1-gst-plugins-base
+ogg+universal+x11
Error: glib2: Variant quartz conflicts with x11
Error: Unable to open port: Error evaluating variants
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
$ port installed glib2 and active
The following ports are currently installed:
glib2 @2.58.1_0+quartz+universal (active)
$
}}}
x11 should not be required, since gstreamer1-gst-plugins-base is working
currently with +universal without +x11. There was no issue with
gstreamer1-gst-plugins-base; the only issue is that gstreamer1-gst-
plugins-bad forces applemedia to be enabled even when it will not work.
Changing the gstreamer1-gst-plugins-bad Portfile to not enable applemedia
when it would fail resolves the issue.
I have submitted a pull request (https://github.com/macports/macports-
ports/pull/2932) that fixes this using an applemedia variant, so that it
can be enabled or not based on the active variants of gstreamer1-gst-
plugins-base. The applemedia variant is enabled by default in all cases
where apple media was previously enabled except for those where it would
fail to build. This fixes the issue for me.
--
Ticket URL: <https://trac.macports.org/ticket/57020#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list