[UNMETDEPS] FTBFS: RuntimeError: Function gst_pad_get_negotiated_caps is being overridden more than once

Bug #60583 reported by Matti Lindell
16
Affects Status Importance Assigned to Milestone
gst-python (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Edgy knot 2
Architecture: i386
Version: 0.8.4-2

(cd . \
        && /usr/bin/python2.5 /usr/share/pygtk/2.0/codegen/codegen.py \
                --load-types ./arg-types.py \
                --register ./gst-types.defs \
                --override gst.override \
                --prefix pygst gst.defs) > gen-gst.c \
        && cp gen-gst.c gst.c \
        && rm -f gen-gst.c
Traceback (most recent call last):
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1685, in <module>
    sys.exit(main(sys.argv))
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1639, in main
    o = override.Overrides(arg)
  File "/usr/share/pygtk/2.0/codegen/override.py", line 49, in __init__
    self.handle_file(filename)
  File "/usr/share/pygtk/2.0/codegen/override.py", line 81, in handle_file
    self.__parse_override(buf, startline, filename)
  File "/usr/share/pygtk/2.0/codegen/override.py", line 163, in __parse_override
    self.handle_file(filename)
  File "/usr/share/pygtk/2.0/codegen/override.py", line 81, in handle_file
    self.__parse_override(buf, startline, filename)
  File "/usr/share/pygtk/2.0/codegen/override.py", line 130, in __parse_override
    raise RuntimeError("Function %s is being overridden more than once" % (func,))
RuntimeError: Function gst_pad_get_negotiated_caps is being overridden more than once
make[4]: *** [gst.c] Error 1
make[4]: Leaving directory `/tmp/buildd/gst-python-0.8.4/gst'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/gst-python-0.8.4/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/gst-python-0.8.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/gst-python-0.8.4'
make: *** [build-stamp-python2.5] Error 2

Revision history for this message
Matti Lindell (mlind) wrote :

Here's the log of failed build

Revision history for this message
Matti Lindell (mlind) wrote :

gst-python 0.8.4-5 from Debian unstable fails with same error.

Revision history for this message
Matthias Klose (doko) wrote :

gst-python should be removed; gst0.10-python is in the archive.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Matthias, some people might still be using gstreamer0.8 for something

Revision history for this message
Michael Bienia (geser) wrote :

After I removed two duplicate overrides it compiled a bit further but failed with:

Could not write method GstPad.get_event_masks_default: No ArgType for const-GstEventMask*
Could not write method GstPad.set_unlink_function: No ArgType for GstPadUnlinkFunction
Could not write method GstPad.set_fixate_function: No ArgType for GstPadFixateFunction
Traceback (most recent call last):
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1707, in <module>
    sys.exit(main(sys.argv))
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1698, in main
    sw.write(py_ssize_t_clean)
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1340, in write
    self.write_classes()
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1437, in write_classes
    instance.write_class()
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 283, in write_class
    substdict['tp_methods'] = self.write_methods()
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 495, in write_methods
    substdict=self.get_initial_method_substdict(meth))
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 336, in write_function_wrapper
    function_obj.caller_owns_return, info)
  File "/usr/share/pygtk/2.0/codegen/argtypes.py", line 89, in write_return
    self.__class__.__name__
RuntimeError: write_return not implemented for GstDataPtrArg
make[4]: *** [gst.c] Error 1

Revision history for this message
William Grant (wgrant) wrote :

gst-python has been removed from Gutsy.

Changed in gst-python:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.