[kdemultimedia] [Bug 319504] New: libkcompactdisc-4.10.2 does not build with alsa-lib-1.0.27
Kim Højgaard-Hansen
kimrhh at gmail.com
Wed May 8 07:01:19 BST 2013
https://bugs.kde.org/show_bug.cgi?id=319504
Bug ID: 319504
Summary: libkcompactdisc-4.10.2 does not build with
alsa-lib-1.0.27
Classification: Unclassified
Product: kdemultimedia
Version: unspecified
Platform: Exherbo Packages
URL: http://dev.exherbo.org/~kimrhh/1367951871-install-kde_
libkcompactdisc-4.10.2:4::kde.out
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: libkcompactdisc
Assignee: kde-multimedia at kde.org
Reporter: kimrhh at gmail.com
When building libkcompactdisc-4.10.2 i get the following build error:
---- snip ----
[32mBuilding C object CMakeFiles/kcompactdisc.dir/wmlib/audio/audio_sun.o
[0m/usr/bin/i686-pc-linux-gnu-gcc -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=54
-DKDE_DEPRECATED_WARNINGS -DMAKE_KCOMPACTDISC_LIB -DQT_NO_CAST_TO_ASCII
-DQT_NO_STL -DUSE_WMLIB=1 -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500
-march=native -pipe -O2 -DNDEBUG -DQT_NO_DEBUG -Wno-long-long -std=iso9899:1990
-Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts
-Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security
-Wmissing-format-attribute -fno-common -fPIC
-I/var/tmp/paludis/build/kde-libkcompactdisc-4.10.2/work/build
-I/var/tmp/paludis/build/kde-libkcompactdisc-4.10.2/work/libkcompactdisc-4.10.2
-I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools
-I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork
-I/usr/include/qt4/QtMultimedia -I/usr/include/qt4/QtHelp
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative
-I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt
-I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o
CMakeFiles/kcompactdisc.dir/wmlib/audio/audio_sun.o -c
/var/tmp/paludis/build/kde-libkcompactdisc-4.10.2/work/libkcompactdisc-4.10.2/wmlib/audio/audio_sun.c
In file included from /usr/include/alsa/asoundlib.h:50:0,
from
/var/tmp/paludis/build/kde-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
/var/tmp/paludis/build/kde-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
/var/tmp/paludis/build/kde-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'
/var/tmp/paludis/build/kde-libkcompactdisc-4.10.2/work/libkcompactdisc-4.10.2/wmlib/audio/audio_alsa.c:
In function 'set_swparams':
/var/tmp/paludis/build/kde-libkcompactdisc-4.10.2/work/libkcompactdisc-4.10.2/wmlib/audio/audio_alsa.c:193:9:
warning: 'snd_pcm_sw_params_set_xfer_align' is deprecated (declared at
/usr/include/alsa/pcm.h:1230) [-Wdeprecated-declarations]
/var/tmp/paludis/build/kde-libkcompactdisc-4.10.2/work/libkcompactdisc-4.10.2/wmlib/audio/audio_alsa.c:
In function 'setup_alsa':
/var/tmp/paludis/build/kde-libkcompactdisc-4.10.2/work/libkcompactdisc-4.10.2/wmlib/audio/audio_alsa.c:331:41:
warning: unused parameter 'ctl' [-Wunused-parameter]
make[2]: *** [CMakeFiles/kcompactdisc.dir/wmlib/audio/audio_alsa.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/paludis/build/kde-libkcompactdisc-4.10.2/work/build'
make[1]: *** [CMakeFiles/kcompactdisc.dir/all] Error 2
make[1]: Leaving directory
`/var/tmp/paludis/build/kde-libkcompactdisc-4.10.2/work/build'
make: *** [all] Error 2
---- snip ----
Link added to full build log
The same build problem seem to exist in libkcompactdisc-4.10.3. Older versions
of alsa-lib works.
Reproducible: Always
Steps to Reproduce:
1. try building libkcompactdisc-4.10.2 with alsa-lib-1.0.27
2. build fails
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-multimedia
mailing list