[gstreamer-bugs] [Bug 622025] Can't build gstreamer due to Gst-0.10.gir: error: Can't resolve type 'PadIntLinkFunction' for field Gst.Pad.intlinkfunc

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 20 01:16:06 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=622025
  GStreamer | gstreamer (core) | git

Philipp <pixelpapst> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pixelpapst at users.sourceforg
                   |                            |e.net

--- Comment #4 from Philipp <pixelpapst at users.sourceforge.net> 2010-06-20 08:16:03 UTC ---
I can confirm this. I'm also seeing this with a fresh jhbuild environment and
gobject-introspection build.

make V=1 yields:
make[4]: Entering directory `/mnt/data/src/gnome/gstreamer/gst'
/opt/gnome/bin/g-ir-scanner -v --namespace Gst \
        --nsversion=0.10 \
        -I.. \
        -I.. \
        -DIN_GOBJECT_INTROSPECTION=1 \
        --c-include='gst/gst.h' \
        --library=libgstreamer-0.10.la \
        --include=GLib-2.0 \
        --include=GObject-2.0 \
        --include=GModule-2.0 \
        --include=libxml2-2.0 \
        --libtool="../libtool" \
        --pkg glib-2.0 \
        --pkg gobject-2.0 \
        --pkg gmodule-no-export-2.0 \
        --pkg gthread-2.0 \
        --pkg libxml-2.0 \
        --output Gst-0.10.gir \
        ./gst.h ./glib-compat.h ./gstobject.h ./gstbin.h ./gstbuffer.h
./gstbufferlist.h ./gstbus.h ./gstcaps.h ./gstchildproxy.h ./gstclock.h
./gstcompat.h ./gstdebugutils.h ./gstelement.h ./gstelementfactory.h
./gsterror.h ./gstevent.h ./gstfilter.h ./gstformat.h ./gstghostpad.h
./gstindex.h ./gstindexfactory.h ./gstinfo.h ./gstinterface.h ./gstiterator.h
./gstmacros.h ./gstmessage.h ./gstminiobject.h ./gstpad.h ./gstpadtemplate.h
./gstparamspecs.h ./gstpipeline.h ./gstplugin.h ./gstpluginfeature.h
./gstpoll.h ./gstpreset.h ./gstquery.h ./gstsegment.h ./gststructure.h
./gstsystemclock.h ./gsttaglist.h ./gsttagsetter.h ./gsttask.h ./gsttaskpool.h
./gsttrace.h ./gsttypefind.h ./gsttypefindfactory.h ./gsturi.h ./gstutils.h
./gstvalue.h ./gstregistry.h ./gstparse.h ./gstxml.h \
        ./gst.c ./gstobject.c ./gstbin.c ./gstbuffer.c ./gstbufferlist.c
./gstbus.c ./gstcaps.c ./gstchildproxy.c ./gstclock.c ./gstdebugutils.c
./gstelement.c ./gstelementfactory.c ./gsterror.c ./gstevent.c ./gstfilter.c
./gstformat.c ./gstghostpad.c ./gstindex.c ./gstindexfactory.c ./gstinfo.c
./gstinterface.c ./gstiterator.c ./gstmessage.c ./gstminiobject.c ./gstpad.c
./gstpadtemplate.c ./gstparamspecs.c ./gstpipeline.c ./gstplugin.c
./gstpluginfeature.c ./gstpluginloader.c ./gstpoll.c ./gstpreset.c ./gstquark.c
./gstquery.c ./gstregistry.c ./gstregistrychunks.c ./gstsegment.c
./gststructure.c ./gstsystemclock.c ./gsttaglist.c ./gsttagsetter.c ./gsttask.c
./gsttaskpool.c ./gsttrace.c ./gsttypefind.c ./gsttypefindfactory.c ./gsturi.c
./gstutils.c ./gstvalue.c ./gstparse.c ./gstregistrybinary.c ./gstxml.c
Symbol GBindingTransformFunc has multiple definition of tag 'target_value'
Symbol Various defines for the various Link properties has multiple definition
of tag 'note'
/opt/gnome/bin/g-ir-compiler --includedir=. --includedir=.  Gst-0.10.gir -o
Gst-0.10.typelib
Gst-0.10.gir: error: Can't resolve type 'PadIntLinkFunction' for field
Gst.Pad.intlinkfunc
make[4]: *** [Gst-0.10.typelib] Error 1

The callback type seems to be declared fine in the generated .gir file:
   <callback name="PadIntLinkFunction"
              c:type="GstPadIntLinkFunction"
              doc="The signature of the internal pad link function.
the inside of the parent element.
The caller must call g_list_free() on it after use."
              introspectable="0"
              deprecated="use the threadsafe #GstPadIterIntLinkFunction
instead.">
      <return-value transfer-ownership="full">
        <type name="GLib.List" c:type="GList*"/>
      </return-value>
      <parameters>
        <parameter name="pad" transfer-ownership="none">
          <type name="Pad" c:type="GstPad*"/>
        </parameter>
      </parameters>
    </callback>


but only after these two uses:
      <method name="set_internal_link_function"
              c:identifier="gst_pad_set_internal_link_function"
              doc="Sets the given internal link function for the pad."
              introspectable="0"
              deprecated="Use the thread-safe
gst_pad_set_iterate_internal_links_function()">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="intlink" transfer-ownership="none" scope="call">
            <type name="PadIntLinkFunction" c:type="GstPadIntLinkFunction"/>
          </parameter>
        </parameters>
      </method>
...
      <field name="intlinkfunc">
        <type name="PadIntLinkFunction" c:type="GstPadIntLinkFunction"/>
      </field>

of which it seems to complain about the latter.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list