Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57894

Summary: 'Emerge -uDpv world' wants to pull in alsa and old sources...
Product: Gentoo Linux Reporter: Justin Robinson <Xemoka>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: gaim-bugs, lisa, media-video
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My World File
Current package.keywords

Description Justin Robinson 2004-07-21 13:28:32 UTC
When emerging -uDpv world, it wants to pull in gentoo-sources (2.4) and ALSA.
I have a manually installed kernal from kernel.org (2.6.7) (vanilla i suppose)

trying to figure out which app is the culprit 

emerge -uDpv gaim:
Calculating dependencies ...done!
[ebuild  N    ] sys-kernel/gentoo-sources-2.4.26-r6   31,068 kB 
[ebuild  N    ] media-sound/alsa-headers-1.0.5a  -debug  0 kB 
[ebuild  N    ] media-sound/alsa-driver-1.0.5a  +oss  0 kB 
[ebuild     U ] net-im/gaim-0.80 [0.79-r2] -cjk +crypt -debug -evo -gnutls -krb4 -nas +nls +perl -silc +spell  4,482 kB 
[ebuild     U ] x11-plugins/gaim-encryption-2.28 [2.27] -debug  463 kB 

Total size of downloads: 36,013 kB

doesnt make sense as gaim doesnt depend on alsa things and further confused by 

emerge -uDpv mplayer:
Calculating dependencies ...done!
[ebuild     U ] media-libs/svgalib-1.9.19 [1.9.18-r1] -build  913 kB 
[ebuild  N    ] sys-kernel/gentoo-sources-2.4.26-r6   31,068 kB 
[ebuild  N    ] media-sound/alsa-headers-1.0.5a  -debug  0 kB 
[ebuild  N    ] media-sound/alsa-driver-1.0.5a  +oss  0 kB 
[ebuild     U ] media-libs/libsdl-1.2.7-r1 [1.2.7] +X -aalib +alsa +arts -dga -directfb +esd -fbcon -ggi -libcaca -nas -noaudio -nojoystick -novideo +opengl +oss +svga -xinerama +xv  0 kB 
[ebuild     U ] media-video/mplayer-1.0_pre5 [1.0_pre4-r4] -3dfx -3dnow +X -aalib +alsa +arts -bidi -debug -dga -directfb -divx4linux -dvb -dvd +encode +esd -fbcon -ggi +gif +gnome +gtk -ipv6 -joystick +jpeg -libcaca -lirc -live +mad -matroska -matrox +mpeg -nas +nls +oggvorbis +opengl +oss +png -samba +sdl -sse +svga -theora +truetype -v4l -v4l2 -xinerama +xmms +xv -xvid  4,953 kB 

Total size of downloads: 36,935 kB


which does depend on gaim. USE='-alsa' stops this dependency, however i wouldnt want to compile those two without alsa...

Reproducible: Always
Steps to Reproduce:
1.emerge -uDpv world

Actual Results:  
Tried to emerge gentoo-sources-2.4.26-r6, media-sound/alsa-headers-1.0.5a, and 
media-sound/alsa-driver-1.0.5a when I use 2.6.7 from kernel.org with Alsa built 
into the kernel

Expected Results:  
Not be dependent/emerge the above listed

Emerge Info:
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.
7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) XP
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://206.75.217.180/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups encode esd foomaticdb gdbm 
gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde libg++ libwww mad 
mikmod motif mpeg ncurses nls oggvorbis opengl oss other_var1 other_var2 pam 
pdflib perl png ppds python qt quicktime readline sdl slang spell ssl svga tcltk 
tcpd truetype usb x86 xml2 xmms xv zlib"
Comment 1 Justin Robinson 2004-07-21 13:38:26 UTC
Created attachment 35916 [details]
My World File

Current World File
Comment 2 Justin Robinson 2004-07-21 13:39:07 UTC
Created attachment 35917 [details]
Current package.keywords
Comment 3 Christian Adaker 2004-07-21 16:43:25 UTC
Did you say you had installed a kernel from kernel.org, and not emerging the sources from portage? Then there won't be a virtual/alsa line in /var/cache/edb/virtuals, so portage satisfies it by emerging alsa-drivers, which require some kernel source.

Try injecting development-sources (or emerging a source ebuild) and add a "virtual/alsa sys-kernel/development-sources" line to your virtuals file (if it isn't added by the inject).

Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-07-21 17:38:49 UTC
And remember to attach text files as text/plain so we can look at them without
having to download them.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-07-21 18:20:50 UTC
This isn't really a bug since it's self-caused (due to not using emerge to install the kernel) so I'll mark it INVALID.  The comments already should have gotten
you over the issue.  Feel free to followup in the forums.