USE="alsa -custom-optimization dbus -debug gnome libnotify startup-notification -system-sqlite -wifi" If the default interpreter is Python3: /var/tmp/portage/x11-plugins/enigmail-1.1.2-r3/work/comm-1.9.2/mozilla/config/nsinstall -R nsinstall ../dist/bin /usr/bin/python ../toolkit/xre/make-platformini.py --print-buildid > buildid File "../toolkit/xre/make-platformini.py", line 17 print datetime.now().strftime('%Y%m%d%H%M%S') ^ SyntaxError: invalid syntax make[2]: *** [export] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-plugins/enigmail-1.1.2-r3/work/comm-1.9.2/mozilla/config' make[1]: *** [export] Error 2 make[1]: Leaving directory `/var/tmp/portage/x11-plugins/enigmail-1.1.2-r3/work/comm-1.9.2/mozilla' make: *** [export] Error 2 emake failed * ERROR: x11-plugins/enigmail-1.1.2-r3 failed (compile phase): * make export failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5640: Called die * The specific snippet of code: * emake -j1 export || die "make export failed"; Adding python_set_active_version 2 to pkg_setup() fixes this for me.
I can confirm both this error and the remedy. Switching the system python to 2.7 allows for successful compilation. My enigmail use flags are: system-sqlite -alsa -custom-optimization -dbus -debug -gnome -libnotify -startup-notification -wifi Will happily provide further info.
same goes for enigmail-1.1.2-r2
enigmail ebuild has been depreciated and moved back into thunderbird ebuild via crypt useflag.