Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468402 - =kde-base/libkcompactdisc-4.10* fails to build with =media-libs/alsa-lib-1.0.27-r1
Summary: =kde-base/libkcompactdisc-4.10* fails to build with =media-libs/alsa-lib-1.0....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-03 10:31 UTC by Duncan
Modified: 2013-05-03 13:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libkcompatdisc-4.10.2 emerge log (against alsa-lib-1.0.27-r1, the bad) (kde-base:libkcompactdisc-4.10.2:20130503-094253.log,73.48 KB, text/plain)
2013-05-03 10:34 UTC, Duncan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2013-05-03 10:31:54 UTC
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...
Comment 1 Duncan 2013-05-03 10:34:37 UTC
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...
Comment 2 Martijn Schmidt 2013-05-03 12:55:40 UTC
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!
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-05-03 13:36:31 UTC
+*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"