[MacPorts] #56809: webkit2-gtk +gtk2 +x11 won't build; fatal error: 'gst/gl/x11/gstgldisplay_x11.h' file not found

MacPorts noreply at macports.org
Sat Jul 14 01:19:57 UTC 2018


#56809: webkit2-gtk +gtk2 +x11 won't build; fatal error:
'gst/gl/x11/gstgldisplay_x11.h' file not found
--------------------------+--------------------
  Reporter:  posita       |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.5.2
Resolution:               |   Keywords:
      Port:  webkit2-gtk  |
--------------------------+--------------------

Comment (by kencu):

 So I got the same error when I tried to install `webkit2-gtk`. Looking
 into the `gstreamer*` ports shows an upgrade error in one of them,
 `gtreamer1-gst-plugins-base` (notice `+x11` is upgraded somehow to
 `+cocoa-x11`:
 {{{
 $ port -v installed | grep gstream
   gstreamer1 @1.12.3_0 platform='darwin 16' archs='x86_64'
 date='2017-11-10T23:27:59-0800'
   gstreamer1 @1.14.1_0 (active) platform='darwin 16' archs='x86_64'
 date='2018-07-13T17:05:31-0700'
   gstreamer1-gst-plugins-bad @1.12.3_1 platform='darwin 16' archs='x86_64'
 date='2017-11-10T23:53:41-0800'
   gstreamer1-gst-plugins-bad @1.14.1_1 (active) platform='darwin 16'
 archs='x86_64' date='2018-07-13T17:27:29-0700'
   gstreamer1-gst-plugins-base @1.12.3_0+ogg+x11 platform='darwin 16'
 archs='x86_64' date='2017-11-10T23:40:37-0800'
   gstreamer1-gst-plugins-base @1.14.1_5+cocoa+ogg-x11 (active)
 platform='darwin 16' archs='x86_64' date='2018-07-13T17:06:15-0700'
   gstreamer1-gst-plugins-good @1.12.3_0+pulseaudio platform='darwin 16'
 archs='x86_64' date='2017-11-10T23:54:03-0800'
   gstreamer1-gst-plugins-good @1.14.1_1+pulseaudio+x11 (active)
 platform='darwin 16' archs='x86_64' date='2018-07-13T17:27:42-0700'
 }}}
 fixing that up
 {{{
 $ port -v installed gstreamer1-gst-plugins-base
 The following ports are currently installed:
   gstreamer1-gst-plugins-base @1.12.3_0+ogg+x11 platform='darwin 16'
 archs='x86_64' date='2017-11-10T23:40:37-0800'
   gstreamer1-gst-plugins-base @1.14.1_5+ogg+x11-cocoa (active)
 platform='darwin 16' archs='x86_64' date='2018-07-13T18:08:44-0700'
 }}}
 brings back the missing header:
 {{{
 x ./opt/local/include/gstreamer-1.0/gst/gl/x11/
 x ./opt/local/include/gstreamer-1.0/gst/gl/x11/gstgldisplay_x11.h
 }}}
 and all is well.

 So the error is in the `gstreamer1-gst-plugins-base` upgrade, it appears.

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


More information about the macports-tickets mailing list