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
Created attachment 295285 [details, diff] Patch to python-2.5.4-r4.ebuild to install without error under Linux 3.x
(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
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.