2024-04-28 08:43 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001872NetSurfGTK-specificpublic2015-11-01 12:08
Reporterojab 
Assigned To 
SeverityminorReproducibilityalways 
StatusclosedResolutionnot fixable 
Product Version 
Target VersionFixed in Version 
Summary0001872: Build with glib>=2.30.0 is broken
DescriptionThreading support was overhauled in glib-2.30.0 and GStaticRecMutex, GThreadPriority, etc was deprecated. So build with glib>=2.30.0 fails with

 COMPILE: image/video.c
In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:56:0,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
In file included from /usr/include/gstreamer-0.10/gst/gstpad.h:35:0,
                 from /usr/include/gstreamer-0.10/gst/gstelement.h:57,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:57:0,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
In file included from /usr/include/gstreamer-0.10/gst/gstbin.h:27:0,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
make: *** [build-Linux-gtk/image_video.o] Error 1
make: Leaving directory `/builddir/netsurf-2.9/netsurf-2.9'
Additional Informationojab added a note on Tue Apr 9 04:41:23 2013

And it doesn't help :/
Looks like gstreamer-0.10 cannot be used with GStaticRecMutex and friends anymore.

ojab added a note on Tue Apr 9 04:37:36 2013

AFAIU it can be fixed by adding -UDISABLE_GLIB_DEPRECATIONS to CFLAGS/CPPFLAGS when compiling gstreamer-0.10-related files (i. e. image/video.c)

Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=3610354 on Tue Dec 10 17:34:13 2013

TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files

-Relationships
+Relationships

-Notes
Daniel Silverstone

~0001014

Daniel Silverstone (administrator)

We removed images/video a while ago, any replacement is likely to use the new gstreamer API rather than this one.
+Notes

-Issue History
Date Modified Username Field Change
2013-12-10 17:41 Vincent Sanders New Issue
2013-12-10 17:41 Vincent Sanders Status new => assigned
2013-12-10 17:41 Vincent Sanders Assigned To => Sourceforge Import placeholder
2013-12-17 14:42 Vincent Sanders Assigned To Sourceforge Import placeholder =>
2013-12-17 14:42 Vincent Sanders Reproducibility have not tried => always
2013-12-17 14:42 Vincent Sanders Status assigned => acknowledged
2013-12-17 14:42 Vincent Sanders Resolution no change required => open
2013-12-17 14:42 Vincent Sanders Category General => GTK-specific
2013-12-17 14:42 Vincent Sanders Description Updated View Revisions
2013-12-17 14:42 Vincent Sanders Additional Information Updated View Revisions
2015-11-01 12:08 Daniel Silverstone Note Added: 0001014
2015-11-01 12:08 Daniel Silverstone Status acknowledged => closed
2015-11-01 12:08 Daniel Silverstone Resolution open => not fixable
+Issue History