GNOME Bugzilla – Bug 640341
gst-python 0.10.21 does not compile
Last modified: 2011-02-09 11:54:31 UTC
Python 2.6.6 Kubuntu 10.10 GEN gst.c Traceback (most recent call last):
+ Trace 225662
sys.exit(main(sys.argv))
o = override.Overrides(arg, path=extendpath)
self.handle_file(filename)
self.__parse_override(buf, startline, filename)
command = words[0]
I could compile. My environment: ubuntu 10.10 python 2.6.6 I think, you should give us more detailed build log.
there you go: freinhard@devmachine:~/kde/src/gst-python-0.10.21$ export PKG_CONFIG_PATH="$HOME/kde/usr/lib/pkgconfig/" freinhard@devmachine:~/kde/src/gst-python-0.10.21$ make clean; ./configure --prefix=$HOME/kde/usr/ && make Making clean in pkgconfig make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/pkgconfig' test -z "gst-python-0.10.pc gst-python-0.10-uninstalled.pc" || rm -f gst-python-0.10.pc gst-python-0.10-uninstalled.pc rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/pkgconfig' Making clean in testsuite make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/testsuite' rm -rf .libs _libs test -z "testhelper.la" || rm -f testhelper.la rm -f "./so_locations" rm -f *.o rm -f *.lo make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/testsuite' Making clean in plugin make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/plugin' rm -rf .libs _libs test -z "libgstpython.la" || rm -f libgstpython.la rm -f "./so_locations" rm -f *.o rm -f *.lo make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/plugin' Making clean in examples make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/examples' rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/examples' Making clean in gst make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' Making clean in extend make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/gst/extend' rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/gst/extend' Making clean in . make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' test -z "gst.c __init__.pyc interfaces.c pbutils.c audio.c video.c tag.c" || rm -f gst.c __init__.pyc interfaces.c pbutils.c audio.c video.c tag.c rm -rf .libs _libs test -z "_gst.la interfaces.la pbutils.la audio.la video.la tag.la" || rm -f _gst.la interfaces.la pbutils.la audio.la video.la tag.la rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -f "./so_locations" rm -f *.o rm -f *.lo make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' Making clean in codegen make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/codegen' rm -rf .libs _libs rm -f *.lo make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/codegen' Making clean in common make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/common' Making clean in m4 make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/common/m4' rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/common/m4' Making clean in . make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/common' rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/common' make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/common' Making clean in . make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21' test -z "pygst.py pygst.pyc" || rm -f pygst.py pygst.pyc rm -rf .libs _libs test -z "gstoption.la" || rm -f gstoption.la rm -f "./so_locations" rm -f *.o rm -f *.lo make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking nano version... 0 (release) checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking for python >= 2.3... okay checking for headers required to compile python extensions... found checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GST... yes Building against GStreamer core 0.10.31 , ignoring API additions if needed checking for GST_BASE... yes checking for GST_CONTROLLER... yes checking for GST_NET... yes checking for GST_DP... yes checking for GST_PLUGINS_BASE... yes checking for PYGOBJECT... yes yes checking for PYGOBJECT_2_12... yes yes checking for PYGOBJECT_2_16... yes yes checking to see if compiler understands -Wall... yes checking to see if compiler understands -Wdeclaration-after-statement... yes checking to see if compiler understands -Wvla... yes checking to see if compiler understands -Wpointer-arith... yes configure: set WARNING_CFLAGS to -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith configure: set ERROR_CFLAGS to checking for valgrind... /usr/bin/valgrind checking for libraries required to embed python... yes configure: Using /home/freinhard/kde/usr/lib/gstreamer-0.10 as the plugin install location configure: creating ./config.status config.status: creating Makefile config.status: creating codegen/Makefile config.status: creating common/Makefile config.status: creating common/m4/Makefile config.status: creating gst/Makefile config.status: creating gst/gstversion.override config.status: creating gst/extend/Makefile config.status: creating examples/Makefile config.status: creating pkgconfig/Makefile config.status: creating pkgconfig/gst-python.pc config.status: WARNING: 'pkgconfig/gst-python.pc.in' seems to ignore the --datarootdir setting config.status: creating pkgconfig/gst-python-uninstalled.pc config.status: creating plugin/Makefile config.status: creating testsuite/Makefile config.status: creating win32/common/config.h config.status: creating gst-python.spec config.status: creating gst/__init__.py config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands if test -f pygst.py; then chmod +w pygst.py; fi sed -e "s|@PYGSTDIR\@|/home/freinhard/kde/src/gst-python-0.10.21|g" \ -e "s|@GST_MAJORMINOR\@|0.10|g" \ pygst.py.in > pygst.py chmod -w pygst.py make all-recursive make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21' Making all in common make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/common' Making all in m4 make[3]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/common/m4' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/common/m4' make[3]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/common' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/common' make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/common' Making all in codegen make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/codegen' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/codegen' Making all in gst make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' Making all in extend make[3]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/gst/extend' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/gst/extend' make[3]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' CC _gst_la-gst-argtypes.lo CC _gst_la-gstmodule.lo CC _gst_la-pygstiterator.lo CC _gst_la-pygstminiobject.lo CC _gst_la-pygstvalue.lo CC _gst_la-pygstexception.lo GEN gst.c Traceback (most recent call last):
+ Trace 225675
make[3]: *** [gst.c] Error 1 make[3]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21' make: *** [all] Error 2
Created attachment 179157 [details] [review] codegen: Handle empty lines in overrides gracefully Without this, having an empty line in an override will cause codegen to unceremoniously choke to death.
the build continues, but still fails: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking nano version... 0 (release) checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking for python >= 2.3... okay checking for headers required to compile python extensions... found checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GST... yes Building against GStreamer core 0.10.31 , ignoring API additions if needed checking for GST_BASE... yes checking for GST_CONTROLLER... yes checking for GST_NET... yes checking for GST_DP... yes checking for GST_PLUGINS_BASE... yes checking for PYGOBJECT... yes yes checking for PYGOBJECT_2_12... yes yes checking for PYGOBJECT_2_16... yes yes checking to see if compiler understands -Wall... yes checking to see if compiler understands -Wdeclaration-after-statement... yes checking to see if compiler understands -Wvla... yes checking to see if compiler understands -Wpointer-arith... yes configure: set WARNING_CFLAGS to -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith configure: set ERROR_CFLAGS to checking for valgrind... /usr/bin/valgrind checking for libraries required to embed python... yes configure: Using /home/freinhard/kde/usr/lib/gstreamer-0.10 as the plugin install location configure: creating ./config.status config.status: creating Makefile config.status: creating codegen/Makefile config.status: creating common/Makefile config.status: creating common/m4/Makefile config.status: creating gst/Makefile config.status: creating gst/gstversion.override config.status: creating gst/extend/Makefile config.status: creating examples/Makefile config.status: creating pkgconfig/Makefile config.status: creating pkgconfig/gst-python.pc config.status: WARNING: 'pkgconfig/gst-python.pc.in' seems to ignore the --datarootdir setting config.status: creating pkgconfig/gst-python-uninstalled.pc config.status: creating plugin/Makefile config.status: creating testsuite/Makefile config.status: creating win32/common/config.h config.status: creating gst-python.spec config.status: creating gst/__init__.py config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands if test -f pygst.py; then chmod +w pygst.py; fi sed -e "s|@PYGSTDIR\@|/home/freinhard/kde/src/gst-python-0.10.21|g" \ -e "s|@GST_MAJORMINOR\@|0.10|g" \ pygst.py.in > pygst.py chmod -w pygst.py make all-recursive make[1]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21' Making all in common make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/common' Making all in m4 make[3]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/common/m4' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/common/m4' make[3]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/common' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/common' make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/common' Making all in codegen make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/codegen' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/codegen' Making all in gst make[2]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' Making all in extend make[3]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/gst/extend' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/gst/extend' make[3]: Entering directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' CC _gst_la-gst-argtypes.lo CC _gst_la-gstmodule.lo CC _gst_la-pygstiterator.lo CC _gst_la-pygstminiobject.lo CC _gst_la-pygstvalue.lo CC _gst_la-pygstexception.lo GEN gst.c CC interfaces_la-interfacesmodule.lo Could not write method GstCaps.set_value: No ArgType for 'const-GValue*' Could not write method GstStructure.id_take_value: No ArgType for 'GQuark' Could not write method GstStructure.take_value: No ArgType for 'GValue*' Could not write method GstStructure.id_set: varargs functions not supported Could not write method GstStructure.get: varargs functions not supported Could not write method GstStructure.id_get: varargs functions not supported Could not write method GstStructure.id_has_field: No ArgType for 'GQuark' Could not write method GstStructure.id_has_field_typed: No ArgType for 'GQuark' Could not write method GstStructure.get_uint: No ArgType for 'guint*' Could not write method GstTagList.add_value: No ArgType for 'const-GValue*' Could not write method GstTagList.peek_string_index: No ArgType for 'const-gchar**' Could not write method GstIndexEntry.assoc_map: No ArgType for 'gint64*' Could not write getter for GstStaticCaps.caps: write_return not implemented for GstCaps Could not write method GstTypeFind.suggest_simple: varargs functions not supported Could not write method GstIndex.set_filter: No ArgType for 'GstIndexFilter' Could not write method GstIndex.set_filter_full: No ArgType for 'GstIndexFilter' Could not write method GstIndex.set_resolver: No ArgType for 'GstIndexResolver' Could not write method GstIndex.set_resolver_full: No ArgType for 'GstIndexResolver' Could not write method GstIndex.get_writer_id: No ArgType for 'gint*' Could not write method GstIndex.add_associationv: No ArgType for 'const-GstIndexAssociation*' Could not write method GstIndex.add_association: varargs functions not supported Could not write method GstIndex.add_object: No ArgType for 'gpointer' Could not write method GstIndex.get_assoc_entry_full: No ArgType for 'GCompareDataFunc' Could not write virtual accessor method GstIndex.get_assoc_entry: No ArgType for 'GCompareDataFunc' Could not write virtual proxy GstIndex.get_assoc_entry: No ArgType for 'GCompareDataFunc' Could not write method GstElement.message_full: No ArgType for 'GQuark' Could not write virtual accessor method GstElement.get_query_types: No ArgType for 'const-GstQueryType*' Could not write virtual accessor method GstElement.get_state: No ArgType for 'GstState*' Could not write virtual proxy GstElement.get_query_types: No ArgType for 'const-GstQueryType*' Could not write virtual proxy GstElement.get_state: No ArgType for 'GstState*' Could not write virtual accessor method GstClock.wait: No ArgType for 'GstClockEntry*' Could not write virtual accessor method GstClock.wait_jitter: No ArgType for 'GstClockEntry*' Could not write virtual accessor method GstClock.wait_async: No ArgType for 'GstClockEntry*' Could not write virtual accessor method GstClock.unschedule: No ArgType for 'GstClockEntry' Could not write virtual proxy GstClock.wait: No ArgType for 'GstClockEntry*' Could not write virtual proxy GstClock.wait_jitter: No ArgType for 'GstClockEntry*' Could not write virtual proxy GstClock.wait_async: No ArgType for 'GstClockEntry*' Could not write virtual proxy GstClock.unschedule: No ArgType for 'GstClockEntry' Could not write method GstBus.add_watch_full: No ArgType for 'GstBusFunc' Could not write method GstPad.set_bufferalloc_function: No ArgType for 'GstPadBufferAllocFunction' Could not write method GstPad.set_chain_list_function: No ArgType for 'GstPadChainListFunction' Could not write method GstPad.set_getrange_function: No ArgType for 'GstPadGetRangeFunction' Could not write method GstPad.set_checkgetrange_function: No ArgType for 'GstPadCheckGetRangeFunction' Could not write method GstPad.set_unlink_function: No ArgType for 'GstPadUnlinkFunction' Could not write method GstPad.set_acceptcaps_function: No ArgType for 'GstPadAcceptCapsFunction' Could not write method GstPad.set_fixatecaps_function: No ArgType for 'GstPadFixateCapsFunction' Could not write method GstPad.set_internal_link_function: No ArgType for 'GstPadIntLinkFunction' Could not write method GstPad.set_iterate_internal_links_function: No ArgType for 'GstPadIterIntLinkFunction' Could not write method GstPad.set_query_type_function: No ArgType for 'GstPadQueryTypeFunction' Could not write method GstPad.dispatcher: No ArgType for 'GstPadDispatcherFunction' Warning: generating old-style constructor for:gst_ghost_pad_new Warning: generating old-style constructor for:gst_pad_template_new Could not write method GstPluginFeature.type_name_filter: No ArgType for 'GstTypeNameData*' Could not write method GstRegistry.plugin_filter: No ArgType for 'GstPluginFilter' Could not write method GstRegistry.feature_filter: No ArgType for 'GstPluginFeatureFilter' Could not write method GstTask.set_priority: No ArgType for 'GThreadPriority' Could not write method GstTask.set_thread_callbacks: No ArgType for 'GstTaskThreadCallbacks*' Could not write method GstTaskPool.push: No ArgType for 'GstTaskPoolFunction' Could not write method GstTaskPool.join: No ArgType for 'gpointer' Warning: generating old-style constructor for:gst_net_client_clock_new Warning: generating old-style constructor for:gst_net_time_provider_new Could not write method GstControlSource.get_value: No ArgType for 'GValue*' Could not write method GstControlSource.get_value_array: No ArgType for 'GstValueArray*' Could not write method GstControlSource.bind: No ArgType for 'GParamSpec*' Could not write method GstController.get_all: No ArgType for 'const-GList*' Could not write method GstController.get_value_arrays: No ArgType for 'GSList*' Could not write method GstController.get_value_array: No ArgType for 'GstValueArray*' Could not write method GstInterpolationControlSource.set: No ArgType for 'GValue*' Could not write method GstInterpolationControlSource.set_from_list: No ArgType for 'GSList*' Could not write method GstInterpolationControlSource.get_all: No ArgType for 'GList*' Could not write method GstAdapter.take_list: No ArgType for 'GList*' Could not write method GstAdapter.prev_timestamp: No ArgType for 'guint64*' Could not write method GstAdapter.masked_scan_uint32_peek: No ArgType for 'guint32*' Could not write method GstBaseSink.wait_eos: No ArgType for 'GstClockTimeDiff*' Could not write virtual accessor method GstBaseSink.buffer_alloc: No ArgType for 'GstBuffer**' Could not write virtual proxy GstBaseSink.buffer_alloc: No ArgType for 'GstBuffer**' GEN interfaces.c Could not write virtual accessor method GstBaseTransform.prepare_output_buffer: No ArgType for 'GstBuffer**' Could not write virtual proxy GstBaseTransform.prepare_output_buffer: No ArgType for 'GstBuffer**' Could not write method GstCollectPads.set_function: No ArgType for 'GstCollectPadsFunction' Could not write method GstCollectPads.set_clip_function: No ArgType for 'GstCollectPadsClipFunction' Could not write method GstCollectPads.add_pad: No ArgType for 'GstCollectData*' Could not write method GstCollectPads.add_pad_full: No ArgType for 'GstCollectDataDestroyNotify' Could not write method GstCollectPads.peek: No ArgType for 'GstCollectData*' Could not write method GstCollectPads.pop: No ArgType for 'GstCollectData*' Could not write method GstCollectPads.read: No ArgType for 'GstCollectData*' Could not write method GstCollectPads.read_buffer: No ArgType for 'GstCollectData*' Could not write method GstCollectPads.take_buffer: No ArgType for 'GstCollectData*' Could not write method GstCollectPads.flush: No ArgType for 'GstCollectData*' Warning: generating old-style constructor for:gst_data_queue_new Could not write constructor for GstDataQueue: No ArgType for 'GstDataQueueCheckFullFunction' Could not write method GstDataQueue.push: No ArgType for 'GstDataQueueItem*' Could not write method GstDataQueue.pop: No ArgType for 'GstDataQueueItem**' Could not write method GstDataQueue.get_level: No ArgType for 'GstDataQueueSize*' Could not write method GstBufferList.foreach: No ArgType for 'GstBufferListFunc' Could not write method GstBufferList.iterate: No ArgType for 'GstBufferListIterator*' Could not write method GstMessage.set_stream_status_object: No ArgType for 'const-GValue*' Could not write method GstMessage.get_stream_status_object: No ArgType for 'const-GValue*' Could not write method GstQuery.parse_nth_buffering_range: No ArgType for 'gint64*' Could not write method GstTagSetter.add_tags: varargs functions not supported Could not write method GstTagSetter.add_tag_values: varargs functions not supported Could not write method GstTagSetter.add_tag_valist_values: No ArgType for 'va_list' Could not write method GstTagSetter.add_tag_value: No ArgType for 'const-GValue*' Could not write method GstPreset.get_meta: No ArgType for 'gchar**' Could not write function object_control_properties: varargs functions not supported Could not write function object_uncontrol_properties: varargs functions not supported Could not write function object_get_value_arrays: No ArgType for 'GSList*' Could not write function object_get_value_array: No ArgType for 'GstValueArray*' Could not write function gst_controller_init: No ArgType for 'int*' Could not write function gst_dp_crc: No ArgType for 'const-guint8*' Could not write function dp_header_from_buffer: No ArgType for 'guint*' Could not write function dp_packet_from_caps: No ArgType for 'guint*' Could not write function dp_packet_from_event: No ArgType for 'guint*' Could not write function type_find_helper_get_range: No ArgType for 'GstTypeFindHelperGetRangeFunction' Could not write function type_find_helper_get_range_ext: No ArgType for 'GstTypeFindHelperGetRangeFunction' Could not write function debug_add_log_function: No ArgType for 'GstLogFunction' Could not write function debug_remove_log_function: No ArgType for 'GstLogFunction' Could not write function debug_remove_log_function_by_data: No ArgType for 'gpointer' Could not write function debug_get_all_categories: No ArgType for 'GSList*' Could not write function debug_remove_log_function: No ArgType for 'GstLogFunction' Could not write function debug_remove_log_function_by_data: No ArgType for 'gpointer' Could not write function util_array_binary_search: No ArgType for 'gpointer' Could not write function util_fraction_to_double: No ArgType for 'gdouble*' Could not write function util_double_to_fraction: No ArgType for 'gint*' Could not write function util_fraction_multiply: No ArgType for 'gint*' Could not write function util_fraction_add: No ArgType for 'gint*' Could not write function parse_launch_full: No ArgType for 'GstParseContext*' Could not write function parse_launchv_full: No ArgType for 'const-gchar**' Could not write function plugin_register_static: No ArgType for 'const-GstPluginDesc*' Could not write function plugin_feature_rank_compare_func: No ArgType for 'gconstpointer' Could not write function poll_new_timer: No ArgType for 'GstPoll*' Could not write function tag_register: No ArgType for 'GstTagMergeFunc' Could not write function tag_merge_use_first: No ArgType for 'GValue*' Could not write function tag_merge_strings_with_comma: No ArgType for 'GValue*' Could not write function task_create: No ArgType for 'GstTaskFunction' Could not write getter for GstTunerNorm.framerate: No ArgType for 'GValue*' Warning: Constructor for GstGhostPad needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GstPadTemplate needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Could not write virtual accessor method GstColorBalance.list_channels: No ArgType for 'const-GList*' Warning: Constructor for GstNetClientClock needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GstNetTimeProvider needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GstController needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GstDataQueue needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** The coverage of global functions is 85.31% (180/211) ***INFO*** The coverage of methods is 87.40% (541/619) ***INFO*** The coverage of virtual proxies is 86.76% (59/68) ***INFO*** The coverage of virtual accessors is 87.67% (64/73) ***INFO*** The coverage of interface proxies is 100.00% (5/5) Could not write interface proxy GstColorBalance.list_channels: No ArgType for 'const-GList*' Could not write method GstMixer.volume_changed: No ArgType for 'gint*' Could not write virtual accessor method GstMixer.list_tracks: No ArgType for 'const-GList*' Could not write virtual accessor method GstMixer.set_volume: No ArgType for 'gint*' Could not write virtual accessor method GstMixer.get_volume: No ArgType for 'gint*' Could not write interface proxy GstMixer.list_tracks: No ArgType for 'const-GList*' Could not write interface proxy GstMixer.set_volume: cannot use int* parameter with direction 'None' Could not write interface proxy GstMixer.get_volume: cannot use int* parameter with direction 'None' CC pbutils_la-pbutilsmodule.lo Could not write method GstPropertyProbe.probe_property: No ArgType for 'const-GParamSpec*' Could not write method GstPropertyProbe.needs_probe: No ArgType for 'const-GParamSpec*' Could not write method GstPropertyProbe.get_values: No ArgType for 'const-GParamSpec*' Could not write method GstPropertyProbe.probe_and_get_values: No ArgType for 'const-GParamSpec*' Could not write method GstPropertyProbe.probe_and_get_values_name: No ArgType for 'GValueArray*' Could not write virtual accessor method GstPropertyProbe.get_properties: No ArgType for 'const-GList*' Could not write virtual accessor method GstPropertyProbe.needs_probe: No ArgType for 'const-GParamSpec*' Could not write virtual accessor method GstPropertyProbe.probe_property: No ArgType for 'const-GParamSpec*' Could not write virtual accessor method GstPropertyProbe.get_values: No ArgType for 'const-GParamSpec*' Could not write interface proxy GstPropertyProbe.get_properties: No ArgType for 'const-GList*' Could not write interface proxy GstPropertyProbe.needs_probe: No ArgType for 'const-GParamSpec*' Could not write interface proxy GstPropertyProbe.probe_property: No ArgType for 'const-GParamSpec*' Could not write interface proxy GstPropertyProbe.get_values: No ArgType for 'GValueArray*' Could not write virtual accessor method GstTuner.list_channels: No ArgType for 'const-GList*' Could not write virtual accessor method GstTuner.list_norms: No ArgType for 'const-GList*' Could not write interface proxy GstTuner.list_channels: No ArgType for 'const-GList*' Could not write interface proxy GstTuner.list_norms: No ArgType for 'const-GList*' Could not write function gst_mixer_message_parse_options_list_changed: No ArgType for 'GstMixerOptions**' Could not write function navigation_query_set_commands: varargs functions not supported Could not write function navigation_query_set_commandsv: No ArgType for 'GstNavigationCommand*' Could not write function navigation_query_parse_commands_length: No ArgType for 'guint*' Could not write function navigation_query_parse_commands_nth: No ArgType for 'GstNavigationCommand*' Could not write function navigation_query_parse_angles: No ArgType for 'guint*' Could not write function navigation_message_parse_mouse_over: No ArgType for 'gboolean*' Could not write function navigation_message_parse_angles_changed: No ArgType for 'guint*' Could not write function navigation_event_parse_key_event: No ArgType for 'const-gchar**' Could not write function navigation_event_parse_mouse_button_event: No ArgType for 'gint*' Could not write function navigation_event_parse_mouse_move_event: No ArgType for 'gdouble*' Could not write function navigation_event_parse_command: No ArgType for 'GstNavigationCommand*' ***INFO*** The coverage of global functions is 47.83% (11/23) ***INFO*** The coverage of methods is 89.83% (53/59) ***INFO*** There are no declared virtual proxies.***INFO*** The coverage of virtual accessors is 54.55% (12/22) ***INFO*** The coverage of interface proxies is 54.55% (12/22) CC pbutils_la-gst-argtypes.lo GEN pbutils.c Warning: generating old-style constructor for:gst_discoverer_new Could not write function codec_utils_aac_get_profile: No ArgType for 'const-guint8*' Could not write function codec_utils_aac_get_level: No ArgType for 'const-guint8*' Could not write function codec_utils_h264_get_profile: No ArgType for 'const-guint8*' Could not write function codec_utils_h264_get_level: No ArgType for 'const-guint8*' Could not write function codec_utils_mpeg4video_get_profile: No ArgType for 'const-guint8*' Could not write function codec_utils_mpeg4video_get_level: No ArgType for 'const-guint8*' Warning: Constructor for GstDiscoverer needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** The coverage of global functions is 81.82% (27/33) ***INFO*** The coverage of methods is 100.00% (40/40) ***INFO*** There are no declared virtual proxies.***INFO*** There are no declared virtual accessors.***INFO*** There are no declared interface proxies. CC audio_la-audiomodule.lo CC audio_la-gst-argtypes.lo GEN audio.c Warning: generating old-style constructor for:gst_audio_clock_new Could not write constructor for GstAudioClock: No ArgType for 'GstAudioClockGetTimeFunc' Could not write virtual accessor method GstAudioFilter.setup: No ArgType for 'GstRingBufferSpec*' Could not write virtual proxy GstAudioFilter.setup: No ArgType for 'GstRingBufferSpec*' Could not write virtual accessor method GstAudioSink.prepare: No ArgType for 'GstRingBufferSpec*' Could not write virtual accessor method GstAudioSink.write: No ArgType for 'gpointer' Could not write virtual proxy GstAudioSink.prepare: No ArgType for 'GstRingBufferSpec*' Could not write virtual proxy GstAudioSink.write: No ArgType for 'gpointer' Could not write method GstRingBuffer.set_callback: No ArgType for 'GstRingBufferCallback' Could not write method GstRingBuffer.convert: No ArgType for 'gint64*' Could not write method GstRingBuffer.acquire: No ArgType for 'GstRingBufferSpec*' Could not write method GstRingBuffer.commit_full: No ArgType for 'guint64*' Could not write method GstRingBuffer.prepare_read: No ArgType for 'gint*' Could not write virtual accessor method GstRingBuffer.acquire: No ArgType for 'GstRingBufferSpec*' Could not write virtual proxy GstRingBuffer.acquire: No ArgType for 'GstRingBufferSpec*' Could not write function audio_clock_new_full: No ArgType for 'GstAudioClockGetTimeFunc' Could not write function ring_buffer_parse_caps: No ArgType for 'GstRingBufferSpec*' Could not write function ring_buffer_debug_spec_caps: No ArgType for 'GstRingBufferSpec*' Could not write function ring_buffer_debug_spec_buff: No ArgType for 'GstRingBufferSpec*' Could not write function default_registry_mixer_filter: No ArgType for 'GstAudioMixerFilterFunc' Could not write function get_channel_positions: No ArgType for 'GstAudioChannelPosition*' Could not write function set_channel_positions: No ArgType for 'const-GstAudioChannelPosition*' Could not write function set_structure_channel_positions_list: No ArgType for 'const-GstAudioChannelPosition*' Could not write function set_caps_channel_positions_list: No ArgType for 'const-GstAudioChannelPosition*' Could not write function fixate_channel_positions: No ArgType for 'GstAudioChannelPosition*' Could not write function check_channel_positions: No ArgType for 'const-GstAudioChannelPosition*' Warning: Constructor for GstAudioClock needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GstAudioFilter needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GstBaseAudioSink needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GstAudioSink needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GstRingBuffer needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** The coverage of global functions is 42.11% (8/19) ***INFO*** The coverage of methods is 84.85% (28/33) ***INFO*** The coverage of virtual proxies is 78.95% (15/19) ***INFO*** The coverage of virtual accessors is 78.95% (15/19) ***INFO*** There are no declared interface proxies. CC video_la-videomodule.lo CC video_la-gst-argtypes.lo GEN video.c Could not write function video_sink_center_rect: No ArgType for 'GstVideoRectangle' Could not write function get_size: No ArgType for 'gint*' Could not write function calculate_display_ratio: No ArgType for 'guint*' Could not write function format_parse_caps: No ArgType for 'GstVideoFormat*' Could not write function format_parse_caps_interlaced: No ArgType for 'gboolean*' Could not write function parse_caps_framerate: No ArgType for 'int*' Could not write function parse_caps_pixel_aspect_ratio: No ArgType for 'int*' Could not write function event_parse_still_frame: No ArgType for 'gboolean*' Could not write function video_convert_frame_async: No ArgType for 'GstVideoConvertFrameCallback' Warning: Constructor for GstVideoFilter needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors Warning: Constructor for GstVideoSink needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** The coverage of global functions is 35.71% (5/14) ***INFO*** There are no declared methods.***INFO*** There are no declared virtual proxies.***INFO*** There are no declared virtual accessors.***INFO*** There are no declared interface proxies. CC tag_la-tagmodule.lo CC tag_la-gst-argtypes.lo GEN tag.c Could not write function list_from_vorbiscomment_buffer: No ArgType for 'const-guint8*' Could not write function id3_genre_get: No ArgType for 'const-guint' Could not write function list_new_from_id3v1: No ArgType for 'const-guint8*' Could not write function parse_extended_comment: No ArgType for 'gchar**' Could not write function freeform_string_to_utf8: No ArgType for 'const-gchar**' Could not write function image_data_to_image_buffer: No ArgType for 'const-guint8*' Could not write function get_language_codes: No ArgType for 'gchar**' Warning: Constructor for GstTagDemux needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** The coverage of global functions is 70.83% (17/24) ***INFO*** There are no declared methods.***INFO*** There are no declared virtual proxies.***INFO*** There are no declared virtual accessors.***INFO*** There are no declared interface proxies. CC _gst_la-gst.lo CC interfaces_la-interfaces.lo CC pbutils_la-pbutils.lo CC audio_la-audio.lo CC video_la-video.lo CC tag_la-tag.lo pbutils.c: In function 'pypbutils_register_classes': pbutils.c:1994: error: 'GST_TYPE_ENCODING_PROFILE' undeclared (first use in this function) pbutils.c:1994: error: (Each undeclared identifier is reported only once pbutils.c:1994: error: for each function it appears in.) pbutils.c:1995: error: 'GST_TYPE_ENCODING_CONTAINER_PROFILE' undeclared (first use in this function) pbutils.c:1996: error: 'GST_TYPE_ENCODING_VIDEO_PROFILE' undeclared (first use in this function) pbutils.c:1997: error: 'GST_TYPE_ENCODING_AUDIO_PROFILE' undeclared (first use in this function) pbutils.c:1998: error: 'GST_TYPE_ENCODING_TARGET' undeclared (first use in this function) make[3]: *** [pbutils_la-pbutils.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/freinhard/kde/src/gst-python-0.10.21' make: *** [all] Error 2
There's a fix for that problem on bug #640410
Review of attachment 179157 [details] [review]: works for me
commit c95985640f68f46235a5829227684a6aa3f9d615 Author: Arun Raghavan <arun.raghavan@collabora.co.uk> Date: Mon Jan 24 17:55:55 2011 +0530 codegen: Respect ignore-type for miniobjects https://bugzilla.gnome.org/show_bug.cgi?id=640410 commit 93fd2d4f43ced070fbb1b8a0e4d33d23601957d5 Author: Arun Raghavan <arun.raghavan@collabora.co.uk> Date: Mon Jan 24 17:56:16 2011 +0530 codegen: Handle empty lines in overrides gracefully Without this, having an empty line in an override will cause codegen to unceremoniously choke to death. https://bugzilla.gnome.org/show_bug.cgi?id=640341