Trying to build kdeconenct 21.08.0 I've got a link error: STEPS TO REPRODUCE 1. just trying to build it 2. 3. OBSERVED RESULT /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o: in function `SystemvolumePlugin::sendSinkList()::{lambda()#1}::operator()() const': systemvolumeplugin-pulse.cpp:(.text+0x777): undefined reference to `PulseAudioQt::PulseObject::name() const' /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o: in function `SystemvolumePlugin::sendSinkList()::{lambda()#2}::operator()() const': systemvolumeplugin-pulse.cpp:(.text+0x95b): undefined reference to `PulseAudioQt::PulseObject::name() const' /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o: in function `SystemvolumePlugin::sendSinkList()::{lambda()#3}::operator()() const': systemvolumeplugin-pulse.cpp:(.text+0xb51): undefined reference to `PulseAudioQt::PulseObject::name() const' /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o: in function `SystemvolumePlugin::sendSinkList()': systemvolumeplugin-pulse.cpp:(.text+0xe62): undefined reference to `PulseAudioQt::PulseObject::name() const' /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: systemvolumeplugin-pulse.cpp:(.text+0x1031): undefined reference to `PulseAudioQt::PulseObject::name() const' /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: CMakeFiles/kdeconnect_systemvolume.dir/systemvolumeplugin-pulse.cpp.o:systemvolumeplugin-pulse.cpp:(.text+0x1666): more undefined references to `PulseAudioQt::PulseObject::name() const' follow collect2: error: ld returned 1 exit status EXPECTED RESULT Build success SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.85 Qt Version: 5.15.2_p215 ADDITIONAL INFORMATION pulseaudio 15.0 pulseaudio-qt-1.3
Just tested building pulseaudio-qt and kdeconnect-kde with pulseaudio 15.0, no issue detected. Your log suggests kdeconnect doesn't try to link to pulseaudio-qt. Can you attach the CMake and (verbose) build log?
Changing status
Created attachment 140819 [details] Full build log
I've found a reason ;-) It was 2 versions of pulseaudio-qt. Removing the old version helps to find a new one :)
you explicitly ask to not look for KF5PulseAudioQt. Is that really intentional? (-DCMAKE_DISABLE_FIND_PACKAGE_KF5PulseAudioQt:BOOL=FALSE)
rephrasing: why do you need this parameter?
(In reply to Christophe Giboudeaux from comment #6) > rephrasing: why do you need this parameter? Unfortunately, it was not my build script (https://gitlab.exherbo.org/exherbo/kde/-/blob/master/packages/app-mobilephone/kdeconnect/kdeconnect.exlib#L102) ... I don't know why they did it ;-(