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

Bug 42397

Summary: ALSA 1.0.2c fails to install with gentoo-dev-sources 2.6.3-r1
Product: Gentoo Linux Reporter: Kevin Mescher <kmescher>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kevin Mescher 2004-02-21 11:06:13 UTC
When I attempt to emerge alsa-driver 1.0.2c (using gentoo-dev-sources 2.6.3-r1 as the kernel), I get 2 problems:

1. The build tries to access /usr/src/linux/arch/x86/Makefile

Since that directory doesn't exist, I create a symlink to i386.
After I do that:

2. I get an access violation.  Output follows:

make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.2c/work/alsa-driver-1.0.2c'
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/alsa-driver-1.0.2c/work/alsa-driver-1.0.2c/kbuild modules
make[1]: Entering directory `/usr/src/linux-2.6.3-gentoo-r1'
  MKELF   scripts/elfconfig.h
ACCESS DENIED  open_wr:   /usr/src/linux-2.6.3-gentoo-r1/scripts/elfconfig.h
/bin/sh: line 1: scripts/elfconfig.h: Permission denied
make[2]: *** [scripts/elfconfig.h] Error 1
make[1]: *** [scripts] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-gentoo-r1'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.2c failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! Parallel Make Failed

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-sound_-_alsa-driver-1.0.2c-7371.log"

open_wr:   /usr/src/linux-2.6.3-gentoo-r1/scripts/elfconfig.h
--------------------------------------------------------------------------------



Reproducible: Always
Steps to Reproduce:
1. Merge gentoo-dev-sources (any of the 2.6 kernels
2. Merge alsa-driver 1.0.2c
3.




Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.19-gentoo-r10)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.8p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.5-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon -funroll-loops -pipe"
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/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif
gnome gpm gtk gtk2 imlib ipv6 jack java joystick jpeg kde ladcca libg++ libwww
mad mbox mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline sdl slang spell sqlite ssl svga tcpd
truetype wxwindows x86 xinerama xml2 xmms xosd xv zlib"
Comment 1 SpanKY gentoo-dev 2004-02-21 11:54:33 UTC
dont use alsa-driver with 2.6 kernel