On Fri, Sep 26, 2008 at 2:47 AM, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> On Thu, 25 Sep 2008 17:59:35 -0400, Kirk Lowery wrote:
>
>> During upgrading today, I inadvertently allowed 2.3 to be deleted. I
>> looked in portage, but it is apparently gone.
>
> Nothing is ever truly gone from portage
>
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/?hideattic=0
>
> goes back as far as python-1/5/2

Thanks for the answers. I thought I'd report my experience here for
the knowledgebase:

I went back and downloaded not only the latest 2.3.6 ebuild into my
local overlay, and all the attendant files (including important
patches) in the "files" directory. In order to be able to emerge the
ebuild file, I had to recreate the digest and manifest files. Don't
know why the checksums were off, but they were. The solution was
simple:

# ebuild python-2.3.6-r6.ebuild digest

took care of it. When I tried to restart my legacy software I got a
python error: "ImportError: No module named thread". Sure enough, the
equery use feature told me "-threads". So I overrode that in
package.use. Nope, no change. Looking at the compile log, I saw this:

./configure --prefix=/usr --host=x86_64-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --with-fpectl
--enable-shared --enable-ipv6 --infodir=${prefix}/share/info
--mandir=${prefix}/share/man --with-libc= --enable-unicode=ucs4
--with-threads --without-threads --with-threads --libdir=/usr/lib64
--build=x86_64-pc-linux-gnu

Configure has both --with- and --without-threads!!??

Nothing I did seemed to make a difference. So I traced where in the
ebuild this might be coming from:

use threads \
      && myconf="${myconf} --with-threads" \
      && myconf="${myconf} --without-threads"

I still don't know why (and would appreciate any knowledgeable person
commenting here), but I simply commented out the third line above,
re-emerged, and viola! my legacy software is up and running.

Kirk

Reply via email to