Trying to install gentoo from scratch, emerge failed installing net-wireless/crda. The problem is that the M2Crypto python module cannot be load, because it misses the typing module: ERROR: Failed to import the "M2Crypto" module: No module named typing I.e. the dev-python/typing is not installed automatically as a dependency of dev-python/m2crypto Reproducible: Always
Created attachment 450968 [details] log file of emerge command and output
Created attachment 450970 [details] emerge --info output
Updating assignee since m2crypto is a python package not just mine.
Ran into this on a fresh installation, adding dev-python/typing as a dependency does indeed fix it.
I ran into this issue as well (new install, default/linux/amd64/13.0 profile, accepting ~amd64 keyword, a half hour ago) installing net-wireless/wpa_supplicant, which pulls in net-wireless/crda and had the same results as bugsgentoo@jwdt.org and Tiago. Installing dev-python/typing fixes the build error. I just figured I'd mention it for the record.
I hit this as well. Just add dev-pythong/typing to the rdepends list. Easy fix. :)
*** Bug 597710 has been marked as a duplicate of this bug. ***
With Soap's command I submitted a PR here: https://github.com/gentoo/gentoo/pull/2686
Due to the necessary new RDEPEND now, please start keywording dev-python/typing, arch teams. commit 88f92032cd9768fff8af37c8fd68ede1a7241879 Author: Jonathan Scruggs <j.scruggs@gmail.com> Date: Fri Oct 28 11:46:47 2016 +0100 dev-python/m2crypto: Add missing RDEPEND on dev-python/typing Gentoo-bug: 597744 * EAPI=6 * Removing old ebuild as it doesn't have the dependency, so m2crypto will not work right. Signed off by: Jonathan Scruggs (j.scruggs@gmail.com) Closes: https://github.com/gentoo/gentoo/pull/2686 Signed-off-by: David Seifert <soap@gentoo.org>
I have 3.5 for PYTHON_SINGLE_TARGET, PYTHON_TARGETS and USE_PYTHON in my make.conf and crda still reported the failure. Adding 2.7 to dev-python/typing via package.env solved the issue. So please require dev-python/typing[${PYTHON_USEDEP}] in order to pull in the needed modules for m2crypto to work.
(In reply to Steffen Hau from comment #10) > I have 3.5 for PYTHON_SINGLE_TARGET, PYTHON_TARGETS and USE_PYTHON in my > make.conf and crda still reported the failure. Adding 2.7 to > dev-python/typing via package.env solved the issue. > > So please require dev-python/typing[${PYTHON_USEDEP}] in order to pull in > the needed modules for m2crypto to work. Ah missed that. Thanks!
Created a Pull Request to fix this: https://github.com/gentoo/gentoo/pull/2718
Stable on alpha.
An automated check of this bug failed - the following atom is unknown: dev-python/typing Please verify the atom list.
An automated check of this bug succeeded - the previous repoman errors are now resolved.
*** Bug 605282 has been marked as a duplicate of this bug. ***
Marked ~ppc64.
Marked ~hppa.
~arm64 added.
~arm added.
~ia64 keyworded
~ppc keyworded
added ~mips
~x86 added
~sparc keyworded (thanks to Rolf Eike Beer)
(updating package versions)
~s390 done
SuperH port disbanded.
@python: please CC arches to reset the stablebot test. Thanks.
Unable to check for sanity: > no match for package: =dev-python/typing-3.6.4-r1
It looks like all archs finished this.