Mercurial can not be used when python is build without thread support. Reproducible: Always Steps to Reproduce: 1.USE="-threads" emerge -av1 dev-lang/python 2.emerge -av dev-util/mercurial 3.mkdir /tmp/foo 4.cd /tmp/foo 5.hg init 6.hg clone /tmp/foo/ /tmp/foo_clone 7.touch foo_file 8.hg add foo_file Actual Results: on clone/add (6/8) hg fails with "abort: could not import module thread!" Expected Results: step 2 should fail when python was not build with USE="threads"
Thanks for reporting this missing dependency, assigning to maintainer
I think this should fix it. Hoping to commit it soon. --- /usr/portage/dev-util/mercurial/mercurial-1.3.1.ebuild 2009-07-25 12:02:01.000000000 +0200 +++ mercurial-1.3.1.ebuild 2009-09-16 13:54:40.000000000 +0200 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.3.1.ebuild,v 1.1 2009/07/25 10:02:01 nelchael Exp $ +EAPI=2 + inherit bash-completion elisp-common flag-o-matic eutils distutils DESCRIPTION="Scalable distributed SCM" @@ -13,7 +15,7 @@ KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="bugzilla emacs gpg test tk zsh-completion" -CDEPEND=">=dev-lang/python-2.4" +CDEPEND=">=dev-lang/python-2.4[threads]" RDEPEND="${CDEPEND} bugzilla? ( dev-python/mysql-python ) gpg? ( app-crypt/gnupg )
/var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v <-- ChangeLog new revision: 1.105; previous revision: 1.104 /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.3.1-r1.ebuild,v <-- mercurial-1.3.1-r1.ebuild initial revision: 1.1