openDsh / dash

Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
GNU General Public License v3.0
238 stars 69 forks source link

QDBusPendingReply: No such file or directory #73

Closed JesseMFrey closed 2 years ago

JesseMFrey commented 2 years ago

Issue

Dash does not build

Hardware

Raspberry Pi 4 4GB running Arch Arm with the following package versions that may or may not be relevant:

bluez-qt 5.83.0-1 
kdbusaddons 5.83.0-1 
libdbusmenu-qt5 0.9.3+16.04.20160218-5

Installation Method: Install.sh

Description of problem:

Build fails with the following output

Running Dash make
[  1%] Automatic MOC and UIC for target dash
[  1%] Built target dash_autogen
[  3%] Automatic RCC for assets/resources.qrc
[  5%] Building CXX object CMakeFiles/dash.dir/dash_autogen/mocs_compilation.cpp.o
In file included from /usr/include/KF5/BluezQt/bluezqt/mediatransport.h:15,
                 from /usr/include/KF5/BluezQt/bluezqt/device.h:17,
                 from /usr/include/KF5/BluezQt/bluezqt/adapter.h:17,
                 from /usr/include/KF5/BluezQt/BluezQt/Adapter:1,
                 from /home/opendash/openauto/dash/include/app/services/bluetooth.hpp:3,
                 from /home/opendash/openauto/dash/include/app/session.hpp:25,
                 from /home/opendash/openauto/dash/build/dash_autogen/KTF6LCBHT5/../../../include/app/arbiter.hpp:10,
                 from /home/opendash/openauto/dash/build/dash_autogen/KTF6LCBHT5/moc_arbiter.cpp:10,
                 from /home/opendash/openauto/dash/build/dash_autogen/mocs_compilation.cpp:3:
/usr/include/KF5/BluezQt/bluezqt/tpendingcall.h:11:10: fatal error: QDBusPendingReply: No such file or directory
   11 | #include <QDBusPendingReply>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/dash.dir/build.make:136: CMakeFiles/dash.dir/dash_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/dash.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Dash make failed with error code 1

Expected Result:

Expected build to complete. I suspect that something in Qt got updated and is not being found correctly.

robert5974 commented 2 years ago

The error says that part of bluez-qt package isn't there. Maybe remove and reinstall that package?

JesseMFrey commented 2 years ago

Upgraded bluez-qt to 5.84 but that didn't help. Looks like I do in fact have a QDBusPendingReply in /usr/include/qt/QtDBus/QDBusPendingReply which is from the qt5-base package. Seems like it's a problem of include paths are not setup correctly

robert5974 commented 2 years ago

Hmmm. Ok. I haven't ever used Arch before so I am unsure on the differences that may apply. Are you running the install.sh script as a user or root?

Robert Crowley

On Wed, Jul 14, 2021, 10:05 PM JesseMFrey @.***> wrote:

Upgraded bluez-qt to 5.84 but that didn't help. Looks like I do in fact have a QDBusPendingReply in /usr/include/qt/QtDBus/QDBusPendingReply which is from the qt5-base package. Seems like it's a problem of include paths are not setup correctly

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openDsh/dash/issues/73#issuecomment-880331762, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLUDVDZJ66VNFVI2QIL3CLTXY67BANCNFSM47ZUWPOA .

JesseMFrey commented 2 years ago

as normal user

On Wed, Jul 14, 2021 at 8:33 PM Robert Crowley @.***> wrote:

Hmmm. Ok. I haven't ever used Arch before so I am unsure on the differences that may apply. Are you running the install.sh script as a user or root?

Robert Crowley

On Wed, Jul 14, 2021, 10:05 PM JesseMFrey @.***> wrote:

Upgraded bluez-qt to 5.84 but that didn't help. Looks like I do in fact have a QDBusPendingReply in /usr/include/qt/QtDBus/QDBusPendingReply which is from the qt5-base package. Seems like it's a problem of include paths are not setup correctly

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openDsh/dash/issues/73#issuecomment-880331762, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABLUDVDZJ66VNFVI2QIL3CLTXY67BANCNFSM47ZUWPOA

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openDsh/dash/issues/73#issuecomment-880342277, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWFTLQV7A242OV5PVU7XZDTXZCIXANCNFSM47ZUWPOA .

matt2005 commented 2 years ago

I'm getting the same error when building in yocto