Summary: | emerge sys-libs/tdb-1.1.5-r1 failed. python3.1/pyconfig.h warning: "_POSIX_C_SOURCE" redefined, 'Py_TPFLAGS_HAVE_ITER' undeclared etc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vitaly A. Repin <vitaly.repin> |
Component: | New packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | john, juho_jokelainen, pqGungnir, tom |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info =sys-libs/tdb-1.1.5-r1
Build log emerge --info Ebuild which forces python version |
Description
Vitaly A. Repin
2009-12-19 21:24:37 UTC
Created attachment 213499 [details]
emerge --info =sys-libs/tdb-1.1.5-r1
Created attachment 213500 [details]
Build log
Created attachment 213501 [details]
emerge --info
Does it compile on Python 2.x? In that case this thing needs to mask against Python 3.x. By the way, tdb 1.2 is out. Probably still won't support Py3 but still… (In reply to comment #4) > Does it compile on Python 2.x? I suppose yes, as the library was installed before I have upgraded python. How can I check this? > Python 3.x. By the way, tdb 1.2 is out. Not in gentoo yet? I just have done "emerge --sync" and do not see it there. only 1.1.5-r1. > Probably still won't support Py3 but still… Any idea for workaround? I am not python guy. I just want my bittorrent client to work again :-) (In reply to comment #5) > (In reply to comment #4) > > Does it compile on Python 2.x? > > I suppose yes, as the library was installed before I have upgraded python. > How can I check this? > > > Python 3.x. By the way, tdb 1.2 is out. > > Not in gentoo yet? I just have done "emerge --sync" and do not see it there. > only 1.1.5-r1. > > > Probably still won't support Py3 but still… > > Any idea for workaround? I am not python guy. I just want my bittorrent > client to work again :-) > Vitaly: Everything in my comment wasn't directed towards you :-) Patrick/the python herd will fix this when they have the time. Ah. Stupid package uses python-config directly, so it will pick up the system python by default. I see no easy way to fix this, so for now I'll just say "don't do that then" and think of non-violent ways to make it work. *** Bug 326169 has been marked as a duplicate of this bug. *** still no solution ? hmm .. eselect python set 1 emerge tdb .. thx Created attachment 255961 [details]
Ebuild which forces python version
This updated ebuild passes PYTHON and PYTHON_CONFIG to tdb's configure script so that it used the values we tell it to instead of searching its list.
I've tested this with both python 2.7 and python 3.1 set as my system python and it works for me, although I suspect that there's a better way of getting the path to the correct python-config script.
*** Bug 347858 has been marked as a duplicate of this bug. *** *** Bug 348662 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 316959 *** |