Uncategorized

gst-python won’t compile

gst-python won’t compile

I’ve been having trouble compiling gst-python-0.10.13 over the last few days. Today, I decided to get this figured out. When emerging gst-python, I receive the following error:


gst-python won’t compile

I’ve been having trouble compiling gst-python-0.10.13 over the last few days. Today, I decided to get this figured out. When emerging gst-python, I receive the following error:


Traceback (most recent call last):
File "../codegen/codegen.py", line 1572, in <module>
sys.exit(main(sys.argv))
File "../codegen/codegen.py", line 1529, in main
o = override.Overrides(arg, path=extendpath)
File "/var/tmp/portage/dev-python/gst-python-0.10.13/work/gst-python-0.10.13/codegen/override.py", line 49, in __init__
self.handle_file(filename)
File "/var/tmp/portage/dev-python/gst-python-0.10.13/work/gst-python-0.10.13/codegen/override.py", line 92, in handle_file
self.__parse_override(buf, startline, filename)
File "/var/tmp/portage/dev-python/gst-python-0.10.13/work/gst-python-0.10.13/codegen/override.py", line 174, in __parse_override
self.handle_file(filename)
File "/var/tmp/portage/dev-python/gst-python-0.10.13/work/gst-python-0.10.13/codegen/override.py", line 92, in handle_file
self.__parse_override(buf, startline, filename)
File "/var/tmp/portage/dev-python/gst-python-0.10.13/work/gst-python-0.10.13/codegen/override.py", line 174, in __parse_override
self.handle_file(filename)
File "/var/tmp/portage/dev-python/gst-python-0.10.13/work/gst-python-0.10.13/codegen/override.py", line 64, in handle_file
raise Exception, "Couldn't find file %s" % filename
Exception: Couldn't find file gst-0.10.21.ignore
make[3]: *** [gst.c] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-python/gst-python-0.10.13/work/gst-python-0.10.13/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/gst-python-0.10.13/work/gst-python-0.10.13/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/gst-python-0.10.13/work/gst-python-0.10.13'
make: *** [all] Error 2
*
* ERROR: dev-python/gst-python-0.10.13 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2765: Called die
* The specific snippet of code:
* emake || die "emake failed";
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/gst-python-0.10.13/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/gst-python-0.10.13/temp/environment'.

Solution is to add ~x86 keyword to gstreamer (/etc/portage/package.keywords) and update it to the latest greatest (gstreamer-0.10.21). Make sure you update gstreamer before you rebuild gst-python again. Hope this helps.

hanji