While trying to emerge alsa-driver-1.0.7-r4 I get an error when the compile starts. I think it's because it's trying to load /usr/src/linux-2.6.9-gentoo-r13/arch//Makefile instead of /usr/src/linux-2.6.9-gentoo-r13/arch/x86/Makefile Reproducible: Always Steps to Reproduce: 1. emerge alsa-driver Actual Results: make[2]: Entering directory `/var/tmp/portage/alsa-driver-1.0.7-r4/work/alsa-driver-1.0.7/usb' copying file alsa-kernel/usb/usbaudio.c patching file usbaudio.c make[3]: Entering directory `/var/tmp/portage/alsa-driver-1.0.7-r4/work/alsa-driver-1.0.7/usb/usx2y' copying file alsa-kernel/usb/usx2y/usX2Yhwdep.c patching file usX2Yhwdep.c copying file alsa-kernel/usb/usx2y/usbusx2y.c patching file usbusx2y.c Hunk #1 succeeded at 1 with fuzz 2. Hunk #2 succeeded at 169 (offset 19 lines). Hunk #3 succeeded at 185 (offset 19 lines). Hunk #4 succeeded at 249 (offset 19 lines). Hunk #5 succeeded at 263 (offset 19 lines). Hunk #6 succeeded at 310 (offset 19 lines). Hunk #7 succeeded at 401 (offset 20 lines). Hunk #8 succeeded at 421 (offset 20 lines). Hunk #9 succeeded at 498 (offset 20 lines). copying file alsa-kernel/usb/usx2y/usbusx2yaudio.c patching file usbusx2yaudio.c make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.7-r4/work/alsa-driver-1.0.7/usb/usx2y' make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.7-r4/work/alsa-driver-1.0.7/usb' make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.7-r4/work/alsa-driver-1.0.7' make -C /usr/src/linux M=/var/tmp/portage/alsa-driver-1.0.7-r4/work/alsa-driver-1.0.7/kbuild O=/usr/src/linux modules make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r13' /usr/src/linux-2.6.9-gentoo-r13/Makefile:500: /usr/src/linux-2.6.9-gentoo-r13/arch//Makefile: No such file or directory make[2]: *** No rule to make target `/usr/src/linux-2.6.9-gentoo-r13/arch//Makefile'. Stop. make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r13' make: *** [compile] Error 2 !!! ERROR: media-sound/alsa-driver-1.0.7-r4 failed. !!! Function src_compile, Line 88, Exitcode 2 !!! Parallel Make Failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: It should have compiled Portage 2.0.51-r3 (!/usr/portage/profiles/default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686) ================================================================= System uname: 2.6.9-gentoo-r13 i686 VIA Nehemiah Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /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="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer" DISTDIR="/home/ftp/gentoo/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/gentoo/ http://gentoo.felisberto.net/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/home/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acl alsa apm avi berkdb bitmap-fonts cdr cle266 crypt cups encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg junit lcdproc libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype usb via xml xml2 xmms xv zlib"
It is actually this include: include $(srctree)/arch/$(ARCH)/Makefile which means your $(ARCH) isn't set which probably means you didn't configure/compile your kernel yet.
I did compile my kernel. I used genkernel all to compile and install the gentoo-dev-sources-2.6.9-r13 kernel and tried emergeing alsa-drivers after rebooting with the new kernel.
well, I can't reproduce this, sorry =(
Hi, I have the same behavior, i use the gentoo-dev-sources and until 2.6.10, it worked all the way on 2.6.9-rXX. I now have the same problem as described. uname -a Linux tux 2.6.10-gentoo-r1 #1 Wed Dec 29 20:52:11 GMT 2004 i686 AMD Athlon(TM) XP AuthenticAMD GNU/Linux I used to do this : ALSACARDS="emu10k1" emerge alsa-driver which actually compiled all drivers. After having looked into the ALSA documentation on gentoo.org, I noticed that i had my variable wrongly set, i appended my make.conf with : ALSA_CARDS="emu10k1" And it now compiles without errors. It means that one of the drivers generates an error. Steph
Some additional information: One of the patches does not work!! PostPosted: Sat Jan 01, 2005 2:12 pm Post subject: emerge alsa-driver-1.0.7-r4 failes Reply with quote Edit/Delete this post Delete t 1 out of 8 hunks FAILED -- saving rejects to file pdaudiocf.c.rej make[3]: *** [pdaudiocf.c] Error 1 make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.7-r4/work/alsa-driver-1.0.7/pcmcia/pdaudiocf' make[2]: *** [_sfdep_pdaudiocf] Error 2 make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.7-r4/work/alsa-driver-1.0.7/pcmcia' make[1]: *** [dep] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.7-r4/work/alsa-driver-1.0.7' make: *** [include/sndversions.h] Error 2 !!! ERROR: media-sound/alsa-driver-1.0.7-r4 failed. !!! Function src_compile, Line 88, Exitcode 2 !!! Parallel Make Failed !!! If you need support, post the topmost build error, NOT this status message. file pdaudiocf.c.rej: *************** *** 57,63 **** MODULE_PARM_SYNTAX(enable, SNDRV_ENABLE_DESC); module_param(irq_mask, int, 0444); MODULE_PARM_DESC(irq_mask, "IRQ bitmask for " CARD_NAME " soundcard."); module_param_array(irq_list, int, boot_devs, 0444); MODULE_PARM_DESC(irq_list, "List of Available interrupts for " CARD_NAME " soundcard."); --- 62,72 ---- MODULE_PARM_SYNTAX(enable, SNDRV_ENABLE_DESC); module_param(irq_mask, int, 0444); MODULE_PARM_DESC(irq_mask, "IRQ bitmask for " CARD_NAME " soundcard."); + #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) + MODULE_PARM(irq_list, "1-4i"); + #else module_param_array(irq_list, int, boot_devs, 0444); + #endif MODULE_PARM_DESC(irq_list, "List of Available interrupts for " CARD_NAME " soundcard."); Robert
Please try 1.0.8_rc1 and if it still fails, report upstream.
Had the same problem with the patching. Tried 1.0.8_rc1 and it worked. Tnx.
great... then I'm marking it fixed.