Created attachment 465126 [details] build.log Hi all, I am trying to update qdbus to 5.8.0 but I get a series of errors: qdbus.cpp: At global scope: qdbus.cpp:403:26: error: ‘QDBusConnectionInterface’ was not declared in this scope static bool globServices(QDBusConnectionInterface *bus, const QString &glob) ^~~~~~~~~~~~~~~~~~~~~~~~ qdbus.cpp:403:52: error: ‘bus’ was not declared in this scope static bool globServices(QDBusConnectionInterface *bus, const QString &glob) ^~~ qdbus.cpp:403:57: error: expected primary-expression before ‘const’ static bool globServices(QDBusConnectionInterface *bus, const QString &glob) ^~~~~ qdbus.cpp:403:76: error: expression list treated as compound expression in initializer [-fpermissive] static bool globServices(QDBusConnectionInterface *bus, const QString &glob) ^ qdbus.cpp:418:30: error: variable or field ‘printAllServices’ declared void static void printAllServices(QDBusConnectionInterface *bus) ^~~~~~~~~~~~~~~~~~~~~~~~ qdbus.cpp:418:30: error: ‘QDBusConnectionInterface’ was not declared in this scope qdbus.cpp:418:56: error: ‘bus’ was not declared in this scope static void printAllServices(QDBusConnectionInterface *bus) ^~~ qdbus.cpp:403:13: warning: ‘globServices’ defined but not used [-Wunused-variable] static bool globServices(QDBusConnectionInterface *bus, const QString &glob) ^~~~~~~~~~~~ qdbus.cpp:201:13: warning: ‘void listAllInterfaces(const QString&, const QString&)’ defined but not used [-Wunused-function] static void listAllInterfaces(const QString &service, const QString &path) ^~~~~~~~~~~~~~~~~ qdbus.cpp:53:13: warning: ‘void showUsage()’ defined but not used [-Wunused-function] static void showUsage() ^~~~~~~~~ make: *** [Makefile:549: .obj/qdbus.o] Error 1 Maybe is releated to https://bugs.gentoo.org/show_bug.cgi?id=599636? Thanks
What's the latest commit your overlay has?
(In reply to Michael Palimaka (kensington) from comment #1) > What's the latest commit your overlay has? Oops, ignore that, I misread the package this bug is filed against. I can reproduce.
This (and the other bug) is caused because /usr/include/qt5/QtCore/qconfig.h contains: #define QT_NO_DBUS.
I can confirm this bug. Also that the problem can be solved by removing the QT_NO_DBUS entry from the qconfig.h file.
Duplicate of bug 599636
Even with the latest update to qtdbus, I got same error.
(In reply to Vasco Gervasi from comment #6) > Even with the latest update to qtdbus, I got same error. Could you please add which commit your overlay is at and attach /usr/include/qt5/QtCore/qconfig.h ?
I just added the qt overlay and update all packages, so I should be on commit c337a21c46bcf100bcec37876aff54d3663c2236. # cat /usr/include/qt5/QtCore/qconfig.h #include <Gentoo/gentoo-qconfig.h> #define QT_FEATURE_framework -1 #define QT_FEATURE_rpath -1 #define QT_FEATURE_accessibility 1 #define QT_FEATURE_shared 1 #define QT_COMPILER_SUPPORTS_SSE2 1 #define QT_FEATURE_debug_and_release -1 #define QT_FEATURE_simulator_and_device -1 #define QT_FEATURE_build_all -1 #define QT_FEATURE_c__11 1 #define QT_FEATURE_c__14 1 #define QT_FEATURE_c__1z 1 #define QT_FEATURE_concurrent 1 #define QT_NO_DBUS #define QT_FEATURE_force_asserts -1 #define QT_FEATURE_pkg_config 1 #define QT_LARGEFILE_SUPPORT 64 #define QT_VISIBILITY_AVAILABLE true #define QT_REDUCE_RELOCATIONS true #define QT_FEATURE_separate_debug_info -1 #define QT_FEATURE_static -1 #define QT_VERSION_STR "5.8.0" #define QT_VERSION_MAJOR 5 #define QT_VERSION_MINOR 8 #define QT_VERSION_PATCH 0
*** This bug has been marked as a duplicate of bug 599636 ***