Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402909 - dev-vcs/bzr requires dev-lang/python[threads]
Summary: dev-vcs/bzr requires dev-lang/python[threads]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: bazaar+obsolete
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-09 18:16 UTC by Ben Kohler
Modified: 2012-03-16 23:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2012-02-09 18:16:57 UTC
In its current state, Bazaar will not function properly with python[-threads].

Reproducible: Always

Steps to Reproduce:
1. USE="-threads" emerge -1 python:2.7   (or whatever your active python is)
2. bzr branch bzr://bzr.savannah.gnu.org/grub/trunk/grub
Actual Results:  
# bzr branch bzr://bzr.savannah.gnu.org/grub/trunk/grub
bzr: ERROR: No module named thread
You may need to install this Python library separately.



The bzr guys (#bzr @ freenode) seem to think things should be cleaned up (upstream) to safely fall back on non-threads setups, but right NOW, threads seem to be required on python.

They also mentioned the possibility of hacking this in, to allow use on non-threads systems:

import dummy_thread
sys.modules['thread'] = dummy_thread

But as I understand it, that just (safely but) dumbly disables threads so it's not something that could be done unconditionally.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2012-03-16 23:35:18 UTC
Thanks for the patience.  This should be fixed with bzr 2.5.0, please test.