Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394143 - dev-lang/python-2.5.4-r4 doesn't install under kernel ver. Linux 3.x
Summary: dev-lang/python-2.5.4-r4 doesn't install under kernel ver. Linux 3.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 12:28 UTC by Clemmitt M. Sigler
Modified: 2011-12-14 23:06 UTC (History)
0 users

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


Attachments
Patch to python-2.5.4-r4.ebuild to install without error under Linux 3.x (python-2.5.4-r4-linux3.patch,426 bytes, patch)
2011-12-09 12:33 UTC, Clemmitt M. Sigler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Clemmitt M. Sigler 2011-12-09 12:28:58 UTC
Hi,

I stumbled upon this problem when trying to solve an problem emerging an unrelated package.  Under Linux 3.x (in my case, specifically, Linux 3.0.9), dev-lang/python-2.5.4-r4 fails to install.

The problem is that "the PLATDIR source directory" (see the toplevel Makefile in the ${S} directory) doesn't exist.  As a first try, I'm assuming that copying the contents of Lib/plat-linux2 to a new directory named Lib/plat-linux3 may fix the problem.

OK, I've patched python-2.5.4-r4.ebuild to create a new directory ${S}/Lib/plat-linux3 whose contents are identical to ${S}/Lib/plat-linux2.  This gets dev-lang/python-2.5.4-r4 to install properly under Linux 3.x.  I'll attach the patch next.

HTH.

Clemmitt
Comment 1 Clemmitt M. Sigler 2011-12-09 12:33:08 UTC
Created attachment 295285 [details, diff]
Patch to python-2.5.4-r4.ebuild to install without error under Linux 3.x
Comment 2 Clemmitt M. Sigler 2011-12-09 12:37:56 UTC
(In reply to comment #0)
> Under Linux 3.x (in my case, specifically, Linux 3.0.9),
> dev-lang/python-2.5.4-r4 fails to install.

Note to devs: If Python 2.5.x is decided to be obsolete under Linux 3.x, please close this bug as WONTFIX.  TIA.

Clemmitt
Comment 3 Mike Gilbert gentoo-dev 2011-12-14 23:06:02 UTC
I copied the workaround we are using for python 2.6. Regardless of what upstream officially supports, I think we should try to keep it going for now.