Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131325 - python 2.4.4/2.3.6 enable pthreads inconditionaly
Summary: python 2.4.4/2.3.6 enable pthreads inconditionaly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 145984
  Show dependency tree
 
Reported: 2006-04-26 05:22 UTC by MT
Modified: 2007-05-10 02:54 UTC (History)
2 users (show)

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


Attachments
dev-lang/python-2.4.3-r1.ebuild (python-2.4.3-r1.ebuild,9.62 KB, text/plain)
2006-04-26 05:24 UTC, MT
Details
patch to enable/disable pthreads with the USE "threads" (python-2.4.3-threads.path,1.15 KB, patch)
2006-06-06 08:06 UTC, MT
Details | Diff
patch to enable/disable pthreads with the USE "threads" (python-2.4.3-threads.path,1.15 KB, patch)
2006-06-09 05:34 UTC, MT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MT 2006-04-26 05:22:30 UTC
the python ebuild enable the pthreads support inconditionaly and do not let the user to compile without it. Attached there is an ebuild that make use of the USE "threads".

p.s.: enabling pthreads make python not working on OpenMosix clusters, because Mosix daemon is not able to migrate the processes from software that is build with pthreads support.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-26 05:23:52 UTC
Don't restrict bugs without any reason.
Comment 2 MT 2006-04-26 05:24:23 UTC
Created attachment 85527 [details]
dev-lang/python-2.4.3-r1.ebuild

python ebuild with USE "threads"
Comment 3 MT 2006-06-06 08:06:18 UTC
Created attachment 88521 [details, diff]
patch to enable/disable pthreads with the USE "threads"
Comment 4 MT 2006-06-09 05:34:22 UTC
Created attachment 88761 [details, diff]
patch to enable/disable pthreads with the USE "threads"

fixed a typo. sorry.
Comment 5 MT 2006-06-09 05:36:56 UTC
compiling python with USE "-threads", fix the segmetation faults with oM demons, without losing portage software features. Hope this patch will be added to the CVS.
Comment 6 William L. Thomson Jr. (RETIRED) gentoo-dev 2006-12-17 09:25:10 UTC
This really needs a USE flag, either threads, or nptl. It does not compile on 2.4 kernels that lack nptl, or etc.
Comment 7 Bryan Østergaard (RETIRED) gentoo-dev 2007-05-07 07:48:38 UTC
USE=threads added to python-2.3.6-r1, 2.4.4-r1 and 2.5.1.