multimedia/py-gstreamer build failure

Jimmie James jimmiejaz at gmail.com
Sat Mar 5 00:49:35 UTC 2011


Anyone have an idea on this? It's blocking dozens of apps that need 
updating.

--->  Installing 'py27-gstreamer-0.10.21' from a port 
(multimedia/py-gstreamer)
--->  Building '/usr/ports/multimedia/py-gstreamer'
===>  Cleaning for py27-gstreamer-0.10.21
===>  License LGPL21 accepted by the user
===>  Extracting for py27-gstreamer-0.10.21
=> SHA256 Checksum OK for gst-python-0.10.21.tar.bz2.
===>  Patching for py27-gstreamer-0.10.21
===>   py27-gstreamer-0.10.21 depends on file: 
/usr/local/lib/python2.7/site-packages/libxml2mod.so - found
===>   py27-gstreamer-0.10.21 depends on file: /usr/local/bin/python2.7 
- found
===>   py27-gstreamer-0.10.21 depends on executable: gmake - found
===>   py27-gstreamer-0.10.21 depends on package: 
gstreamer-plugins>=0.10.0 - found
===>   py27-gstreamer-0.10.21 depends on executable: pkg-config - found
===>   py27-gstreamer-0.10.21 depends on executable: 
pygobject-codegen-2.0 - found
===>   py27-gstreamer-0.10.21 depends on shared library: glib-2.0.0 - found
===>  Configuring for py27-gstreamer-0.10.21
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-portbld-freebsd8.2
checking host system type... i386-portbld-freebsd8.2
checking how to print strings... printf
checking for style of include used by gmake... GNU
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /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... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert i386-portbld-freebsd8.2 file names to 
i386-portbld-freebsd8.2 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd8.2 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... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc 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... cpp
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 cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.2 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) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for cc option to accept ISO C99... -std=gnu99
checking for cc -std=gnu99 option to accept ISO Standard C... (cached) 
-std=gnu99
checking whether cc -std=gnu99 and cc understand -c and -o together... yes
checking for python version... 2.7
checking for python platform... freebsd8
checking for python script directory... 
${prefix}/lib/python2.7/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.7/site-packages
checking for python >= 2.3... okay
checking for headers required to compile python extensions... found
checking for pkg-config... /usr/local/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... no
checking to see if compiler understands -Wpointer-arith... yes
configure: set WARNING_CFLAGS to  -Wall -Wdeclaration-after-statement 
-Wpointer-arith
configure: set ERROR_CFLAGS to
checking for valgrind... no
checking for libraries required to embed python... yes
configure: Using /usr/local/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
===>  Building for py27-gstreamer-0.10.21
if test -f pygst.py; then chmod +w pygst.py; fi
sed -e 
"s|@PYGSTDIR\@|/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21|g" 
\
	    -e "s|@GST_MAJORMINOR\@|0.10|g" \
	    pygst.py.in > pygst.py
chmod -w pygst.py
gmake  all-recursive
gmake[1]: Entering directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21'
Making all in common
gmake[2]: Entering directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common'
Making all in m4
gmake[3]: Entering directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common/m4'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common/m4'
gmake[3]: Entering directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common'
gmake[2]: Leaving directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/common'
Making all in codegen
gmake[2]: Entering directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen'
Making all in gst
gmake[2]: Entering directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst'
Making all in extend
gmake[3]: Entering directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst/extend'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst/extend'
gmake[3]: Entering directory 
`/usr/ports/multimedia/py-gstreamer/work/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):
   File "../codegen/codegen.py", line 1575, in <module>
     sys.exit(main(sys.argv))
   File "../codegen/codegen.py", line 1532, in main
     o = override.Overrides(arg, path=extendpath)
   File 
"/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", 
line 49, in __init__
     self.handle_file(filename)
   File 
"/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", 
line 92, in handle_file
     self.__parse_override(buf, startline, filename)
   File 
"/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", 
line 174, in __parse_override
     self.handle_file(filename)
   File 
"/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", 
line 92, in handle_file
     self.__parse_override(buf, startline, filename)
   File 
"/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", 
line 174, in __parse_override
     self.handle_file(filename)
   File 
"/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", 
line 92, in handle_file
     self.__parse_override(buf, startline, filename)
   File 
"/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/codegen/override.py", 
line 104, in __parse_override
     command = words[0]
IndexError: list index out of range
gmake[3]: *** [gst.c] Error 1
gmake[3]: Leaving directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21/gst'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/py-gstreamer/work/gst-python-0.10.21'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/py-gstreamer.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall20110304-24903-gkrq7s-0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! multimedia/py-gstreamer	(unknown build error)





More information about the freebsd-ports-bugs mailing list