Bug 262301 - phononserver.cpp: In constructor 'PhononServer::PhononServer(QObject*, const QList<QVariant>&)
Summary: phononserver.cpp: In constructor 'PhononServer::PhononServer(QObject*, const ...
Status: RESOLVED NOT A BUG
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: kded module for audio device listing (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 14:05 UTC by Dennis veatch
Modified: 2011-01-06 18:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
buildlog as provided on IRC (88.60 KB, text/plain)
2011-01-06 18:42 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis veatch 2011-01-06 14:05:28 UTC
Version:           4.6 (using Devel) 
OS:                Linux

Make fails with phonon-4.4.3 and/or phonon pulled from git on Dec 6, 2011 with;

/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp: In constructor 'PhononServer::PhononServer(QObject*, const QList<QVariant>&)':  
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:70:5: error: 'registerMetaTypes' is not a member of 'Phonon'
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp: In member function 'void PhononServer::updateAudioDevicesCache()':
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:699:9: error: 'DeviceAccessList' is not a member of 'Phonon'
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:699:34: error: expected ';' before 'deviceAccessList'
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:715:17: error: 'deviceAccessList' was not declared in this scope
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:715:37: error: 'DeviceAccess' is not a member of 'Phonon'
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:718:67: error: 'deviceAccessList' was not declared in this scope
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:737:9: error: 'DeviceAccessList' is not a member of 'Phonon'
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:737:34: error: expected ';' before 'deviceAccessList'
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:741:17: error: 'deviceAccessList' was not declared in this scope
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:741:37: error: 'DeviceAccess' is not a member of 'Phonon'
/usr/src/kdebase-runtime-4.5.95/phonon/kded-module/phononserver.cpp:744:67: error: 'deviceAccessList' was not declared in this scope
make[2]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/phononserver.o] Error 1
make[1]: *** [phonon/kded-module/CMakeFiles/kded_phononserver.dir/all] Error 2
make: *** [all] Error 2



Reproducible: Always

Steps to Reproduce:
Using kde-4.6 (RC2) compile kdelibs, kdepimlibs then kdebase-workspace... make fails. 



Using qt-4.7.1
Comment 1 Harald Sitter 2011-01-06 18:42:21 UTC
Created attachment 55651 [details]
buildlog as provided on IRC
Comment 2 Harald Sitter 2011-01-06 18:44:05 UTC
As is indicated at the end of cmake, cmake suspects that it picked up a wrong library. This certainly explains the build failure as using any version < 4.4.3 does not have the appropriate API.
Closing as invalid, trying to help get this resolved on IRC.