Host OS: Fedora 13 (x86) Emerging pysvn fails with the error bellow. It suggested to use --pycxx-src-dir, so I updated ebuild to use this option and pysvn compiles then fine. ----- >>> Configuring source in /gentoo/var/tmp/portage/dev-python/pysvn-1.7.2/work/pysvn-1.7.2 ... * Configuration of dev-python/pysvn-1.7.2 with CPython 2.6... Info: Found PyCXX include in /gentoo/usr/include/python2.6 ('Error:', 'cannot find PyCXX Source cxxsupport.cxx - use --pycxx-src-dir') * ERROR: dev-python/pysvn-1.7.2 failed: * Configuration failed with Python {PYTHON_ABI} * * Call stack: * ebuild.sh, line 53: Called call-ebuildshell 'src_configure' * environment, line 934: Called src_configure * environment, line 4583: Called python_execute_function '-s' 'configuration' * environment, line 3297: Called configuration * environment, line 4580: Called die * The specific snippet of code: * "$(PYTHON)" setup.py configure --apr-inc-dir="${EPREFIX}/usr/include/apr-1" --svn-root-dir="${EPREFIX}/usr" || die "Configuration failed with Python {PYTHON_ABI}"; * * If you need support, post the output of 'emerge --info =dev-python/pysvn-1.7.2', * the complete build log and the output of 'emerge -pqv =dev-python/pysvn-1.7.2'. * The complete build log is located at '/gentoo/var/tmp/portage/dev-python/pysvn-1.7.2/temp/build.log'. * The ebuild environment file is located at '/gentoo/var/tmp/portage/dev-python/pysvn-1.7.2/temp/environment'. * S: '/gentoo/var/tmp/portage/dev-python/pysvn-1.7.2/work/pysvn-1.7.2' ----
Created attachment 248763 [details] fixed pysvn ebuild
Created attachment 248765 [details, diff] diff for pysvn-1.7.2.ebuild
Thanks for your fix. Don't you need a keyword for this too?
(In reply to comment #3) > Thanks for your fix. Don't you need a keyword for this too? Yes, please. ~x86 should be ok.
You probably mean ~x86-linux. Do you need any dependencies?
~x86-linux is right. What type of dependencies do you mean? What packages pysvn needs to work?
yeah, if you had to add/change keywords of any other packages to emerge this one (e.g. pycxx)
I had to only add pysvn to package.keywords and use --pycxx-src-dir. That's all.
ok, keyword added, thanks!