Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379781 - media-libs/gst-rtsp-server-0.10.8 fails to emerge with Python3
Summary: media-libs/gst-rtsp-server-0.10.8 fails to emerge with Python3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 19:42 UTC by Chris Mayo
Modified: 2011-08-31 23:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2011-08-18 19:42:29 UTC
(/usr/bin/python ./codegen/codegen.py \
	--load-types ./arg-types.py \
	--register ./rtspserver-types.defs \
	--override ./rtspserver.override \
	--extendpath ../../gst/ \
	--extendpath ./ \
	--prefix pygst_rtsp_server rtspserver.defs) > gen-rtspserver.c \
&& cp gen-rtspserver.c rtspserver.c \
&& rm -f gen-rtspserver.c
  CC     rtspserver_la-rtspservermodule.lo
/bin/sh ../../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc ./rtspserver-types.defs ./rtspserver.defs -I. -I../.. -I../.. -I. -I/usr/include/python3.2 -I/usr/include/python3.2   -I../../src -pthread -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2        -DGST_DISABLE_DEPRECATED -march=core2 -msse4.1 -ftree-vectorize -O2 -pipe -c -o rtspserver_la-rtspservermodule.lo `test -f 'rtspservermodule.c' || echo './'`rtspservermodule.c
  File "./codegen/codegen.py", line 317
    raise ValueError, "varargs functions not supported"
                    ^
SyntaxError: invalid syntax
make[4]: *** [rtspserver.c] Error 1
make[4]: *** Waiting for unfinished jobs....
rtspservermodule.c: In function ‘DL_EXPORT’:
rtspservermodule.c:14: error: expected declaration specifiers before ‘initrtspserver’
rtspservermodule.c:31: error: expected ‘{’ at end of input
make[4]: *** [rtspserver_la-rtspservermodule.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-libs/gst-rtsp-server-0.10.8/work/gst-rtsp-0.10.8/bindings/python'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/gst-rtsp-server-0.10.8/work/gst-rtsp-0.10.8/bindings/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/gst-rtsp-server-0.10.8/work/gst-rtsp-0.10.8/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/gst-rtsp-server-0.10.8/work/gst-rtsp-0.10.8'
make: *** [all] Error 2
 * ERROR: media-libs/gst-rtsp-server-0.10.8 failed (compile phase):


USE="-debug doc introspection nls -static-libs vala"
Default Python interpreter: python-3.2-r2


Adding "python_set_active_version 2"  got it working for me but I had to drop the EAPI to 3 to be able to inherit python.
Comment 1 Matt Turner gentoo-dev 2011-08-31 23:09:19 UTC
Thanks for the report. Fixed.