Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218340 - net-mail/fetchmail-6.3.8-r1 -- fetchmailconf missing dependency
Summary: net-mail/fetchmail-6.3.8-r1 -- fetchmailconf missing dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 22:35 UTC by Imre Péntek
Modified: 2013-03-09 22:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Imre Péntek 2008-04-18 22:35:01 UTC
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
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2009-11-11 08:03:51 UTC
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.
Comment 2 piotr5 2013-03-09 22:06:11 UTC
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 "$@"