Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65781 - if alsa in kernel, then emerge --update world fails
Summary: if alsa in kernel, then emerge --update world fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-29 01:44 UTC by ivo welch
Modified: 2004-10-02 03:46 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 ivo welch 2004-09-29 01:44:16 UTC
>>> Updating Portage cache... //usr/sbin/ebuild.sh: line 7: need-gnustep-gui: co
mmand not found                                                                /
/usr/sbin/ebuild.sh: line 7: need-gnustep-gui: command not found               ...done!

## emerge  --update --pretend world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild  N    ] media-sound/alsa-driver-1.0.6a

## emerge  --update world
Calculating world dependencies ...done!
>>> emerge (1 of 1) 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-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.7-gentoo-r14 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.7-gentoo-r14 found in /usr/src/linux
>>> Source unpacked.
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 x86_64-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 x86_64-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... /mnt/media/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.7-gentoo-r14
checking for GCC version... Kernel compiler: gcc 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5) Used compiler: gcc (GCC) 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)
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 362, Exitcode 1
!!! econf failed


Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  

stored the alsa driver in the source location and left a note that you need to
recompile the kernel.  then eliminate it from list of remaining updates.


# emerge info
iaw@~/slack:0:538 root## emerge info
Portage 2.0.50-r11 (gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 x86_64 4
Gentoo Base System version 1.4.16
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2"
CHOST="x86_64-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/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS=" http://mirror.clarkson.edu/pub/distributions/gentoo/
ftp://gentoo.mirrors.pair.com/ http://ftp.heanet.ie/pub/gentoo/
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
directfb encode esd f77 foomaticdb g77 gdbm ggi gif gnome gphoto2 gpm gtk gtk2
gtkhtml guile imlib java jpeg kde ldap libg++ libwww mikmod motif mozilla mpeg
mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python
qt quicktime readline ruby scanner sdl slang snmp spell ssl tcltk tcpd tetex
tiff truetype ungif usb xml2 xmms xprint xv zlib"
##
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2004-09-29 10:11:54 UTC
if you have ALSA built-in you dont need media-audio/alsa-driver.

emerge -C alsa-driver to remove it from your system and world-file
Comment 2 ivo welch 2004-10-02 03:28:49 UTC
can we change the error message from

configure: error: You have built-in ALSA in your kernel.

to

configure: error: You have built-in ALSA in your kernel.
please remove it from your update file...

or, even better, if this particular situation arises, can we do the emerge -C automatically?

as I stated upfront, this one is a minor nuisance...but why not make it easier?

regards,

-iaw
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2004-10-02 03:46:08 UTC
automatically do a emerge -C is a bad idea as there may be a user with multiple kernels, one with and another without alsa built-in so it would break his alsa every time he does a emerge -u world when he's using the alsa-kernel.