Bug 83841

Summary: PackageKit-Qt-0.9.2 fails to build at 'class DaemonProxy'
Product: PackageKit Reporter: Matthias Mailänder <matthias>
Component: packagekit-qtAssignee: Richard Hughes <richard>
Status: RESOLVED NOTABUG QA Contact:
Severity: blocker    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Matthias Mailänder 2014-09-14 10:08:54 UTC
In file included from /home/abuild/rpmbuild/BUILD/PackageKit-Qt-0.9.2/src/daemon.cpp:28:0:
/home/abuild/rpmbuild/BUILD/PackageKit-Qt-0.9.2/build/src/daemonproxy.h:160:7: error: redefinition of 'class DaemonProxy'
 class DaemonProxy: public QDBusAbstractInterface
       ^
In file included from /home/abuild/rpmbuild/BUILD/PackageKit-Qt-0.9.2/src/daemon.cpp:28:0:
/home/abuild/rpmbuild/BUILD/PackageKit-Qt-0.9.2/build/src/daemonproxy.h:26:7: error: previous definition of 'class DaemonProxy'
 class DaemonProxy: public QDBusAbstractInterface
       ^
In file included from /home/abuild/rpmbuild/BUILD/PackageKit-Qt-0.9.2/src/daemon.cpp:28:0:
/home/abuild/rpmbuild/BUILD/PackageKit-Qt-0.9.2/build/src/daemonproxy.h:206:26: error: 'namespace org::freedesktop::PackageKit { }' redeclared as different kind of symbol
     namespace PackageKit {
                          ^
/home/abuild/rpmbuild/BUILD/PackageKit-Qt-0.9.2/build/src/daemonproxy.h:205:27: error: previous declaration of 'typedef class DaemonProxy org::freedesktop::PackageKit'
     typedef ::DaemonProxy PackageKit;
                           ^
src/CMakeFiles/packagekitqt4.dir/build.make:112: recipe for target 'src/CMakeFiles/packagekitqt4.dir/daemon.cpp.o' failed
make[2]: *** [src/CMakeFiles/packagekitqt4.dir/daemon.cpp.o] Error 1
CMakeFiles/Makefile2:77: recipe for target 'src/CMakeFiles/packagekitqt4.dir/all' failed
make[1]: *** [src/CMakeFiles/packagekitqt4.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2


See https://build.opensuse.org/package/show/GNOME:Next/PackageKit-Qt
Comment 1 Richard Hughes 2018-08-21 15:52:30 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
 
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.