Bug 262301

Summary: phononserver.cpp: In constructor 'PhononServer::PhononServer(QObject*, const QList<QVariant>&)
Product: [Frameworks and Libraries] Phonon Reporter: Dennis veatch <dennislveatch>
Component: kded module for audio device listingAssignee: Harald Sitter <sitter>
Status: RESOLVED NOT A BUG    
Severity: normal CC: martin.sandsmark, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: buildlog as provided on IRC

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.