Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103556 - gnome/esd USE flags useless for ayttm ?
Summary: gnome/esd USE flags useless for ayttm ?
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: 153210
  Show dependency tree
 
Reported: 2005-08-23 23:53 UTC by Jerome Potts
Modified: 2006-11-19 05:27 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 Jerome Potts 2005-08-23 23:53:45 UTC
Emerging (-pv) ayttm wants esound although i have -esd. Going down the list of
dependencies teaches me that gdk-pixbuf is the one which would pull in esound.
But since i have -gnome, why does it want the gnome libs ? After trying a few
different things, i discover that if i specify the gnome USE flag, the list of
dependencies is exactly the same

Reproducible: Always
Steps to Reproduce:
1. Setting: no gnome stuff previously installed on this machine, -gnome in USE
since the original install, no gdm, no nothin.

2. # emerge -pv ayttm

3. # USE="gnome" emerge -pv ayttm


Actual Results:  
Step 1:
Calculating dependencies ...done!
[ebuild  NS   ] sys-libs/db-1.85-r2  279 kB 
[ebuild  N    ] media-sound/esound-0.2.34  +alsa +ipv6 +tcpd 310 kB 
[ebuild  N    ] gnome-base/orbit-0.5.17  1,040 kB 
[ebuild  N    ] media-libs/imlib-1.9.14-r3  574 kB 
[ebuild  N    ] gnome-base/gnome-libs-1.4.2  -doc -kde +nls 2,807 kB 
[ebuild  N    ] media-libs/gdk-pixbuf-0.22.0-r3  +X -doc +mmx 388 kB 
[ebuild  N    ] app-crypt/gpgme-0.3.14-r1  -doc 640 kB 
[ebuild  N    ] net-im/ayttm-0.4.6-r1  -esd -gnome +nls +truetype 1,333 kB 

Total size of downloads: 7,374 kB

Step 2: yields the same list of dependencies


Expected Results:  
First case should've yielded no gnome libs, consequently no esound

In addition, while examining the dependencies in the list pasted above, i also
discovered this:

# emerge -pv gpgme

Calculating dependencies ...done!
[ebuild  N    ] dev-libs/pth-1.4.0  434 kB 
[ebuild  N    ] app-crypt/gpgme-1.0.2  814 kB 

Total size of downloads: 1,248 kB

...note that my previous emerge -pv ayttm above pulls gpgme, but which does not
that time pull pth. This is uncomprehensible to me.

# emerge --info 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=athlon -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="-O2 -mcpu=athlon -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict test
userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.phy.olemiss.edu/mirror/gentoo
http://cudlug.cudenver.edu/gentoo http://mirror.espri.arizona.edu/gentoo
http://open-systems.ufl.edu/mirrors/gentoo
http://gentoo.cites.uiuc.edu/pub/gentoo http://mirror.usu.edu/mirrors/gentoo
http://gentoo.osuos1.org http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm avi bash-completion berkdb bidi bitmap-fonts bzip2
cdparanoia cdr cjk crypt cups dga directfb divx4linux dv emboss encode fbcon
flac foomaticdb fortran gdbm gif gnutls gpm gtk gtk2 imlib ipv6 java jpeg
libcaca libg++ libwww mad mailwrapper matroska matrox mikmod mmx motif mozilla
mp3 mpeg nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python
quicktime readline sdl slang spell ssl svga tcltk tcpd test theora threads tiff
truetype truetype-fonts type1-fonts unicode vorbis xml xml2 xmms xprint xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-24 01:41:51 UTC
Well, this line in the ebuild seems useless 

 gnome? ( >=gnome-base/gnome-libs-1.4.1.7 )

since media-libs/gdk-pixbuf RDEPENDs on gnome-libs (not optional). 

esd? ( >=media-sound/esound-0.2.28 )

looks also redundant as gnome-libs depends on esound (also not optional). 

As gdk-pixbuf is needed, probably nothing can be done dependency-wise. Those
gnome/esd use flags are are used in src_compile(), so they are needed unless we
make esd/gnome support not optional (which might make sense since the
dependencies cannot be avoided anyway).

app-crypt/gpgme-0.3.14-r1 does not depend on dev-libs/pth, while gpgme-1.0.2
does; ayttm does not compile w/ >=gpgme-1 (Bug 78521) so this looks OK.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-19 05:27:54 UTC
p.masked pending removal for Bug 154102.

WONTFIX.