Summary: | app-portage/gentoolkit requires dev-lang/python to be built with thread support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Friedrich Oslage (RETIRED) <bluebird> |
Component: | New packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ziapannocchia |
Priority: | High | Keywords: | InVCS |
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 170220 | ||
Attachments: |
patch for gentoolkit ebuilds
/usr/lib/gentoolkit/pym/gentoolkit/__init__.py |
Description
Friedrich Oslage (RETIRED)
2008-05-22 20:31:54 UTC
Created attachment 153981 [details, diff]
patch for gentoolkit ebuilds
This patch isn't correct anymore. The 'nothreads' USE flag disappeared in >= python-2.4.4-r10. They introduced the 'threads' USE flag in python now. ... if ! built_with_use 'dev-lang/python' 'threads' ; then eerror "dev-lang/python is missing thread support. Please add" eerror "'threads' to your USE flags, and re-emerge dev-lang/python." die "dev-lang/python needs thread support" fi ... Created attachment 159956 [details] /usr/lib/gentoolkit/pym/gentoolkit/__init__.py gentoolkit only requires thread support if it is used in a multi-threaded application. I've fixed it so that if you don't have threads enabled, it defines a "null" Lock class. $ svn commit -m "Fix gentoolkit to work without thread support in python. (Bug 223255)" ChangeLog src/gentoolkit/__init__.py Sending ChangeLog Sending src/gentoolkit/__init__.py Transmitting file data .. Committed revision 491. Released in gentoolkit-0.2.4_rc5. *** Bug 230021 has been marked as a duplicate of this bug. *** |