Comment 5 for bug 60583

Revision history for this message
Michael Bienia (geser) wrote : Re: FTBFS: RuntimeError: Function gst_pad_get_negotiated_caps is being overridden more than once

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