acxz / pkgbuilds

PKGBUILDs for Arch Linux
25 stars 43 forks source link

[qgroundcontrol] build fails for version 4.2.4 #220

Closed MatCapLynx closed 1 year ago

MatCapLynx commented 1 year ago

Hello, my build fails with the following error:

==> Starting build()...
Project MESSAGE: Qt version 5.15.6
Project MESSAGE: Linux build
which: no ccache in (/home/deck/.vscode-server/bin/e8a3071ea4344d9d48ef8a4df2c097372b0c5161/bin/remote-cli:/home/deck/mambaforge/bin:/home/deck/mambaforge/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
Project MESSAGE: Daily Build
Project MESSAGE: GIT_DESCRIBE v4.2.4
Project MESSAGE: QGroundControl APP_VERSION_STR VERSION v4.2.4 4.2.4
Project MESSAGE: Release flavor
Project MESSAGE: Skipping support for Pairing
Project MESSAGE: Using MAVLink dialect 'ardupilotmega'.
Project MESSAGE: Skipping support for Zeroconf (unsupported platform)
Project MESSAGE: Including support for AirMap
Project MESSAGE: Taisync disabled
Project MESSAGE: Microhard disabled
Project MESSAGE: Including support for video streaming
Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
compiling /home/deck/qgroundcontrol/src/qgroundcontrol-4.2.4/src/QtLocationPlugin/QGCMapEngine.cpp
In file included from /home/deck/qgroundcontrol/src/qgroundcontrol-4.2.4/src/QtLocationPlugin/QGCMapEngine.cpp:18:
/home/deck/qgroundcontrol/src/qgroundcontrol-4.2.4/src/QGCApplication.h:12:10: fatal error: QApplication: No such file or directory
   12 | #include <QApplication>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:71427: QGCMapEngine.o] Error 1
acxz commented 1 year ago

Can you try building in a clean chroot? I can't seem to reproduce this.

acxz commented 1 year ago

In the meanwhile, take a look at installing qgroundcontrol from the arch4edu repository. https://github.com/arch4edu/arch4edu/wiki/Add-arch4edu-to-your-Archlinux

acxz commented 1 year ago

Closing this issue as its been a week since a lack of response. Feel free to comment and I'll open this issue back up or open another issue @MatCapLynx !