After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 639293 - gst-python 0.10.20 does not build with gstreamer < 0.10.31
gst-python 0.10.20 does not build with gstreamer < 0.10.31
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 0.10.21
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-12 10:34 UTC by Arun Raghavan
Modified: 2011-01-12 14:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arun Raghavan 2011-01-12 10:34:52 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
Comment 1 Edward Hervey 2011-01-12 11:04:54 UTC
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 ?
Comment 2 Edward Hervey 2011-01-12 14:07:18 UTC
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