x86_64-pc-linux-gnu-gcc -Isrc/backend/5a57eed@@baconvideowidget@sta -Isrc/backend -I../totem-3.30.0/src/backend -I. -I../totem-3.30.0/ -Isrc/gst -I../totem-3.30.0/src/gst -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orc-0.4 -I/usr/include/clutter-1.0 -I/usr/include/atk-1.0 -I/usr/include/cogl -I/usr/include/json-glib-1.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/clutter-gst-3.0 -I/usr/include/clutter-gtk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -mtune=core2 -ggdb -fPIC -pthread -DHAVE_CONFIG_H -D_REENTRANT -DGCONF_DISABLE_DEPRECATED -DGCONF_DISABLE_SINGLE_INCLUDES -DBONOBO_DISABLE_DEPRECATED -DBONOBO_DISABLE_SINGLE_INCLUDES -DBONOBO_UI_DISABLE_DEPRECATED -DBONOBO_UI_DISABLE_SINGLE_INCLUDES -DGNOME_DISABLE_DEPRECATED -DGNOME_DISABLE_SINGLE_INCLUDES -DLIBGLADE_DISABLE_DEPRECATED -DLIBGLADE_DISABLE_SINGLE_INCLUDES -DGNOME_VFS_DISABLE_DEPRECATED -DGNOME_VFS_DISABLE_SINGLE_INCLUDES -DWNCK_DISABLE_DEPRECATED -DWNCK_DISABLE_SINGLE_INCLUDES -DLIBSOUP_DISABLE_DEPRECATED -DLIBSOUP_DISABLE_SINGLE_INCLUDES '-DDATADIR="/usr/share/totem"' -MD -MQ 'src/backend/5a57eed@@baconvideowidget@sta/bacon-video-widget.c.o' -MF 'src/backend/5a57eed@@baconvideowidget@sta/bacon-video-widget.c.o.d' -o 'src/backend/5a57eed@@baconvideowidget@sta/bacon-video-widget.c.o' -c ../totem-3.30.0/src/backend/bacon-video-widget.c ../totem-3.30.0/src/backend/bacon-video-widget.c: In function ‘set_display_pixel_aspect_ratio’: ../totem-3.30.0/src/backend/bacon-video-widget.c:434:3: warning: ‘gdk_screen_get_monitor_geometry’ is deprecated: Use 'gdk_monitor_get_geometry' instead [-Wdeprecated-declarations] gdk_screen_get_monitor_geometry (screen, monitor, &rect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../totem-3.30.0/src/backend/bacon-video-widget.c:77: /usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here void gdk_screen_get_monitor_geometry (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../totem-3.30.0/src/backend/bacon-video-widget.c:436:3: warning: ‘gdk_screen_get_monitor_width_mm’ is deprecated: Use 'gdk_monitor_get_width_mm' instead [-Wdeprecated-declarations] ratio = (gdouble) (gdk_screen_get_monitor_width_mm (screen, monitor) * rect.height) / ^~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../totem-3.30.0/src/backend/bacon-video-widget.c:77: /usr/include/gtk-3.0/gdk/gdkscreen.h:94:15: note: declared here gint gdk_screen_get_monitor_width_mm (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../totem-3.30.0/src/backend/bacon-video-widget.c:437:5: warning: ‘gdk_screen_get_monitor_height_mm’ is deprecated: Use 'gdk_monitor_get_height_mm' instead [-Wdeprecated-declarations] (gdk_screen_get_monitor_height_mm (screen, monitor) * rect.width); ^ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../totem-3.30.0/src/backend/bacon-video-widget.c:77: /usr/include/gtk-3.0/gdk/gdkscreen.h:97:15: note: declared here gint gdk_screen_get_monitor_height_mm (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../totem-3.30.0/src/backend/bacon-video-widget.c: In function ‘get_media_size’: ../totem-3.30.0/src/backend/bacon-video-widget.c:497:4: warning: ‘gdk_screen_get_monitor_at_window’ is deprecated: Use 'gdk_display_get_monitor_at_window' instead [-Wdeprecated-declarations] monitor = gdk_screen_get_monitor_at_window (screen, window); ^~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../totem-3.30.0/src/backend/bacon-video-widget.c:77: /usr/include/gtk-3.0/gdk/gdkscreen.h:91:15: note: declared here gint gdk_screen_get_monitor_at_window (GdkScreen *screen, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../totem-3.30.0/src/backend/bacon-video-widget.c: In function ‘set_show_cursor’: ../totem-3.30.0/src/backend/bacon-video-widget.c:759:5: warning: ‘gdk_cursor_new’ is deprecated: Use 'gdk_cursor_new_for_display' instead [-Wdeprecated-declarations] cursor = gdk_cursor_new (GDK_BLANK_CURSOR); ^~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:34:0, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../totem-3.30.0/src/backend/bacon-video-widget.c:77: /usr/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: declared here GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); ^~~~~~~~~~~~~~ ../totem-3.30.0/src/backend/bacon-video-widget.c: In function ‘bacon_video_widget_class_init’: ../totem-3.30.0/src/backend/bacon-video-widget.c:1056:3: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations] g_type_class_add_private (object_class, sizeof (BaconVideoWidgetPrivate)); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:7, from /usr/include/gstreamer-1.0/gst/gst.h:31, from ../totem-3.30.0/src/backend/bacon-video-widget.c:49: /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here void g_type_class_add_private (gpointer g_class, ^~~~~~~~~~~~~~~~~~~~~~~~ ../totem-3.30.0/src/backend/bacon-video-widget.c: In function ‘bvw_handle_element_message’: ../totem-3.30.0/src/backend/bacon-video-widget.c:1730:13: warning: ‘gdk_cursor_new’ is deprecated: Use 'gdk_cursor_new_for_display' instead [-Wdeprecated-declarations] bvw->priv->cursor = gdk_cursor_new (GDK_HAND2); ^~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:34:0, from /usr/include/gtk-3.0/gtk/gtk.h:30, from ../totem-3.30.0/src/backend/bacon-video-widget.c:77: /usr/include/gtk-3.0/gdk/gdkcursor.h:228:12: note: declared here GdkCursor* gdk_cursor_new (GdkCursorType cursor_type); ^~~~~~~~~~~~~~ ../totem-3.30.0/src/backend/bacon-video-widget.c: In function ‘navigation_event’: ../totem-3.30.0/src/backend/bacon-video-widget.c:6025:3: error: unknown type name ‘ClutterGstFrame’; did you mean ‘ClutterGstPlayer’? ClutterGstFrame *frame = ^~~~~~~~~~~~~~~ ClutterGstPlayer ../totem-3.30.0/src/backend/bacon-video-widget.c:6026:5: warning: implicit declaration of function ‘clutter_gst_video_sink_get_frame’; did you mean ‘clutter_gst_video_sink_get_type’? [-Wimplicit-function-declaration] clutter_gst_video_sink_get_frame (CLUTTER_GST_VIDEO_SINK (bvw->priv->video_sink)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clutter_gst_video_sink_get_type ../totem-3.30.0/src/backend/bacon-video-widget.c:6026:5: warning: initialization makes pointer from integer without a cast [-Wint-conversion] ../totem-3.30.0/src/backend/bacon-video-widget.c:6040:16: error: request for member ‘resolution’ in something not a structure or union x = x * frame->resolution.width / actor_width; ^~ ../totem-3.30.0/src/backend/bacon-video-widget.c:6041:16: error: request for member ‘resolution’ in something not a structure or union y = y * frame->resolution.height / actor_height; ^~ ../totem-3.30.0/src/backend/bacon-video-widget.c: In function ‘bacon_video_widget_initable_init’: ../totem-3.30.0/src/backend/bacon-video-widget.c:6117:3: warning: ‘clutter_gst_video_sink_new’ is deprecated [-Wdeprecated-declarations] bvw->priv->video_sink = GST_ELEMENT (clutter_gst_video_sink_new ()); ^~~ In file included from /usr/include/clutter-1.0/clutter-gst/clutter-gst.h:37:0, from ../totem-3.30.0/src/backend/bacon-video-widget.c:66: /usr/include/clutter-1.0/clutter-gst/clutter-gst-util.h:48:18: note: declared here GstElement * clutter_gst_video_sink_new (ClutterTexture *texture) G_GNUC_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:7, from /usr/include/gstreamer-1.0/gst/gst.h:31, from ../totem-3.30.0/src/backend/bacon-video-widget.c:49: ../totem-3.30.0/src/backend/bacon-video-widget.c:6117:40: error: too few arguments to function ‘clutter_gst_video_sink_new’ bvw->priv->video_sink = GST_ELEMENT (clutter_gst_video_sink_new ()); ^ /usr/include/glib-2.0/gobject/gtype.h:2271:57: note: in definition of macro ‘_G_TYPE_CIC’ ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) ^~ /usr/include/gstreamer-1.0/gst/gstelement.h:62:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ #define GST_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_ELEMENT, GstElement)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../totem-3.30.0/src/backend/bacon-video-widget.c:6117:27: note: in expansion of macro ‘GST_ELEMENT’ bvw->priv->video_sink = GST_ELEMENT (clutter_gst_video_sink_new ()); ^ In file included from /usr/include/clutter-1.0/clutter-gst/clutter-gst.h:37:0, from ../totem-3.30.0/src/backend/bacon-video-widget.c:66: /usr/include/clutter-1.0/clutter-gst/clutter-gst-util.h:48:18: note: declared here GstElement * clutter_gst_video_sink_new (ClutterTexture *texture) G_GNUC_DEPRECATED; ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../totem-3.30.0/src/backend/bacon-video-widget.c:6163:63: error: ‘CLUTTER_GST_TYPE_CONTENT’ undeclared (first use in this function); did you mean ‘CLUTTER_TYPE_CONTENT’? "content", g_object_new (CLUTTER_GST_TYPE_CONTENT, ^~~~~~~~~~~~~~~~~~~~~~~~ CLUTTER_TYPE_CONTENT ../totem-3.30.0/src/backend/bacon-video-widget.c:6163:63: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. * ERROR: media-video/totem-3.30.0::gentoo failed (compile phase): * ninja -v -j1 -l0 -C /var/tmp/portage/media-video/totem-3.30.0/work/totem-3.30.0-build failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 3779: Called meson_src_compile * environment, line 2487: Called eninja '-C' '/var/tmp/portage/media-video/totem-3.30.0/work/totem-3.30.0-build' * environment, line 1109: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed"