[gstreamer-bugs] [Bug 594206] Add support for GObject-Introspection and provide GIR file with introspection data

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Sep 6 03:33:06 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=594206


Philippe Normand <phil> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phil at base-art.net


--- Comment #2 from Philippe Normand <phil at base-art.net> 2009-09-06 12:33:04 CEST ---
When I build gir-repository master I get this:

make[2]: Entering directory `/home/phil/gst/jhbuild/build/gir-repository/gir'
/home/phil/gst/jhbuild/install/bin/g-ir-scanner -v --namespace GstVideo
--nsversion=0.10 \
        --add-include-path=. --add-include-path=. \
             --include=Gst-0.10 \
             --include=GstBase-0.10 \
         --library=gstvideo-0.10 \
         --libtool="/bin/bash ../libtool" \
             --pkg gobject-2.0 \
             --pkg gstreamer-0.10 \
             --pkg gstreamer-video-0.10 \
             --output GstVideo-0.10.gir \
         `pkg-config --variable=includedir gstreamer-video-0.10`/gst/video/*h
In file included from <stdin>:4:
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideocodec.h:24:2:
warning: #warning "GstBaseVideoCodec is unstable API and may change in future."
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideocodec.h:25:2:
warning: #warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
In file included from
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideocodec.h:29,
                 from <stdin>:4:
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideoutils.h:24:2:
warning: #warning "The base video utils API is unstable and may change in
future."
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideoutils.h:25:2:
warning: #warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
In file included from <stdin>:5:
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideodecoder.h:24:2:
warning: #warning "GstBaseVideoDecoder is unstable API and may change in
future."
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideodecoder.h:25:2:
warning: #warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
In file included from <stdin>:6:
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideoencoder.h:24:2:
warning: #warning "GstBaseVideoEncoder is unstable API and may change in
future."
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideoencoder.h:25:2:
warning: #warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
In file included from <stdin>:7:
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideoparse.h:24:2:
warning: #warning "GstBaseVideoParse is unstable API and may change in future."
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/video/gstbasevideoparse.h:25:2:
warning: #warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
/home/phil/gst/jhbuild/install/include/gstreamer-0.10/gst/gstutils.h:503:
syntax error, unexpected INTEGER
/home/phil/gst/jhbuild/build/gir-repository/gir/tmp-introspectshFIUl/GstVideo-0.10.o:(.data+0x4):
undefined reference to `gst_base_video_codec_get_type'
/home/phil/gst/jhbuild/build/gir-repository/gir/tmp-introspectshFIUl/GstVideo-0.10.o:(.data+0x8):
undefined reference to `gst_base_video_decoder_get_type'
/home/phil/gst/jhbuild/build/gir-repository/gir/tmp-introspectshFIUl/GstVideo-0.10.o:(.data+0xc):
undefined reference to `gst_base_video_encoder_get_type'
/home/phil/gst/jhbuild/build/gir-repository/gir/tmp-introspectshFIUl/GstVideo-0.10.o:(.data+0x10):
undefined reference to `gst_base_video_parse_get_type'
collect2: ld returned 1 exit status
Traceback (most recent call last):
  File "/home/phil/gst/jhbuild/install/bin/g-ir-scanner", line 38, in <module>
    sys.exit(scanner_main(sys.argv))
  File
"/home/phil/gst/jhbuild/install/lib/gobject-introspection/giscanner/scannermain.py",
line 310, in scanner_main
    glibtransformer.get_get_type_functions())
  File
"/home/phil/gst/jhbuild/install/lib/gobject-introspection/giscanner/dumper.py",
line 217, in compile_introspection_binary
    return dc.run()
  File
"/home/phil/gst/jhbuild/install/lib/gobject-introspection/giscanner/dumper.py",
line 127, in run
    self._link(bin_path, o_path)
  File
"/home/phil/gst/jhbuild/install/lib/gobject-introspection/giscanner/dumper.py",
line 212, in _link
    subprocess.check_call(args)
  File "/usr/lib/python2.6/subprocess.py", line 462, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/bin/bash', '../libtool',
'--mode=link', '--tag=CC', '--silent', 'gcc', '-o',
'/home/phil/gst/jhbuild/build/gir-repository/gir/tmp-introspectshFIUl/GstVideo-0.10',
'-L.', '-lgstvideo-0.10', '-pthread', '-Wl,--export-dynamic',
'-L/home/phil/gst/jhbuild/install/lib', '-lgio-2.0', '-lgirepository-1.0',
'-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0',
'/home/phil/gst/jhbuild/build/gir-repository/gir/tmp-introspectshFIUl/GstVideo-0.10.o']'
returned non-zero exit status 1
make[2]: *** [GstVideo-0.10.gir] Error 1

Would this be a bug in gir-repository or in gst? -base master is installed
fine.

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




More information about the Gstreamer-bugs mailing list