Summary: | dev-lang/python-x.x.x distutils installer does not link libraries | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rick Harris <rickfharris> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | crusaderky, genstef, olivier, rockoo, rossi.f |
Priority: | Highest | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sourceforge.net/tracker/index.php?func=detail&aid=1254718&group_id=5470&atid=305470 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 131527, 145984 |
Description
Rick Harris
2006-06-30 18:55:32 UTC
Correction, patch is located here: http://sourceforge.net/tracker/index.php?func=detail&aid=1254718&group_id=5470&atid=305470 Thanks Can we apply this simple patch please, seems it does not work correctly on gentoo without it. To get the patchfile please run: wget -q 'http://sourceforge.net/tracker/download.php?group_id=5470&atid=305470&file_id=144928&aid=1254718' -O patchfile It looks like that: --- Lib/distutils/unixccompiler.py.orig 2005-08-09 11:54:17.000000000 +0900 +++ Lib/distutils/unixccompiler.py 2005-08-09 12:54:37.000000000 +0900 @@ -207,7 +207,8 @@ return "+s -L" + dir elif sys.platform[:7] == "irix646" or sys.platform[:6] == "osf1V5": return ["-rpath", dir] - elif compiler[:3] == "gcc" or compiler[:3] == "g++": + # This should recognize gcc, g++, gcc-x.y, ccache gcc, etc. + elif compiler.find("gcc") >= 0 or compiler.find("g++") >= 0: return "-Wl,-R" + dir else: return "-R" + dir ping ping? ping Fixed in 2.3.6-r1, 2.4.4-r1 and 2.5.1. |