
Code: Select all
# emerge -Duavt world
...
ebuild U ] kde-base/kdelibs-3.2.3 [3.2.2-r1] +alsa -arts -cups -debug +doc -ipv6 +ldap +ssl 12,438 kB
[ebuild U ] kde-base/arts-1.2.3 [1.2.2] +alsa -arts -artswrappersuid -debug -debug -esd -mad +oggvorbis 941 kB
[ebuild N ] media-sound/alsa-driver-1.0.5a -debug +oss 1,688 kBCode: Select all
virtual/alsa media-sound/alsa-driver


JoseJX wrote:Yes, it works fine here. You haven't really provided enough information to diagnose the problem though.
Can you please provide the output of emerge --info?
If you've compiled the kernel yourself without emerging a kernel that provides the ALSA headers/driver, you will also experience similar behaviour. If you do not want to emerge kernel sources, emerge the latest version of portage (2.0.51) and use /etc/portage/package.provided to supply the required dependancies.
The more information you provide, the more likely it is someone can fix your problem.
Code: Select all
emerge -pU world
*** Warning: --upgradeonly is a deprecated option in portage-2.0.51-r2
*** and will likely be removed in a future version.
>>> --upgradeonly implies --update... adding --update to options.
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[ebuild U ] net-print/cups-1.1.20-r4 [1.1.20-r3]
[ebuild N ] media-gfx/graphviz-1.10
[ebuild N ] app-doc/doxygen-1.3.8
[ebuild N ] media-sound/alsa-driver-1.0.6a
[ebuild NS ] kde-base/kdelibs-3.3.0
[ebuild U ] app-portage/guitoo-0.47.0 [0.46.1]
[ebuild U ] x11-misc/synaptics-0.13.6 [0.13.5]
[ebuild U ] sys-apps/baselayout-1.9.4-r6 [1.9.4-r5]
[ebuild U ] media-libs/libogg-1.1.2 [1.1]
[ebuild U ] media-libs/libvorbis-1.1.0 [1.0.1-r2]
[ebuild U ] media-sound/sox-12.17.5-r1 [12.17.4-r1]
[ebuild U ] app-cdr/k3b-0.11.17 [0.11.12-r1]
Code: Select all
emerge -p world
These are the packages that I would merge, in order:
Calculating world dependencies
*** Package in world file is not installed: sys-apps/sh-utils
*** Package in world file is not installed: sys-apps/fileutils
*** Package in world file is not installed: sys-apps/textutils
...done!
[ebuild N ] media-sound/alsa-driver-1.0.6a
[ebuild UD] media-libs/alsa-lib-1.0.5-r3 [1.0.6]
[ebuild U ] app-portage/guitoo-0.47.0 [0.46.1]
[ebuild U ] x11-misc/synaptics-0.13.6 [0.13.5]
[ebuild U ] net-print/cups-1.1.20-r4 [1.1.20-r3]
[ebuild U ] sys-apps/baselayout-1.9.4-r6 [1.9.4-r5]
[ebuild U ] app-cdr/k3b-0.11.17 [0.11.12-r1]
[ebuild U ] media-libs/libogg-1.1.2 [1.1]
Code: Select all
emerge world
Calculating world dependencies
*** Package in world file is not installed: sys-apps/sh-utils
*** Package in world file is not installed: sys-apps/fileutils
*** Package in world file is not installed: sys-apps/textutils
...done!
>>> emerge (1 of 8) media-sound/alsa-driver-1.0.6a to /
>>> md5 src_uri ;-) alsa-driver-1.0.6a.tar.bz2
>>> Unpacking source...
>>> Unpacking alsa-driver-1.0.6a.tar.bz2 to /var/tmp/portage/alsa-driver-1.0.6a/work
* Applying alsa-driver-1.0.5-devfix.patch ... [ ok ] * Applying alsa-driver-1.0.5a-cs46xx-passthrough.patch ... [ ok ] * Applying alsa-driver-1.0.6a-emu10k1-passthrough.patch ... [ ok ] * Applying alsa-driver-1.0.6a-kbuild.patch ... [ ok ] * /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.6.8.1-cko8 found in /usr/src/linux
* /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.6.8.1-cko8 found in /usr/src/linux
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-oss --with-kernel=/usr/src/linux --with-isapnp=yes --with-sequencer=yes --with-cards=all
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 2.6.8.1-cko8
checking for GCC version... Kernel compiler: gcc 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) Used compiler: gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
checking for built-in ALSA... "yes"
configure: error: You have built-in ALSA in your kernel.
!!! ERROR: media-sound/alsa-driver-1.0.6a failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Code: Select all
=media-sound/alsa-driver
Code: Select all
emerge -Up world
*** Warning: --upgradeonly is a deprecated option in portage-2.0.51-r2
*** and will likely be removed in a future version.
>>> --upgradeonly implies --update... adding --update to options.
These are the packages that I would merge, in order:
Calculating world dependencies -
!!! All ebuilds that could satisfy "media-sound/alsa-driver" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-sound/alsa-driver-1.0.5a (masked by: package.mask)
- media-sound/alsa-driver-1.0.3 (masked by: package.mask)
- media-sound/alsa-driver-1.0.6a (masked by: package.mask)
- media-sound/alsa-driver-0.9.8 (masked by: package.mask)
For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!! (dependency required by "kde-base/kdelibs-3.2.3-r2" [ebuild])
!!! Problem with ebuild app-portage/guitoo-0.47.0
!!! Possibly a DEPEND/*DEPEND problem.
!!! Depgraph creation failed.
Code: Select all
emerge --info
Code: Select all
emerge --info
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1-cko8 i686)
=================================================================
System uname: 2.6.8.1-cko8 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers: sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mir.zyrianes.net/gentoo/ http://mirror.datapipe.net/gentoo http://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups debug doc dvd encode esd f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kerberos ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls nntp oggvorbis opengl oss other_var1 other_var2 pam pda pdflib perl png ppds python quicktime readline samba sdk sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xprint xv zlib"



That would have helped 10 hours ago possibly. I worked around it by using some gentoo sources and genkernel all, which I will never use.JoseJX wrote:You should *not* need to install the alsa-driver, the virtual should be satisfied by emerging a 2.6 kernel.
Have you tried the solution here?
http://forums.gentoo.org/viewtopic.php? ... alsadriver


john.robinson wrote:If I'd built my own kernel from 3rd-party sources, and it included the ALSA driver - as it should, being a 2.6 kernel - I think I'd just `emerge --inject sys-kernel/gentoo-dev-sources-2.6.9-r1` in order to satisfy the alsa-driver dependency. I did something similar when I decided to build my own xfree86 with the drivers for my system that the stock ebuild didn't provide.
