Emerge fails with USE="python" if Python3 is the default: make[1]: Leaving directory `/var/tmp/portage/net-analyzer/net-snmp-5.4.3/work/net-snmp-5.4.3/perl' File "setup.py", line 14 sys.argv.remove(arg) ^ TabError: inconsistent use of tabs and spaces in indentation make: *** [pythonmodules] Error 1 emake failed * ERROR: net-analyzer/net-snmp-5.4.3 failed (compile phase): Adding: PYTHON_DEPEND="2" and: pkg_setup() { python_set_active_version 2 } fixes it for me.
Fixed in net-analyzer/net-snmp-5.4.2.1-r4, net-analyzer/net-snmp-5.4.3 and net-analyzer/net-snmp-5.5.