imi@boborjan ~ $ fetchmailconf Traceback (most recent call last): File "/usr/lib64/python2.5/site-packages/fetchmailconf.py", line 10, in <module> from Tkinter import * ImportError: No module named Tkinter imi@boborjan ~ $ maybe you should add an additional dependency check into fetchmail ebuild, or a new use flag for enabling fetchmailconf exectutable, this way that one more dependency check should be only performed then fetchmailconf is enabled. Reproducible: Always
A long time ago the following hint was added: |if ! python -c "import Tkinter" >/dev/null 2>&1 |then | elog | elog "You will not be able to use fetchmailconf(1), because you" | elog "don't seem to have Python with tkinter support." | elog | elog "If you want to be able to use fetchmailconf(1), do the following:" | elog " 1. Add 'tk' to the USE variable in /etc/make.conf." | elog " 2. (Re-)merge Python." | elog |fi From 6.3.13 on it can be controlled with the tk useflag.
seems now fetchmailconf executable is getting installed even when -tk is in the useflags. quite confusing: /usr/bin/fetchmailconf: line 2: exec: :: not found ~ $ cat `which fetchmailconf` #! /bin/sh exec : /fetchmailconf.py "$@"