Bug 111902 - ufed forces enable of esd USE flag
Bug#: 111902 Product:  Portage Development Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: tools-portage@gentoo.org Reported By: e.liubarskij@gmail.com
Component: Tools
URL: 
Summary: ufed forces enable of esd USE flag
Keywords:  
Status Whiteboard: 
Opened: 2005-11-08 11:53 0000
Description:   Opened: 2005-11-08 11:53 0000
ufed-0.40_rc enables esd USE flag even if it is disabled.

Reproducible: Always
Steps to Reproduce:
1. emerge ufed
2. execute ufed and unset esd USE flag (is it is enabled) 
3. press enter, save and quit

Actual Results:  
esd flag is enabled, but in ufed it shows as disabled.

Expected Results:  
esd USE flag is unset.

emerge --info
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3,
2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.dtiltas.lt/mirror/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LC_ALL="lt_LT.utf8"
LINGUAS="lt"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apm artworkextra audiofile avi
bash-completion berkdb bitmap-fonts bmp browserplugin bzip2 cdparanoia cdr
chroot crypt curl dbus dv dvd dvdread eds emboss encode esd exif expat fam
ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gnome gnutls gpm
gstreamer gtk gtk2 hal idn imagemagick imlib java javascript jpeg lame lcms
libg++ libwww live logrotate mad matroska mikmod mjpeg mmx mmxext mng motif
mozilla mp3 mpeg mplayer nautilus ncurses network nls nptl nsplugin numeric
nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png python quicktime
readline real sdl spell sse sse2 ssl symlink tcpd tiff truetype truetype-fonts
type1-fonts udev unicode usb vcd vidix vorbis win32codecs wxwindows xine xml
xml2 xmms xv xvid zlib linguas_lt userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Kenton Groombridge 2005-11-08 18:37:02 0000 -------
Same problem for me.  It is also forcing audiofile on me as well.

------- Comment #2 From Harald van Dijk 2005-11-08 20:16:51 0000 -------
Could you please run

sed -i -e '159s/^/$pkg =~/' /usr/lib/ufed/Portage.pm

and verify whether this fixes it for you?

------- Comment #3 From Ernestas Liubarskij 2005-11-09 04:22:01 0000 -------
Yes, this fixed the problem for me.

------- Comment #4 From Harald van Dijk 2005-11-09 05:43:46 0000 -------
Okay, I added 0.40_rc-r1 to the tree with the fix. Thanks for the report.