Bug 265399 - Unable to build polkit-kde-1 0.95.1 and KDE 4.6.0
Summary: Unable to build polkit-kde-1 0.95.1 and KDE 4.6.0
Status: RESOLVED UNMAINTAINED
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-04 13:14 UTC by Robert Gabriel
Modified: 2021-04-07 16:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Gabriel 2011-02-04 13:14:30 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

I'm trying to build KDE 4.6.0 and also polkit-kde-1, but I can't always ends in an error. 
(polkit-qt-1 is also installed already and the need it libs/apps)

I also added this patch:

diff -Naur polkit-kde-1-0.95.1.old/agent/CMakeLists.txt polkit-kde-1-0.95.1/agent/CMakeLists.txt
--- polkit-kde-1-0.95.1.old/agent/CMakeLists.txt	2009-12-23 04:31:29.000000000 -0700
+++ polkit-kde-1-0.95.1/agent/CMakeLists.txt	2010-03-25 15:54:12.000000000 -0700
@@ -11,7 +11,7 @@
 
 target_link_libraries(polkit-kde-authentication-agent-1
                                          ${KDE4_KDEUI_LIBS}
-                                         ${POLKITQT-1_AGENT_LIBRARY}
+                                         ${POLKITQT-1_LIBRARIES} 
 )
 
 configure_file(polkit-kde-authentication-agent-1.desktop.in ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop)
@@ -25,4 +25,4 @@
   set (DESKTOP_INSTALL_DIR /etc/xdg/autostart)
 endif (DESKTOP_INSTALL_DIR)
 
-install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${DESKTOP_INSTALL_DIR})
+install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR})


Reproducible: Always


Actual Results:  
[ 78%] [ 84%] [ 89%] Building CXX object agent/CMakeFiles/polkit-kde-authentication-agent-1.dir/polkit-kde-authentication-agent-1_automoc.o
Building CXX object agent/CMakeFiles/polkit-kde-authentication-agent-1.dir/policykitlistener.o
Building CXX object agent/CMakeFiles/polkit-kde-authentication-agent-1.dir/policykitkde.o
In file included from /tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.h:26:0,
                 from /tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.cpp:21:
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-listener.h:126:18: warning: 'virtual void PolkitQt1::Agent::Listener::initiateAuthentication(const QString&, const QString&, const QString&, const PolkitQt1::Details&, const QString&, const PolkitQt1::Identity::List&, PolkitQt1::Agent::AsyncResult*)' was hidden
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitlistener.h:39:10: warning:   by 'void PolicyKitListener::initiateAuthentication(const QString&, const QString&, const QString&, PolkitQt1::Details*, const QString&, QList<PolkitQt1::Identity*>, PolkitQt1::Agent::AsyncResult*)'
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.cpp: In constructor 'PolicyKitKDE::PolicyKitKDE()':
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.cpp:27:48: error: cannot allocate an object of abstract type 'PolicyKitListener'
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitlistener.h:32:1: note:   because the following virtual functions are pure within 'PolicyKitListener':
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-listener.h:126:18: note: 	virtual void PolkitQt1::Agent::Listener::initiateAuthentication(const QString&, const QString&, const QString&, const PolkitQt1::Details&, const QString&, const PolkitQt1::Identity::List&, PolkitQt1::Agent::AsyncResult*)
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.cpp:34:98: error: no matching function for call to 'PolicyKitListener::registerListener(PolkitQt1::UnixSessionSubject*&, const char [40])'
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-listener.h:96:10: note: candidate is: bool PolkitQt1::Agent::Listener::registerListener(const PolkitQt1::Subject&, const QString&)
make[2]: *** [agent/CMakeFiles/polkit-kde-authentication-agent-1.dir/policykitkde.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/kng/polkit-kde-1-0.95.1/build/agent/moc_policykitlistener.cpp:10:0,
                 from /tmp/kng/polkit-kde-1-0.95.1/build/agent/polkit-kde-authentication-agent-1_automoc.cpp:4:
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-listener.h:126:18: warning: 'virtual void PolkitQt1::Agent::Listener::initiateAuthentication(const QString&, const QString&, const QString&, const PolkitQt1::Details&, const QString&, const PolkitQt1::Identity::List&, PolkitQt1::Agent::AsyncResult*)' was hidden
/tmp/kng/polkit-kde-1-0.95.1/build/agent/../../agent/policykitlistener.h:39:10: warning:   by 'void PolicyKitListener::initiateAuthentication(const QString&, const QString&, const QString&, PolkitQt1::Details*, const QString&, QList<PolkitQt1::Identity*>, PolkitQt1::Agent::AsyncResult*)'
In file included from /tmp/kng/polkit-kde-1-0.95.1/agent/policykitlistener.cpp:21:0:
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-listener.h:126:18: warning: 'virtual void PolkitQt1::Agent::Listener::initiateAuthentication(const QString&, const QString&, const QString&, const PolkitQt1::Details&, const QString&, const PolkitQt1::Identity::List&, PolkitQt1::Agent::AsyncResult*)' was hidden
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitlistener.h:39:10: warning:   by 'void PolicyKitListener::initiateAuthentication(const QString&, const QString&, const QString&, PolkitQt1::Details*, const QString&, QList<PolkitQt1::Identity*>, PolkitQt1::Agent::AsyncResult*)'
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitlistener.cpp: In member function 'void PolicyKitListener::tryAgain()':
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitlistener.cpp:94:67: error: no matching function for call to 'PolkitQt1::Agent::Session::Session(PolkitQt1::Identity*&, QString&, PolkitQt1::Agent::AsyncResult*&)'
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-session.h:103:14: note: candidates are: PolkitQt1::Agent::Session::Session(PolkitAgentSession*, QObject*)
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-session.h:93:5: note:                 PolkitQt1::Agent::Session::Session(const PolkitQt1::Identity&, const QString&, PolkitQt1::Agent::AsyncResult*, QObject*)
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-session.h:83:5: note:                 PolkitQt1::Agent::Session::Session(const PolkitQt1::Agent::Session&)
make[2]: *** [agent/CMakeFiles/polkit-kde-authentication-agent-1.dir/policykitlistener.o] Error 1
make[1]: *** [agent/CMakeFiles/polkit-kde-authentication-agent-1.dir/all] Error 2
make: *** [all] Error 2
[  0%] Built target polkit-kde-authentication-agent-1_automoc
[  5%] Building CXX object agent/CMakeFiles/polkit-kde-authentication-agent-1.dir/policykitkde.o
In file included from /tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.h:26:0,
                 from /tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.cpp:21:
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-listener.h:126:18: warning: 'virtual void PolkitQt1::Agent::Listener::initiateAuthentication(const QString&, const QString&, const QString&, const PolkitQt1::Details&, const QString&, const PolkitQt1::Identity::List&, PolkitQt1::Agent::AsyncResult*)' was hidden
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitlistener.h:39:10: warning:   by 'void PolicyKitListener::initiateAuthentication(const QString&, const QString&, const QString&, PolkitQt1::Details*, const QString&, QList<PolkitQt1::Identity*>, PolkitQt1::Agent::AsyncResult*)'
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.cpp: In constructor 'PolicyKitKDE::PolicyKitKDE()':
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.cpp:27:48: error: cannot allocate an object of abstract type 'PolicyKitListener'
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitlistener.h:32:1: note:   because the following virtual functions are pure within 'PolicyKitListener':
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-listener.h:126:18: note: 	virtual void PolkitQt1::Agent::Listener::initiateAuthentication(const QString&, const QString&, const QString&, const PolkitQt1::Details&, const QString&, const PolkitQt1::Identity::List&, PolkitQt1::Agent::AsyncResult*)
/tmp/kng/polkit-kde-1-0.95.1/agent/policykitkde.cpp:34:98: error: no matching function for call to 'PolicyKitListener::registerListener(PolkitQt1::UnixSessionSubject*&, const char [40])'
/usr/include/polkit-qt-1/PolkitQt1/Agent/../../polkitqt1-agent-listener.h:96:10: note: candidate is: bool PolkitQt1::Agent::Listener::registerListener(const PolkitQt1::Subject&, const QString&)
make[2]: *** [agent/CMakeFiles/polkit-kde-authentication-agent-1.dir/policykitkde.o] Error 1
make[1]: *** [agent/CMakeFiles/polkit-kde-authentication-agent-1.dir/all] Error 2
make: *** [all] Error 2
Comment 1 Andrew Crouthamel 2018-11-05 03:18:26 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-17 05:02:31 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Nate Graham 2021-04-07 16:58:50 UTC
No longer relevant with Plasma 5.