Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176980 - media-sound/lilycomp-1.0.2 ebuild does not check for tk use flag on python
Summary: media-sound/lilycomp-1.0.2 ebuild does not check for tk use flag on python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-04 00:20 UTC by Elliott Sales de Andrade
Modified: 2007-06-21 18:55 UTC (History)
1 user (show)

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 Elliott Sales de Andrade 2007-05-04 00:20:55 UTC
Python was installed without the 'tk' use flag. However, the lilycomp ebuild did not check for this and installed anyway. Upon running lilycomp, this was output:
Traceback (most recent call last):
  File "/usr/bin/lilycomp", line 39, in ?
    from Tkinter import *
ImportError: No module named Tkinter
Reinstalling Python with the tk use flag enabled running of lilycomp.

Looking at other ebuilds, it seems it's just a simple matter of adding something like this:
inherit python
pkg_setup() {
	# check for Tkinter support in python
	python_tkinter_exists
}

emerge --info
Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 01 May 2007 06:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/"
LANG="en_CA.UTF-8"
LC_ALL="en_CA.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/armagetron /usr/portage/local/layman/xeffects /usr/portage/local/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 avahi beagle berkdb bitmap-fonts bzip2 cairo cdr cjk cli cpudetection cracklib crypt cups dbus dri dv dvd dvdr eds emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gd gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal howl iconv ieee1394 immqt-bc ipv6 isdnlog jack jpeg kde kdeenablefinal kdehiddenvisibility lcms libg++ libnotify lm_sensors mad midi mikmod mono mp3 mpeg ncurses nls nptl nptlonly ogg openal openexr opengl pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session slang sndfile speex spell spl sse3 ssl sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis xinerama xml xorg xv zeroconf zlib"
ALSA_CARDS="intel8x0 hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"
ELIBC="glibc"
INPUT_DEVICES="evdev keyboard mouse"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
USERLAND="GNU"
VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2007-05-25 10:04:22 UTC
 There is an updated version of the ebuild here:
 http://overlays.gentoo.org/svn/proj/sunrise/portage-review/media-sound/lilycomp/
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2007-06-21 18:55:18 UTC
 This is fixed in CVS. thanks for the report :)