Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338895 - pysvn 1.7.2 configure fix
Summary: pysvn 1.7.2 configure fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 08:53 UTC by Martin Zibricky
Modified: 2010-09-30 08:47 UTC (History)
0 users

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


Attachments
fixed pysvn ebuild (pysvn-1.7.2-r1.ebuild,2.43 KB, text/plain)
2010-09-27 08:55 UTC, Martin Zibricky
Details
diff for pysvn-1.7.2.ebuild (pysvn-1.7.2-r1.patch,694 bytes, patch)
2010-09-27 08:57 UTC, Martin Zibricky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Zibricky 2010-09-27 08:53:41 UTC
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'
----
Comment 1 Martin Zibricky 2010-09-27 08:55:54 UTC
Created attachment 248763 [details]
fixed pysvn ebuild
Comment 2 Martin Zibricky 2010-09-27 08:57:45 UTC
Created attachment 248765 [details, diff]
diff for pysvn-1.7.2.ebuild
Comment 3 Fabian Groffen gentoo-dev 2010-09-30 07:46:06 UTC
Thanks for your fix.  Don't you need a keyword for this too?
Comment 4 Martin Zibricky 2010-09-30 08:16:22 UTC
(In reply to comment #3)
> Thanks for your fix.  Don't you need a keyword for this too?

Yes, please. ~x86 should be ok.

Comment 5 Fabian Groffen gentoo-dev 2010-09-30 08:18:02 UTC
You probably mean ~x86-linux.  Do you need any dependencies?
Comment 6 Martin Zibricky 2010-09-30 08:32:19 UTC
~x86-linux is right. What type of dependencies do you mean? What packages pysvn needs to work?
Comment 7 Fabian Groffen gentoo-dev 2010-09-30 08:33:35 UTC
yeah, if you had to add/change keywords of any other packages to emerge this one (e.g. pycxx)
Comment 8 Martin Zibricky 2010-09-30 08:42:36 UTC
I had to only add pysvn to package.keywords and use --pycxx-src-dir. That's all.

Comment 9 Fabian Groffen gentoo-dev 2010-09-30 08:47:25 UTC
ok, keyword added, thanks!