GNOME Bugzilla – Bug 639293
gst-python 0.10.20 does not build with gstreamer < 0.10.31
Last modified: 2011-01-12 14:07:18 UTC
Looks like the GstDateTime wrapping is done unconditionally. Relevant compilation log: CC _gst_la-gst.lo gst.c: In function '_wrap_gst_element_factory_get_documentation_uri': gst.c:12010:5: warning: implicit declaration of function 'gst_element_factory_get_documentation_uri' gst.c:12010:9: warning: assignment makes pointer from integer without a cast gst.c: In function '_wrap_gst_element_factory_get_icon_name': gst.c:12024:5: warning: implicit declaration of function 'gst_element_factory_get_icon_name' gst.c:12024:9: warning: assignment makes pointer from integer without a cast gst.c: In function '_wrap_gst_date_time_new_from_unix_epoch_local_time': gst.c:24873:5: error: 'GstDateTime' undeclared (first use in this function) gst.c:24873:5: note: each undeclared identifier is reported only once for each function it appears in gst.c:24873:18: error: 'ret' undeclared (first use in this function) gst.c:24878:5: warning: implicit declaration of function 'gst_date_time_new_from_unix_epoch_local_time' gst.c:24881:40: error: 'GST_TYPE_DATE_TIME' undeclared (first use in this function) gst.c:24881:73: error: expected expression before ')' token gst.c:24881:73: error: too few arguments to function '_PyGObject_API->boxed_new' gst.c: In function '_wrap_gst_date_time_new_from_unix_epoch_utc': gst.c:24889:5: error: 'GstDateTime' undeclared (first use in this function) gst.c:24889:18: error: 'ret' undeclared (first use in this function) gst.c:24894:5: warning: implicit declaration of function 'gst_date_time_new_from_unix_epoch_utc' gst.c:24897:40: error: 'GST_TYPE_DATE_TIME' undeclared (first use in this function) gst.c:24897:73: error: expected expression before ')' token gst.c:24897:73: error: too few arguments to function '_PyGObject_API->boxed_new' gst.c: In function '_wrap_gst_date_time_new_local_time': gst.c:24906:5: error: 'GstDateTime' undeclared (first use in this function) gst.c:24906:18: error: 'ret' undeclared (first use in this function) gst.c:24911:5: warning: implicit declaration of function 'gst_date_time_new_local_time' gst.c:24914:40: error: 'GST_TYPE_DATE_TIME' undeclared (first use in this function) gst.c:24914:73: error: expected expression before ')' token gst.c:24914:73: error: too few arguments to function '_PyGObject_API->boxed_new' gst.c: In function '_wrap_gst_date_time_new_now_local_time': gst.c:24920:5: error: 'GstDateTime' undeclared (first use in this function) gst.c:24920:18: error: 'ret' undeclared (first use in this function) gst.c:24923:5: warning: implicit declaration of function 'gst_date_time_new_now_local_time' gst.c:24926:40: error: 'GST_TYPE_DATE_TIME' undeclared (first use in this function) gst.c:24926:73: error: expected expression before ')' token gst.c:24926:73: error: too few arguments to function '_PyGObject_API->boxed_new' gst.c: In function '_wrap_gst_date_time_new_now_utc': gst.c:24932:5: error: 'GstDateTime' undeclared (first use in this function) gst.c:24932:18: error: 'ret' undeclared (first use in this function) gst.c:24935:5: warning: implicit declaration of function 'gst_date_time_new_now_utc' gst.c:24938:40: error: 'GST_TYPE_DATE_TIME' undeclared (first use in this function) gst.c:24938:73: error: expected expression before ')' token gst.c:24938:73: error: too few arguments to function '_PyGObject_API->boxed_new' make[3]: *** [_gst_la-gst.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-python/gst-python-0.10.20/work/gst-python-0.10.20-2.7/gst' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-python/gst-python-0.10.20/work/gst-python-0.10.20-2.7/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-python/gst-python-0.10.20/work/gst-python-0.10.20-2.7' make: *** [all] Error 2
err... that's really weird, because all those symbols are present in the gst-*.ignore files Can you put the output of gst/gstversion.override here ?
commit 59fc7cb120c47fe900826f994eba799fc93b0a62 Author: Arun Raghavan <ford_prefect@gentoo.org> Date: Wed Jan 12 18:12:29 2011 +0530 codegen: Ignore functions whose return type is ignored This makes sure that if X is an ignored type, then functions that return an object of type X (or a pointer type based on X) are also ignored. Fixes #639293 commit 778159a68516a5cd052156a789cbb800b4dac250 Author: Arun Raghavan <ford_prefect@gentoo.org> Date: Wed Jan 12 18:11:23 2011 +0530 codegen: Handle pointer types in is_type_ignored() This ensures that if type X is ignored, then pointers to X (and pointers to pointers to X, etc.) are also ignored. Caveat: this also means that ignore-type should only be used with base types and not pointer types. Fixes #639293