Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66627 - emerge alsa-driver error:
Summary: emerge alsa-driver error:
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-07 03:22 UTC by grady
Modified: 2004-10-22 17:08 UTC (History)
2 users (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 grady 2004-10-07 03:22:54 UTC
_BUILD -nostdinc -iwithprefix include  mpu401_uart.c mpu401.c > .depend
mpu401.c:31:27: acpi/acpi_bus.h: No such file or directory
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/drivers/mpu401'
make[2]: *** [_sfdep_mpu401] Error 2
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/drivers'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a'
make: *** [include/sndversions.h] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.6a failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! Parallel Make Failed


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge alsa-driver
3.

Actual Results:  
I get the error that I posted under details. 

Expected Results:  
merged the driver.

The only other apps that I had open at the time were a web browser, mail client, chat client.
Comment 1 Marc Vila 2004-10-07 04:39:28 UTC
could you post emerge info, please?
Comment 2 grady 2004-10-07 04:43:03 UTC
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.3.8p1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo ftp://lug.mtu.edu/gentoo/source rsync://cudlug.cudenver.edu/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 apm arts avi berkdb bitmap-fonts crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-07 13:05:11 UTC
is your kernel configured and compiled in that directory?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-07 13:05:46 UTC
also, you REALLY should consider updating your kernel to fix security issues.
Comment 5 grady 2004-10-07 23:00:09 UTC
When I installed on this box I used the most recent genkernel sources and at boot I used gentoo noacpi so I could get things up and running. So the problem apparently is that there isnt the acpi directory referenced in the ebuild, so not too sure where to head from here. 
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-07 23:10:38 UTC
this looks like a genkernel issue.  Reassigning...

chances are this has been fixed.  your kernel is well over a year old, you should update it anyways to get security fixes.
Comment 7 grady 2004-10-07 23:13:43 UTC
I grabbed the latest sources when I installed, so Im not sure why I got the older genkernel.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-08 00:04:28 UTC
you installed around a year ago if your kernel is gentoo-sources-2.4.20-r6.  Update your kernel.
Comment 9 John Mylchreest (RETIRED) gentoo-dev 2004-10-09 04:38:02 UTC
can you please run..

unless you really wnat to keep these sources (not sure why you would) type this first:
rm -Rf /usr/src/linux*

then
emerge sync
emerge -Du world
emerge -u genkernel
emerge -u gentoo-dev-sources (or whichever sources you want to run)
emerge unmerge modutils && emerge module-init-tools

edit /etc/genkernel.conf and add/edit the line to read:
MOUNTBOOT="yes"

then run:
genkernel --menuconfig --no-clean --bootsplash all

with a 2.6 series kernel (development-sources, ck-sources, gentoo-dev-sources, mm-sources being the main ones) you dont need to install alsa-driver at all, so feel free to unmerge all instances of this.

Please let me know how you get on.
Regards,
John
Comment 10 grady 2004-10-09 05:15:52 UTC
I'd like to keep my existing kernel image as well, b/c I use this box @ work and need it to boot. :) (i had some acpi conflicts when I installed so........) Not sure what to do. Do I just omit the rm -rf /usr/src/linux then follow the other steps, and update my bootloader config so that I can boot either image?
Comment 11 John Mylchreest (RETIRED) gentoo-dev 2004-10-09 05:55:27 UTC
the boot image should be in /boot
/usr/src/linux is all the source and config for your original kernel.
assumnig you dont need this anymore I'd jsut get rid.
or if you do want it, rm -Rf /usr/src/linux instead to remove the symlink. its to ensure you have a nice new kernel in /usr/src/linux for genkernel :)

if you go to /boot/ an dlook for your kernel images, i would move them to something like bzImage-good and add a new entry in your bootloader to reference these as a failsafe.
Comment 12 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-09 11:33:33 UTC
the image is not in /usr/src, only the source is there...  I wouldn't recommend trashing it all, but youu really should update your kernel.
Comment 13 Daniel Drake (RETIRED) gentoo-dev 2004-10-22 17:08:30 UTC
Please reopen if the issue does still exist on newer kernels.