yay, another kernel version, another alsa breakage. copying file alsa-kernel/core/hwdep.c patching file hwdep.c Hunk #1 succeeded at 308 (offset 5 lines). i686-pc-linux-gnu-gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include -I/usr/src/linux/include -I/usr/src/linux/include -I/usr/src/linux/include/asm-i386/mach-default -O2 -mpreferred-stack-boundary=2 -march=i686 -Wdeclaration-after-statement -Wno-pointer-sign -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DKBUILD_BASENAME=pcm_native -c -o pcm_native.o pcm_native.c In file included from /usr/src/linux/include/linux/rwsem.h:24, from /usr/src/linux/include/asm/semaphore.h:42, from /usr/src/linux/include/linux/sched.h:57, from /usr/src/linux/include/linux/module.h:9, from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:45, from memory_wrapper.c:21: /usr/src/linux/include/asm/rwsem.h: In function '__down_read': /usr/src/linux/include/asm/rwsem.h:104: error: expected ':' or ')' before 'memory_wrapper' /usr/src/linux/include/asm/rwsem.h: In function '__down_write_nested': /usr/src/linux/include/asm/rwsem.h:156: error: expected ':' or ')' before 'memory_wrapper' /usr/src/linux/include/asm/rwsem.h: In function '__up_read': /usr/src/linux/include/asm/rwsem.h:198: error: expected ':' or ')' before 'memory_wrapper' /usr/src/linux/include/asm/rwsem.h:192: warning: unused variable 'tmp' /usr/src/linux/include/asm/rwsem.h: In function '__up_write': /usr/src/linux/include/asm/rwsem.h:224: error: expected ':' or ')' before 'memory_wrapper' /usr/src/linux/include/asm/rwsem.h: In function '__downgrade_write': /usr/src/linux/include/asm/rwsem.h:249: error: expected ':' or ')' before 'memory_wrapper' In file included from /usr/src/linux/include/linux/sched.h:57, from /usr/src/linux/include/linux/module.h:9, from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:45, from memory_wrapper.c:21: /usr/src/linux/include/asm/semaphore.h: In function 'down': /usr/src/linux/include/asm/semaphore.h:105: error: expected ':' or ')' before 'memory_wrapper' /usr/src/linux/include/asm/semaphore.h: In function 'down_interruptible': /usr/src/linux/include/asm/semaphore.h:130: error: expected ':' or ')' before 'memory_wrapper' /usr/src/linux/include/asm/semaphore.h: In function 'down_trylock': /usr/src/linux/include/asm/semaphore.h:155: error: expected ':' or ')' before 'memory_wrapper' /usr/src/linux/include/asm/semaphore.h: In function 'up': /usr/src/linux/include/asm/semaphore.h:179: error: expected ':' or ')' before 'memory_wrapper' In file included from /usr/src/linux/include/linux/rwsem.h:24, from /usr/src/linux/include/asm/semaphore.h:42, from /usr/src/linux/include/linux/sched.h:57, from /usr/src/linux/include/linux/module.h:9, from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:45, from sgbuf.c:13: /usr/src/linux/include/asm/rwsem.h: In function '__down_read': /usr/src/linux/include/asm/rwsem.h:104: error: expected ':' or ')' before 'sgbuf' /usr/src/linux/include/asm/rwsem.h: In function '__down_write_nested': /usr/src/linux/include/asm/rwsem.h:156: error: expected ':' or ')' before 'sgbuf' /usr/src/linux/include/asm/rwsem.h: In function '__up_read': /usr/src/linux/include/asm/rwsem.h:198: error: expected ':' or ')' before 'sgbuf' /usr/src/linux/include/asm/rwsem.h:192: warning: unused variable 'tmp' /usr/src/linux/include/asm/rwsem.h: In function '__up_write': /usr/src/linux/include/asm/rwsem.h:224: error: expected ':' or ')' before 'sgbuf' /usr/src/linux/include/asm/rwsem.h: In function '__downgrade_write': /usr/src/linux/include/asm/rwsem.h:249: error: expected ':' or ')' before 'sgbuf' In file included from /usr/src/linux/include/linux/sched.h:57, from /usr/src/linux/include/linux/module.h:9, from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:45, from sgbuf.c:13: /usr/src/linux/include/asm/semaphore.h: In function 'down': /usr/src/linux/include/asm/semaphore.h:105: error: expected ':' or ')' before 'sgbuf' /usr/src/linux/include/asm/semaphore.h: In function 'down_interruptible': /usr/src/linux/include/asm/semaphore.h:130: error: expected ':' or ')' before 'sgbuf' /usr/src/linux/include/asm/semaphore.h: In function 'down_trylock': /usr/src/linux/include/asm/semaphore.h:155: error: expected ':' or ')' before 'sgbuf' /usr/src/linux/include/asm/semaphore.h: In function 'up': /usr/src/linux/include/asm/semaphore.h:179: error: expected ':' or ')' before 'sgbuf' make[1]: *** [memory_wrapper.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [sgbuf.o] Error 1 In file included from /usr/src/linux/include/linux/rwsem.h:24, from /usr/src/linux/include/asm/semaphore.h:42, from /usr/src/linux/include/linux/sched.h:57, from /usr/src/linux/include/linux/module.h:9, from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:45, from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/sound/driver.h:47, from pcm_native.c:23: /usr/src/linux/include/asm/rwsem.h: In function '__down_read': /usr/src/linux/include/asm/rwsem.h:104: error: expected ':' or ')' before 'pcm_native' /usr/src/linux/include/asm/rwsem.h: In function '__down_write_nested': /usr/src/linux/include/asm/rwsem.h:156: error: expected ':' or ')' before 'pcm_native' /usr/src/linux/include/asm/rwsem.h: In function '__up_read': /usr/src/linux/include/asm/rwsem.h:198: error: expected ':' or ')' before 'pcm_native' /usr/src/linux/include/asm/rwsem.h:192: warning: unused variable 'tmp' /usr/src/linux/include/asm/rwsem.h: In function '__up_write': /usr/src/linux/include/asm/rwsem.h:224: error: expected ':' or ')' before 'pcm_native' /usr/src/linux/include/asm/rwsem.h: In function '__downgrade_write': /usr/src/linux/include/asm/rwsem.h:249: error: expected ':' or ')' before 'pcm_native' In file included from /usr/src/linux/include/linux/sched.h:57, from /usr/src/linux/include/linux/module.h:9, from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:45, from /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/sound/driver.h:47, from pcm_native.c:23: /usr/src/linux/include/asm/semaphore.h: In function 'down': /usr/src/linux/include/asm/semaphore.h:105: error: expected ':' or ')' before 'pcm_native' /usr/src/linux/include/asm/semaphore.h: In function 'down_interruptible': /usr/src/linux/include/asm/semaphore.h:130: error: expected ':' or ')' before 'pcm_native' /usr/src/linux/include/asm/semaphore.h: In function 'down_trylock': /usr/src/linux/include/asm/semaphore.h:155: error: expected ':' or ')' before 'pcm_native' /usr/src/linux/include/asm/semaphore.h: In function 'up': /usr/src/linux/include/asm/semaphore.h:179: error: expected ':' or ')' before 'pcm_native' make[1]: *** [pcm_native.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore' make: *** [compile] Error 1 !!! ERROR: media-sound/alsa-driver-1.0.11 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile alsa-driver-1.0.11.ebuild, line 109: Called die i'm building against 2.6.18-rc1-git4 with alsa-driver-1.0.11 and alsa-driver-1.0.12-rc1-r1.
Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, gcc-4.1.2-pre20060714/vanilla, glibc-2.4-r3, 2.6.17-ck1 i686) ================================================================= System Settings ================================================================= System uname: 2.6.17-ck1 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3, 2.17, 2.17.50.0.2 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident -fweb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident -fweb -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS=" http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ ftp://cs.ubishops.ca/pub/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dirtyepic/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa berkdb bzip2 caps cdparanoia cdr crypt cscope curl dri dts dvd dvdr dvdread encode expat fam ffmpeg flac gdbm gif gmp gnutls gtk hal imap java jikes jpeg kde kdeenablefinal kdehiddenvisibility lm_sensors mad mbox mmap mmx mp3 mpeg ncurses nptl nsplugin ogg opengl pam pcmcia pdf perl pic png python qt quicktime readline ruby sdl session spell sqlite sse sse2 ssl startup-notification svg tcpd threads truetype vcd vorbis win32codecs xine xml xv xvid zlib elibc_glibc input_devices_joystick input_devices_mouse input_devices_keyboard input_devices_synaptics kernel_linux userland_GNU video_cards_fglrx video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Better tell this upstream...
Please try with 1.0.12_rc1.
(In reply to comment #3) > Please try with 1.0.12_rc1. > >> i'm building against 2.6.18-rc1-git4 with alsa-driver-1.0.11 and >> alsa-driver-1.0.12-rc1-r1. sorry, shouldn't have buried that under the error message. ;)
Sorry I looked at the error message path version, and I think the 12_rc1 has a slightly different error. Anyway, will look into it soon as I have time.
I have the same issue with 1.0.12-rc1 and kernel 2.6.18-rc3.
The newly released alsa-driver-1.0.12rc3 from upstream fixes this. http://alsa-project.org/changes/v1-0-12rc2--v1-0-12rc3.txt Renaming the alsa-driver-1.0.12_rc1-r1.ebuild and copying the appropriate patches to my Portage overlay directory results in a working build. Tested with 2.6.17.7 and 2.6.18-rc4.
also tested with 2.6.17-ck1 and 2.6.18-rc4, both successful.
I'm having a similar problem even with media-sound/alsa-driver-1.0.12_rc1-r1. goldenmyst:(linux)$ sudo emerge --info Portage 2.1.1_pre5-r2 (default-linux/x86/2005.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-rc4 i686) ================================================================= System uname: 2.6.18-rc4 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.12.4 Last Sync: Sun, 20 Aug 2006 00:20:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-w -Os -fomit-frame-pointer -march=athlon-xp -s" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-w -Os -fomit-frame-pointer -march=athlon-xp -s" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache digest distlocks fixpackages metadata-transfer sfperms" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,-s -s" LINGUAS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowex 3dnowext X a52 aac acpi alsa animation avahi avi bash-completion bindist bitmap-fonts bonobo bookmarks browserplugin bzip2 cairo cdparanoia cjk cli crypt cups curl dbus dlloader dri dvd elibc_glibc emboss encode epiphany esd faad firefox flac foomaticdb gif gksu glitz gnome gnutls gpm gstreamer gstreamer10 gtk gtk2 gtkhtml hal howl icu imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jpeg kernel_linux libg++ libnotify libsexy libwww live mad mikmod mmx mmx2 mmxext mng mono mp3 mpeg ncurses network nls nptl nptlonly nsplugin numeric ogg oggvorbis opengl pam pcre pdf pdflib pic png ppds pppd python quicktime readline real reflection rtc samba sdl session speex spell spl sse ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_savage vorbis win32codecs wmf x86 xine xml2 xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
ALSA Driver 1.0.12 has been released.
Created attachment 95032 [details] Partial build error starting at line before cc: error + emerge --info had a similar issue building under vanilla-sources 2.6.18-rc4 Nick
Fixed by recent drivers.
Different error (see below) but i think similar issue when moving to kernel-2.6.18... solved by using alsa-driver-1.0.13 too. Just wondering if alsa-driver-1.0.11 should be marked incompatible with kernel-2.6.18 ? ---------------------------------------------- make[1]: Entering directory `/disk1/gentoo/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore' x86_64-pc-linux-gnu-gcc -D__KERNEL__ -DMODULE=1 -I/disk1/gentoo/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include -I/usr/src/linux/include -I/usr/src/linux/include -O2 -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -fno-strength-reduce -finline-limit=2000 -Wdeclaration-after-statement -Wno-pointer-sign -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DEXPORT_SYMTAB -c hwdep.c In file included from /usr/src/linux/include/linux/sched.h:57, from /usr/src/linux/include/linux/module.h:9, from /disk1/gentoo/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/adriver.h:45, from /disk1/gentoo/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/include/sound/driver.h:47, from hwdep.c:22: /usr/src/linux/include/asm/semaphore.h: In function 'down': /usr/src/linux/include/asm/semaphore.h:112: error: expected ':' or ')' before 'KBUILD_BASENAME' /usr/src/linux/include/asm/semaphore.h: In function 'down_interruptible': /usr/src/linux/include/asm/semaphore.h:137: error: expected ':' or ')' before 'KBUILD_BASENAME' /usr/src/linux/include/asm/semaphore.h: In function 'down_trylock': /usr/src/linux/include/asm/semaphore.h:161: error: expected ':' or ')' before 'KBUILD_BASENAME' /usr/src/linux/include/asm/semaphore.h: In function 'up': /usr/src/linux/include/asm/semaphore.h:184: error: expected ':' or ')' before 'KBUILD_BASENAME' make[1]: *** [hwdep.o] Error 1 make[1]: Leaving directory `/disk1/gentoo/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore' make: *** [compile] Error 1