GNOME Bugzilla – Bug 760090
gst-plugins-bad: implicit declaration of function ‘gst_init’
Last modified: 2016-04-14 17:42:48 UTC
Created attachment 318176 [details] emerge --info OS: Gentoo Linux Architecture: amd64 Package: media-libs/gst-plugins-bad-1.6.2-r1 Log: "QA: other QA Notice: Package triggers severe warnings which indicate that it may exhibit random runtime failures. /var/tmp/portage/media-libs/gst-plugins-bad-1.6.2-r1/work/gst-plugins-bad-1.6.2-abi_x86_64.amd64/gst-libs/gst/insertbin/tmp-introspectzEQu8d/GstInsertBin-1.0.c:587:3: warning: implicit declaration of function ‘gst_init’ [-Wimplicit-function-declaration] /var/tmp/portage/media-libs/gst-plugins-bad-1.6.2-r1/work/gst-plugins-bad-1.6.2-abi_x86_64.amd64/gst-libs/gst/mpegts/tmp-introspectY_O7OP/GstMpegts-1.0.c:587:3: warning: implicit declaration of function ‘gst_init’ [-Wimplicit-function-declaration] /var/tmp/portage/media-libs/gst-plugins-bad-1.6.2-r1/work/gst-plugins-bad-1.6.2-abi_x86_64.amd64/gst-libs/gst/gl/tmp-introspectuOyimO/GstGL-1.0.c:587:3: warning: implicit declaration of function ‘gst_init’ [-Wimplicit-function-declaration] Please do not file a Gentoo bug and instead report the above QA issues directly to the upstream developers of this software. Homepage: http://gstreamer.freedesktop.org/"
This also happens in core and gst-plugins-base and is caused by gobject-introspection not having a way to provide declarations of the initialization function.
We can work around it, seemed to only happen in -bad: commit e317a350bc727ba7038832a19b0b0b80e294d518 Author: Tim-Philipp Müller <tim@centricular.com> Date: Tue Jan 19 08:39:58 2016 +0000 libs: g-i: fix init section to avoid compiler warnings ..GstPlayer-1.0.c: In function ‘main’: ..GstPlayer-1.0.c:587:3: warning: implicit declaration of function ‘gst_init’ https://bugzilla.gnome.org/show_bug.cgi?id=760090