Opened 4 years ago

Closed 4 years ago

#62094 closed defect (worksforme)

gstreamer1-gst-plugins-base @1.16.2_1+ogg+universal+x11: compile error 'graphene-gobject.h' file not found

Reported by: JDLH (Jim DeLaHunt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: thetrial (alabay), dbevans (David B. Evans)
Port: gstreamer1-gst-plugins-base

Description

Installing or upgrading gstreamer1-gst-plugins-base to @1.16.2_1+ogg+universal+x11 fails with compile error 'graphene-gobject.h' file not found.

:info:build libtool: compile:  /usr/bin/clang -arch x86_64 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I../../gst-libs -I../../gst-libs -D_REENTRANT -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -D_REENTRANT -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -D_REENTRANT -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -fno-strict-aliasing -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -g -fvisibility=hidden -I/opt/local/include/libpng16 -mfpmath=sse -msse -msse2 -I/opt/local/include/graphene-1.0 -I/opt/local/lib/graphene-1.0/include -pipe -Os -std=c99 -arch x86_64 -MT libgstopengl_la-gstglfilterapp.lo -MD -MP -MF .deps/libgstopengl_la-gstglfilterapp.Tpo -c gstglfilterapp.c  -fno-common -DPIC -o .libs/libgstopengl_la-gstglfilterapp.o
:info:build gstglfiltershader.c:63:10: fatal error: 'graphene-gobject.h' file not found
:info:build #include <graphene-gobject.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.

The build command was:

% sudo port install gstreamer1-gst-plugins-base +ogg+universal+x11
--->  Computing dependencies for gstreamer1-gst-plugins-base
--->  Fetching archive for gstreamer1-gst-plugins-base
--->  Attempting to fetch gstreamer1-gst-plugins-base-1.16.2_1+ogg+universal+x11.darwin_17.i386-x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gstreamer1-gst-plugins-base
--->  Attempting to fetch gstreamer1-gst-plugins-base-1.16.2_1+ogg+universal+x11.darwin_17.i386-x86_64.tbz2 from https://kmq.jp.packages.macports.org/gstreamer1-gst-plugins-base
--->  Attempting to fetch gstreamer1-gst-plugins-base-1.16.2_1+ogg+universal+x11.darwin_17.i386-x86_64.tbz2 from https://mse.uk.packages.macports.org/gstreamer1-gst-plugins-base
--->  Fetching distfiles for gstreamer1-gst-plugins-base
--->  Verifying checksums for gstreamer1-gst-plugins-base
--->  Extracting gstreamer1-gst-plugins-base
--->  Applying patches to gstreamer1-gst-plugins-base
--->  Configuring gstreamer1-gst-plugins-base
--->  Building gstreamer1-gst-plugins-base
Error: Failed to build gstreamer1-gst-plugins-base: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1-gst-plugins-base/gstreamer1-gst-plugins-base/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gstreamer1-gst-plugins-base failed

Full log attached.

Observed on macOS 10.13.6 High Sierra.

Attachments (1)

gstreamer1-gst-plugins-base@1.16.2_1+ogg+universal+x11.log.gz (59.2 KB) - added by JDLH (Jim DeLaHunt) 4 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1-gst-plugins-base/gstreamer1-gst-plugins-base/main.log

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by JDLH (Jim DeLaHunt)

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer1-gst-plugins-base/gstreamer1-gst-plugins-base/main.log

comment:1 Changed 4 years ago by JDLH (Jim DeLaHunt)

The file graphene-gobject.h is supposed to be supplied by port graphene:

% port installed graphene
The following ports are currently installed:
  graphene @1.10.0_0+universal
  graphene @1.10.2_0+universal (active)
% port contents graphene | grep gobject
  /opt/local/include/graphene-1.0/graphene-gobject.h
  /opt/local/lib/pkgconfig/graphene-gobject-1.0.pc

However, the copy of port graphene which I had installed lacked the file graphene-gobject.h. I do not know why.

I uninstalled then reinstalled the port graphene @1.10.2_0+universal. After I did this, graphene contained the file graphene-gobject.h. Then I was able to build port gstreamer1-gst-plugins-base +ogg+universal+x11.

So maybe this should be a bug against port graphene, or maybe the MacPorts base, that for some reason it (they) failed to install the file graphene-gobject.h. I don't know enough about MacPorts to know if changing this ticket in this way is helpful, or if this ticket should just close and we'll let someone else notice and raise the problem about that file not being installed.

comment:2 Changed 4 years ago by thetrial (alabay)

Cc: thetrial added

comment:3 Changed 4 years ago by mf2k (Frank Schima)

Cc: dbevans added

Cc'ing maintainer of graphene for possible comment.

comment:4 Changed 4 years ago by mf2k (Frank Schima)

I see the file in graphene:

$ port contents graphene | grep graphene-gobject.h
  /opt/local/include/graphene-1.0/graphene-gobject.h

comment:5 Changed 4 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

I don't see what else needs to be done here.

Note: See TracTickets for help on using tickets.