Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309097 - >net-mail/fetchmail-6.11 ebuild no longer builds without python[tk]
Summary: >net-mail/fetchmail-6.11 ebuild no longer builds without python[tk]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-12 03:03 UTC by Laszlo Valko
Modified: 2010-03-12 08:42 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 Laszlo Valko 2010-03-12 03:03:00 UTC
fetchmail-6.3.11-r1, the latest stable a month ago, did build without tcl/tk support in python.
fetchmail-6.14, current latest stable does not.

There's no reason whatsoever for this change, the upstream package builds even without python, only the optional fetchmailconf script will not be able to run.
However, this optional script used to be no reason to deny building the command-line program itself a month ago (which was a good decision) so that should no reason today.

There's no use in tcl/tk or a graphical config file editor on a headless, remotely mirrored server, only available through ssh.
And I see no reason to bloat a server with tcl/tk that nobody will ever use.
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2010-03-12 07:12:29 UTC
(In reply to comment #0)
> fetchmail-6.3.11-r1, the latest stable a month ago, did build without tcl/tk
> support in python.
> fetchmail-6.14, current latest stable does not.

It did for me. Can you paste the error and your emerge --info.

Thanks
Comment 2 Laszlo Valko 2010-03-12 08:31:09 UTC
root@dl380:~>emerge -1pv python fetchmail                                      

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-util/pkgconfig-0.23  USE="-hardened" 0 kB
[ebuild   R   ] dev-lang/python-2.6.4  USE="berkdb gdbm ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -ipv6 -sqlite -tk -wininst" 0 kB
[ebuild   R   ] net-mail/fetchmail-6.3.11-r1  USE="ssl -hesiod -kerberos -krb4 -nls" 0 kB

Total: 3 packages (1 new, 2 reinstalls), Size of downloads: 0 kB
root@dl380:~>

moon ~ # emerge -1pv fetchmail

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/python[tk]".
!!! One of the following packages is required to complete your request:
- dev-lang/python-2.6.4-r1 (Change USE: +tk)
(dependency required by "net-mail/fetchmail-6.3.14" [ebuild])
(dependency required by "fetchmail" [argument])

moon ~ # 

root@dl380:~>emerge --info
Portage 2.1.7.16 (default/linux/x86/10.0/server, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-hardened-r5 i686)
=================================================================
System uname: Linux-2.6.32-hardened-r5-i686-Intel-R-_Xeon-TM-_CPU_3.40GHz-with-g
entoo-1.12.13
Timestamp of tree: Fri, 12 Feb 2010 03:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/
fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/
ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /et
c/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/portoverlay/php-4 /usr/local/portage/portoverlay/hardened-development"
SYNC="rsync://192.168.1.3/gentoo-portage"
rkdb bluetooth browserplugin bzip2 bzlib caps cgi clamdtop cli cracklib crypt ctype curl cxx dga directfb dkim dri dvd encode exif fbcon flac ftp gd gdbm ggi gif gpm gtk gtk2 hash iconv imagemagick imap irda java jce joystick jpeg ldap ldapsam lmtp logrotate loop-aes lzo mad maildir maildrop memlimit mhash mikmod mime mmap mmx modules motif mozilla mp3 musepack mysql mysqli ncurses no-helper nptl nptlonly nsplugin oav ogg opengl openmp pam pcmcia pcntl pcre perl php png pnm pppd procmail pyzord quotas rar razor readline reflection samba sdl session sieve slang soap sockets socks5 spamassassin speex spl sse sse2 ssl ssse3 suexec sysfs syslog sysvipc tcl tcltk tcpd tga tiff tk truetype unicode usb vda video vidix vorbis win32codecs wmf x86 xanim xinerama xml xml2 xmlreader xmlwriter xorg xpm xsl xv zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel radeonhd radeon nv vesa vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

moon ~ # emerge --info
Portage 2.1.7.16 (default/linux/x86/10.0/server, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-hardened-r5 i686)
=================================================================
System uname: Linux-2.6.32-hardened-r5-i686-Intel-R-_Xeon-R-_CPU_E5405_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 11 Mar 2010 03:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/old.distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/old.packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/portoverlay/php-4 /usr/local/portage/portoverlay/hardened-development"
SYNC="rsync://127.0.0.1:875/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d aac aalib acl acpi alsa amrnb amrwb apache2 audio berkdb bluetooth browserplugin bzip2 bzlib caps cgi clamdtop cli cracklib crypt ctype curl cxx dga directfb dkim dri dvd encode exif fbcon flac ftp gd gdbm ggi gif gpm gtk gtk2 hash iconv imagemagick imap irda java jce joystick jpeg ldap ldapsam lmtp logrotate loop-aes lzo mad maildir maildrop memlimit mhash mikmod mime mmap mmx modules motif mozilla mp3 musepack mysql mysqli ncurses no-helper nptl nptlonly nsplugin oav ogg opengl openmp pam pcmcia pcntl pcre perl php png pnm pppd procmail pyzord quotas rar razor readline reflection samba sdl session sieve slang soap sockets socks5 spamassassin speex spl sse sse2 ssl ssse3 suexec sysfs syslog sysvipc tcl tcltk tcpd tga tiff tk truetype unicode usb vda video vidix vorbis win32codecs wmf x86 xanim xinerama xml xml2 xmlreader xmlwriter xorg xpm xsl xv zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel radeonhd radeon nv vesa vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Laszlo Valko 2010-03-12 08:33:32 UTC
moon ~ # diff -u /usr/portage/net-mail/fetchmail/fetchmail-6.3.11-r1.ebuild /usr/portage/net-mail/fetchmail/fetchmail-6.3.14.ebuild
--- /usr/portage/net-mail/fetchmail/fetchmail-6.3.11-r1.ebuild  2010-02-14 20:06:25.000000000 +0100
+++ /usr/portage/net-mail/fetchmail/fetchmail-6.3.14.ebuild     2010-03-10 12:36:36.000000000 +0100
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.11-r1.ebuild,v 1.7 2009/09/27 15:12:16 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.14.ebuild,v 1.7 2010/03/10 11:08:12 jer Exp $
 
 EAPI=2
 
@@ -13,18 +13,19 @@
 LICENSE="GPL-2 public-domain"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="ssl nls kerberos krb4 hesiod"
+IUSE="ssl nls kerberos hesiod tk"
 
 RDEPEND="hesiod? ( net-dns/hesiod )
        ssl? ( >=dev-libs/openssl-0.9.6 )
-       kerberos? ( app-crypt/mit-krb5 )
-       krb4? ( <app-crypt/mit-krb5-1.7[krb4] )
+       kerberos? ( virtual/krb5 >=dev-libs/openssl-0.9.6 )
        nls? ( virtual/libintl )
        elibc_FreeBSD? ( sys-libs/com_err )
-       virtual/python"
+       dev-lang/python[tk?]"
 DEPEND="${RDEPEND}
        nls? ( sys-devel/gettext )"
 
+RESTRICT=test
+
 pkg_setup() {
        enewgroup ${PN}
        enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
@@ -34,8 +35,6 @@
Comment 4 Laszlo Valko 2010-03-12 08:42:08 UTC
Okay, now I can see, the real problem is that emerge does not tell me why I have a dependency that I used to not have...

Thanks, the ebuild only got better with your change.