Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77240 - alsa-driver-1.0.8_rc1 complains about missing /usr/src/linux/arch//Makefile
Summary: alsa-driver-1.0.8_rc1 complains about missing /usr/src/linux/arch//Makefile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-09 08:56 UTC by Holly
Modified: 2005-01-20 04:38 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 Holly 2005-01-09 08:56:47 UTC
as the summary says, alsa-driver-1.0.8_rc1 can't find a specific Makefile in the kernel tree:

================================================================
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/usb/usx2y'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/usb'
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1'
make -C /usr/src/linux M=/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1 O=/usr/src/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r4'
/usr/src/linux-2.6.10-gentoo-r4/Makefile:529: /usr/src/linux-2.6.10-gentoo-r4/arch//Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.6.10-gentoo-r4/arch//Makefile'.  Stop.
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r4'
make: *** [compile] Error 2
================================================================

obviously theres a directory missing between "arch" and "Makefile". in my case "i386".

I have 'ALSA_CARDS="via82xx"' set in my make.conf, but i'm not sure, if it gets respected, because before the error, there is some usb-stuff done and via82xx is no usb-card.

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




Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 VIA Nehemiah
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  5 2005, 21:50:20)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -Os -mtune=c3-2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -Os -mtune=c3-2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://194.117.143.71 http://194.117.143.70
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://194.117.143.69"
LDFLAGS=""
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="x86 X aac aalib acl acpi alsa apache2 apm arts audiofile avi
bash-completion berkdb bitmap-fonts bzlib calendar caps cdb cdparanoia cdr
cle266 codecs cpdflib crypt cups curl dba dedicated divx4linux djbfft dts dvb
dvd dvdr dvdread edl encode ethereal evo fam fastcgi fbcon fftw flac flash ftp
gd gdbm gif gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 iconv icq
imagemagick imap imlib ipv6 jack java joystick jpeg kde kdexdeltas ladcca lcms
libcaca libwww live lm_sensors lzo mad maildir mailwrapper makecheck mcal
memlimit mikmod mime ming mmx mng mozilla mpeg mysql mythtv nas ncurses nls nocd
nptl offensive oggvorbis opengl oscar oss pam pcre pda pdflib perl php png pnp
portaudio pwdb python qt quicktime readline real recode rrdtool rtc samba sdl
session sharedmem slang slp sndfile snmp soap sockets sox speex spell spl sqlite
sse ssl svg svga tcltk tcpd tetex tga theora tidy tiff transcode truetype
unicode usb userlocales v4l v4l2 vhosts videos vim wmf wxwindows xanim xine
xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvmc zlib
video_cards_cle266"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-11 04:39:53 UTC
Is your kernel compiled yet?
Comment 2 Holly 2005-01-11 05:00:07 UTC
yes, it is.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-11 05:07:38 UTC
can you try rc2 or 1.0.7-r4 please
Comment 4 Holly 2005-01-11 07:16:32 UTC
they both break with the same error. maybe the arch-detection fails on my via c3-2? well, i have really no idea ;(
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-12 03:32:47 UTC
well I can't reproduce this, and it is a known bug if your kernel isn't compiled, so I am fairly certain that is the problem...
Comment 6 Holly 2005-01-12 04:26:39 UTC
well, it is definitly not. i triple checked that and compiled a new kernel from the sources in /usr/src/linux, which are also the sources of the kernel, that is currently running on the machine.
Comment 7 whitehawk 2005-01-15 10:36:35 UTC
I ran into the same error. Happened with 1.0.7-r4 1.0.8_rc1 1.0.8_rc2 1.0.8.

patching file usx2yhwdeppcm.c
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/usb/usx2y'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/usb'
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8'
make -C /usr/src/linux M=/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8 O=/usr/src/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.10-ck4'
/usr/src/linux-2.6.10-ck4/Makefile:529: /usr/src/linux-2.6.10-ck4/arch//Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.6.10-ck4/arch//Makefile'.  Stop.
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-ck4'
make: *** [compile] Error 2

my emerge info:


Portage 2.0.51-r12 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-ck4 i686)
=================================================================
System uname: 2.6.10-ck4 i686 VIA Nehemiah
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 04:58:11)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=c3-2 -mmmx -msse -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=c3-2 -mmmx -msse -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp2.gentoo.hu/gentoo http://gentoo.math.bme.hu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts crypt cups dvd encode f77 font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imlib ithreads jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd threads truetype truetype-fonts type1-fonts unicode x86 xml2 xmms xv zlib video_cards_via"
Unset:  LDFLAGS, PORTDIR_OVERLAY
Comment 8 John Mylchreest (RETIRED) gentoo-dev 2005-01-16 04:25:28 UTC
I have made an alteration to linux-mod which should overcome this.
Please can you emerge sync and try again, reporting your findings here. Please give it at least an hour after I post this as your mirrors will need to catch up.
Comment 9 Holly 2005-01-16 14:56:37 UTC
unfortunatly it still doesn' work. i have now tested it with the newer versions of  alsa-drivers (1.0.8), gentoo-dev-sources (2.6.10-r5) and portage (2.0.51-r13).

make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/usb/usx2y'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/usb'
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8'
make -C /usr/src/linux M=/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8 O=/usr/src/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r5'
/usr/src/linux-2.6.10-gentoo-r5/Makefile:529: /usr/src/linux-2.6.10-gentoo-r5/arch//Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.6.10-gentoo-r5/arch//Makefile'.  Stop.
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r5'
make: *** [compile] Error 2
Comment 10 John Mylchreest (RETIRED) gentoo-dev 2005-01-16 15:15:28 UTC
did you emerge sync first?
Comment 11 Holly 2005-01-17 03:35:11 UTC
yes, i did. i also compiled a new kernel, because g-d-s-2.6.10-r5 was released. so, there are still compiled sources in /usr/src/linux. i synced maybe 1 or 2 hours before i made the previous post.
Comment 12 John Mylchreest (RETIRED) gentoo-dev 2005-01-17 03:43:19 UTC
the changes I made were at the time of my last post.
please sync again to grab the newer eclass and give it a whirl.
Comment 13 Holly 2005-01-17 08:57:02 UTC
it's still the same problem. i synced at 1:30 PM GMT.
Comment 14 John Mylchreest (RETIRED) gentoo-dev 2005-01-17 09:41:28 UTC
does it still happen with 2.6.10-g-r5?
Comment 15 Holly 2005-01-17 14:54:09 UTC
yes, it does.
Comment 16 Holly 2005-01-20 04:38:19 UTC
i think i get a very little bit further now. but its a problem with the kernel-sources:

make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/usb/usx2y'
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/usb'
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8'
make -C /usr/src/linux M=/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8 O=/usr/src/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r6'
  CC [M]  /var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/acore/memalloc.o
  CC [M]  /var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/acore/sgbuf.o
In file included from /var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/include/adriver.h:584,
                 from /var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/acore/sgbuf.c:14:
include/linux/pci.h:788: error: parse error before numeric constant
make[4]: *** [/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/acore/sgbuf.o] Error 1
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8/acore] Error 2
make[2]: *** [_module_/var/tmp/portage/alsa-driver-1.0.8/work/alsa-driver-1.0.8] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r6'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.8 failed.
!!! Function src_compile, Line 101, Exitcode 2
!!! Make Failed
!!! If you need support, post the topmost build error, NOT this status message.

i'm not quite sure, since when i get this far. i updated my kernel again to gentoo-dev-sources-2.6.10-r6, so maybe this made the trick.

should i open another bug for the new error?