Build failed on latest Arch Linux

This issue tracker is only for technical issues related to Bitcoin Cash Node.

General Bitcoin Cash questions and/or support requests and are best directed to the Bitcoin StackExchange.

For reporting security issues, please see DISCLOSURE_POLICY.

Issue description

Steps to reproduce

If you can reliably reproduce the issue, please list the steps to do so below:

  1. Try to build on latest Arch, watch it fail.

Expected behaviour

It should build.

Actual behaviour

It fails with a QT error.

FAILED: src/qt/CMakeFiles/bitcoin-qt-base.dir/trafficgraphwidget.cpp.o /usr/bin/c++ -DBOOST_AC_USE_STD_ATOMIC -DBOOST_ALL_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_SP_USE_STD_ATOMIC -DBOOST_THREAD_DYN_LINK -DBUILD_BITCOIN_INTERNAL -DENABLE_AVX2 -DENABLE_SHANI -DENABLE_SSE41 -DHAVE_BUILD_INFO -DHAVE_CONFIG_H -DHAVE_CONSENSUS_LIB -DLEVELDB_ATOMIC_PRESENT -DLEVELDB_PLATFORM_POSIX -DOS_LINUX -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -Isrc/qt/bitcoin-qt-base_autogen/include -I../src/. -Isrc -I../src/univalue/include -Isrc/crypto/.. -I../src/secp256k1/include -I../src/leveldb/include -isystem /usr/include/miniupnpc -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -isystem /usr/lib/qt/mkspecs/linux-g++ -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtDBus -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -O2 -fPIC -fvisibility=hidden -fstack-reuse=none -fstack-protector-all -Wstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wformat -Wvla -Wformat-security -Wcast-align -Wunused-parameter -Wmissing-braces -Wshadow -Wredundant-decls -Wredundant-move -Wno-unused-parameter -Wno-implicit-fallthrough -pthread -fPIC -std=gnu++14 -MD -MT src/qt/CMakeFiles/bitcoin-qt-base.dir/trafficgraphwidget.cpp.o -MF src/qt/CMakeFiles/bitcoin-qt-base.dir/trafficgraphwidget.cpp.o.d -o src/qt/CMakeFiles/bitcoin-qt-base.dir/trafficgraphwidget.cpp.o -c ../src/qt/trafficgraphwidget.cpp ../src/qt/trafficgraphwidget.cpp: In member function 'void TrafficGraphWidget::paintPath(QPainterPath&, QQueue&)': ../src/qt/trafficgraphwidget.cpp:45:9: error: invalid use of incomplete type 'class QPainterPath'

Screenshots

If the issue is related to the GUI, you can attach screenshots to your issue.

Bitcoin Cash Node version

List the Bitcoin Cash Node version number or commit ID, and whether it is an official binary, self-compiled, or a distribution package such as PPA.

Latest release build. 0.21.2

Machine specs

Any extra information that might be useful for debugging

This is normally the contents of a debug.log or config.log file. It is possible to attach files to your issue.

Edited by Josh Ellithorpe