[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
Thu Aug 23 04:07:32 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: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: gstreamer1-gst-plugins-bad
----------------------+----------------------------------------
If gstreamer1-gst-plugins-base @1.14.2_1+ogg+universal is installed, the
upgrade of gstreamer1-gst-plugins-bad @1.14.2_1 (no variants) fails:
{{{
$ port installed gstreamer\* and active
The following ports are currently installed:
gstreamer1 @1.14.2_0+universal (active)
gstreamer1-gst-plugins-bad @1.14.1_1 (active)
gstreamer1-gst-plugins-base @1.14.2_1+ogg+universal (active)
gstreamer1-gst-plugins-good @1.14.2_0+pulseaudio (active)
$
$ sudo port upgrade gstreamer1-gst-plugins-bad
---> Computing dependencies for gstreamer1-gst-plugins-bad
---> Fetching archive for gstreamer1-gst-plugins-bad
---> Attempting to fetch gstreamer1-gst-plugins-
bad-1.14.2_1.darwin_16.x86_64.tbz2 from
https://packages.macports.org/gstreamer1-gst-plugins-bad
---> Attempting to fetch gstreamer1-gst-plugins-
bad-1.14.2_1.darwin_16.x86_64.tbz2 from
http://sea.us.packages.macports.org/macports/packages/gstreamer1-gst-
plugins-bad
---> Attempting to fetch gstreamer1-gst-plugins-
bad-1.14.2_1.darwin_16.x86_64.tbz2 from
http://ywg.ca.packages.macports.org/mirror/macports/packages/gstreamer1
-gst-plugins-bad
---> Fetching distfiles for gstreamer1-gst-plugins-bad
---> Verifying checksums for gstreamer1-gst-plugins-bad
---> Extracting gstreamer1-gst-plugins-bad
---> Applying patches to gstreamer1-gst-plugins-bad
---> Configuring gstreamer1-gst-plugins-bad
---> Building gstreamer1-gst-plugins-bad
Error: Failed to build gstreamer1-gst-plugins-bad: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gstreamer1
-gst-plugins-bad/gstreamer1-gst-plugins-bad/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
$
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.6
BuildVersion: 16G1510
$
$ xcodebuild -version
Xcode 9.2
Build version 9C40b
$
}}}
The build log contains the following error:
{{{
:info:build In file included from corevideobuffer.c:23:
:info:build In file included from ./corevideobuffer.h:26:
:info:build ./videotexturecache.h:24:10: fatal error: 'gst/gl/gl.h' file
not found
:info:build #include <gst/gl/gl.h>
:info:build ^~~~~~~~~~~~~
}}}
gstreamer1-gst-plugins-base @1.14.2_1+ogg+universal does not provide
gst/gl/gl.h, but it appears that gstreamer1-gst-plugins-bad @1.14.2_1 (no
variants) excepts it to provide this.
Specifically it appears that gstreamer1-gst-plugins-bad now expects this
when the following condition is true:
{{{
{![variant_isset x11] && ![variant_isset universal] && ${os.major} >= 13}
}}}
but it appears that gstreamer1-gst-plugins-base now provides it under the
following condition:
{{{
{![variant_isset x11] && ${build_arch} eq "x86_64" && ${os.major} >= 13 &&
![variant_isset universal]}
}}}
As long as build_arch is x86_64 (which it is in this case) these would
appear to be equivalent, except that they are each checking their own
+universal variant, which don't match, and therefore come up with a
different answer.
The wine port adds +universal for gstreamer1-gst-plugins-base, so that's
why that port has +universal. The wine port does not require gstreamer1
-gst-plugins-bad but it is required by other ports which don't need
+universal.
--
Ticket URL: <https://trac.macports.org/ticket/57020>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list