I'm running kde 4.10.49.9999 live ebuilds from the gentoo/kde overlay, rebuilding every time I update, typically twice a week to daily. Today, after updating media-libs/alsa-lib (and media-sound/alsa-utils) to the 1.0.27-r1 versions, the kde-base/libkcompactdisc-4.10.49.9999 rebuild failed. After temporarily unmerging alsa-utils to get it out of the picture and trying combinations of libkcompactdisc-4.10.2 and 4.10.49.9999 (which is actually the same code as a quick git whatchanged query says its last change was in 2012) against alsa-lib-1.0.26-r1 and 1.0.27-r1... The culprit is alsa-lib-1.0.27-r1. Both libkcompactdisc versions build against alsa-lib-1.0.26-r1, but fail against alsa-lib-1.0.27-r1. The error from the log: In file included from /usr/include/alsa/asoundlib.h:50:0, from /tmp/portage/kde-base/libkcompactdisc-4.10.2/work/libkcompactdisc-4.10.2/wmlib/audio/audio_alsa.c:34: /usr/include/alsa/pcm.h:442:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /usr/include/alsa/asoundlib.h:54:0, from /tmp/portage/kde-base/libkcompactdisc-4.10.2/work/libkcompactdisc-4.10.2/wmlib/audio/audio_alsa.c:34: /usr/include/alsa/control.h:237:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' In file included from /usr/include/alsa/asoundlib.h:54:0, from /tmp/portage/kde-base/libkcompactdisc-4.10.2/work/libkcompactdisc-4.10.2/wmlib/audio/audio_alsa.c:34: /usr/include/alsa/control.h:535:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' ~amd64/no-multilib with the kde, x11 and mozilla overlays, gcc-4.7.2-r1, portage-2.2.0-alpha173, binutils-2.23.1, currently linus/mainline kernel 3.9.0 altho I run a live-git kernel most of the time as well. alsa-headers-1.0.25-r1. Hmm, running firefox-21.0_beta5 too, and submit seems to do nothing... let me try without the log attached and see if it takes it...
Created attachment 347242 [details] libkcompatdisc-4.10.2 emerge log (against alsa-lib-1.0.27-r1, the bad) Seems submit worked without the attachment. Try attaching the log again separately...
I've run into the same issue with the ~ keyword (e.g. kde-base/libkcompactdisc-4.10.2 in combination with media-libs/alsa-lib-1.0.27-r1). Googled around some more and I found that the folks over at OpenSUSE have run into a similar problem, and fixed it: https://bugzilla.novell.com/show_bug.cgi?id=817077 https://build.opensuse.org/request/show/173316 Hope this helps the Gentoo devs track it down!
+*alsa-lib-1.0.27-r2 (03 May 2013) + + 03 May 2013; Samuli Suominen <ssuominen@gentoo.org> + +alsa-lib-1.0.27-r2.ebuild, +files/alsa-lib-1.0.27-inline.patch, + +files/alsa-lib-1.0.27-inline-2.patch, +files/alsa-lib-1.0.27-kernel.patch, + +files/alsa-lib-1.0.27-pcm.patch: + Import four more upstream patches wrt #468402 by "Duncan"