Subject: kigo package fails to build

From: Leo Famulari <[email-masked]>
Date: Thu, 18 Jun 2020 21:12:56 -0400

Using Guix Git commit 8fdd0da49c81366a2061da35739cede3df107e15 on
x86_64-linux, the kigo package fails to build like this:

------
[ 78%] Building CXX object src/CMakeFiles/kigo.dir/gui/graphicsview/gameview.cpp.o
cd /tmp/guix-build-kigo-19.08.3.drv-0/build/src && /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++  -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/tmp/guix-build-kigo-19.08.3.drv-0/build/src -I/tmp/guix-build-kigo-19.08.3.drv-0/kigo-19.08.3/src -I/tmp/guix-build-kigo-19.08.3.drv-0/build/src/kigo_autogen/include -isystem /gnu/store/vn716zrsjyy9f9kqr6i7ik5kqymzax4x-kxmlgui-5.70.0/include/KF5/KXmlGui -isystem /gnu/store/vn716zrsjyy9f9kqr6i7ik5kqymzax4x-kxmlgui-5.70.0/include/KF5 -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5 -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtXml -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/qt5/mkspecs/linux-g++ -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtWidgets -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtGui -isystem /gnu/store/dn9asvlzwc9mirmk04jnrjly0myfcsid-kconfig-5.70.0/include/KF5/KConfigCore -isystem /gnu/store/dn9asvlzwc9mirmk04jnrjly0myfcsid-kconfig-5.70.0/include/KF5 -isystem /gnu/store/mpc7fhy8iqxg2wbfwrldlvaa0w8cfvy6-kconfigwidgets-5.70.0/include/KF5/KConfigWidgets -isystem /gnu/store/mpc7fhy8iqxg2wbfwrldlvaa0w8cfvy6-kconfigwidgets-5.70.0/include/KF5 -isystem /gnu/store/7xd2ddmc121ffrbdg3csry34xqywz3l1-kcodecs-5.70.0/include/KF5/KCodecs -isystem /gnu/store/7xd2ddmc121ffrbdg3csry34xqywz3l1-kcodecs-5.70.0/include/KF5 -isystem /gnu/store/4kwbb66ic636xhbrjifzfa60z5rkf0yb-kwidgetsaddons-5.70.0/include/KF5/KWidgetsAddons -isystem /gnu/store/4kwbb66ic636xhbrjifzfa60z5rkf0yb-kwidgetsaddons-5.70.0/include/KF5 -isystem /gnu/store/dn9asvlzwc9mirmk04jnrjly0myfcsid-kconfig-5.70.0/include/KF5/KConfigGui -isystem /gnu/store/5xl615f020291fr0v7k6pc8y6malxr5j-kauth-5.70.0/include/KF5/KAuth -isystem /gnu/store/5xl615f020291fr0v7k6pc8y6malxr5j-kauth-5.70.0/include/KF5 -isystem /gnu/store/hrdh3pfgq0c1xrsvjgzyfi4x52r012v5-kcoreaddons-5.70.0/include/KF5/KCoreAddons -isystem /gnu/store/hrdh3pfgq0c1xrsvjgzyfi4x52r012v5-kcoreaddons-5.70.0/include/KF5 -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtDBus -isystem /gnu/store/n2srnfpxzbxkk8cbgrcv6w847ig9bb2g-kio-5.70.1/include/KF5/KIOWidgets -isystem /gnu/store/n2srnfpxzbxkk8cbgrcv6w847ig9bb2g-kio-5.70.1/include/KF5 -isystem /gnu/store/n2srnfpxzbxkk8cbgrcv6w847ig9bb2g-kio-5.70.1/include/KF5/KIOGui -isystem /gnu/store/n2srnfpxzbxkk8cbgrcv6w847ig9bb2g-kio-5.70.1/include/KF5/KIOCore -isystem /gnu/store/7h2bixaxd648n1y5m97ax05alrkqfqqc-kservice-5.70.0/include/KF5/KService -isystem /gnu/store/7h2bixaxd648n1y5m97ax05alrkqfqqc-kservice-5.70.0/include/KF5 -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtNetwork -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtConcurrent -isystem /gnu/store/m3dmm15kflkzzgjcbcirvvhgp2vlsndw-kwindowsystem-5.70.0/include/KF5/KWindowSystem -isystem /gnu/store/m3dmm15kflkzzgjcbcirvvhgp2vlsndw-kwindowsystem-5.70.0/include/KF5 -isystem /gnu/store/alq9zffh4iga5637gphkgyp9p30gk0kz-kjobwidgets-5.70.0/include/KF5/KJobWidgets -isystem /gnu/store/alq9zffh4iga5637gphkgyp9p30gk0kz-kjobwidgets-5.70.0/include/KF5 -isystem /gnu/store/rfrsh41yw7vbzjh9q8k4l02x9845pwzk-kcompletion-5.70.0/include/KF5/KCompletion -isystem /gnu/store/rfrsh41yw7vbzjh9q8k4l02x9845pwzk-kcompletion-5.70.0/include/KF5 -isystem /gnu/store/0s9j049v3n38h64aw3yzk6cip5gvrm3q-ktextwidgets-5.70.0/include/KF5/KTextWidgets -isystem /gnu/store/0s9j049v3n38h64aw3yzk6cip5gvrm3q-ktextwidgets-5.70.0/include/KF5 -isystem /gnu/store/xxsdnpfg8s3sgcscnf63w3f6r63nsxix-sonnet-5.70.0/include/KF5/SonnetUi -isystem /gnu/store/xxsdnpfg8s3sgcscnf63w3f6r63nsxix-sonnet-5.70.0/include/KF5 -isystem /gnu/store/l3wrjlw34laml8777gyv0v8rfiksfnj9-ki18n-5.70.0/include/KF5/KI18n -isystem /gnu/store/l3wrjlw34laml8777gyv0v8rfiksfnj9-ki18n-5.70.0/include/KF5 -isystem /gnu/store/kcrn46ll9lvm1wnvp36mp7ygvjmv1dp2-libkdegames-20.04.1/include/KF5/KF5KDEGames -isystem /gnu/store/kcrn46ll9lvm1wnvp36mp7ygvjmv1dp2-libkdegames-20.04.1/include/KF5/KF5KDEGames/KDE -isystem /gnu/store/kcrn46ll9lvm1wnvp36mp7ygvjmv1dp2-libkdegames-20.04.1/include/KF5 -isystem /gnu/store/445rkl6z3sb90bra7cjfrch0xhlaiyx5-qtdeclarative-5.14.2/include/qt5 -isystem /gnu/store/445rkl6z3sb90bra7cjfrch0xhlaiyx5-qtdeclarative-5.14.2/include/qt5/QtQuickWidgets -isystem /gnu/store/445rkl6z3sb90bra7cjfrch0xhlaiyx5-qtdeclarative-5.14.2/include/qt5/QtQuick -isystem /gnu/store/445rkl6z3sb90bra7cjfrch0xhlaiyx5-qtdeclarative-5.14.2/include/qt5/QtQmlModels -isystem /gnu/store/445rkl6z3sb90bra7cjfrch0xhlaiyx5-qtdeclarative-5.14.2/include/qt5/QtQml -isystem /gnu/store/kcrn46ll9lvm1wnvp36mp7ygvjmv1dp2-libkdegames-20.04.1/include/KF5/KF5KDEGames/libkdegamesprivate -isystem /gnu/store/bdkya65w5irr7im19n8h5gcsnl0rbfm8-knewstuff-5.70.0/include/KF5/KNewStuff3 -isystem /gnu/store/bdkya65w5irr7im19n8h5gcsnl0rbfm8-knewstuff-5.70.0/include/KF5/KNewStuff3/KNS3 -isystem /gnu/store/bdkya65w5irr7im19n8h5gcsnl0rbfm8-knewstuff-5.70.0/include/KF5/KNewStuff3/knscore -isystem /gnu/store/bdkya65w5irr7im19n8h5gcsnl0rbfm8-knewstuff-5.70.0/include/KF5 -isystem /gnu/store/bdkya65w5irr7im19n8h5gcsnl0rbfm8-knewstuff-5.70.0/include/KF5/KNewStuff3/kns3 -isystem /gnu/store/bdkya65w5irr7im19n8h5gcsnl0rbfm8-knewstuff-5.70.0/include/KF5/KNewStuff3/KNSCore -isystem /gnu/store/33gk292990rl3vwkk4m2z6d437x4c514-attica-5.70.0/include/KF5/Attica -isystem /gnu/store/33gk292990rl3vwkk4m2z6d437x4c514-attica-5.70.0/include/KF5 -isystem /gnu/store/d4gz8gwqkx05gpp5p72s0kwqb5rw317g-kdbusaddons-5.70.0/include/KF5/KDBusAddons -isystem /gnu/store/d4gz8gwqkx05gpp5p72s0kwqb5rw317g-kdbusaddons-5.70.0/include/KF5 -isystem /gnu/store/ryvs3w8dgp72aifmxisa1712zkafai8r-kcrash-5.70.0/include/KF5/KCrash -isystem /gnu/store/ryvs3w8dgp72aifmxisa1712zkafai8r-kcrash-5.70.0/include/KF5 -isystem /gnu/store/7f809f0bhirn1vad1rr3srxk2c7qqang-qtsvg-5.14.2/include/qt5 -isystem /gnu/store/7f809f0bhirn1vad1rr3srxk2c7qqang-qtsvg-5.14.2/include/qt5/QtSvg  -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -O2 -g -DNDEBUG -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -std=gnu++11 -o CMakeFiles/kigo.dir/gui/graphicsview/gameview.cpp.o -c /tmp/guix-build-kigo-19.08.3.drv-0/kigo-19.08.3/src/gui/graphicsview/gameview.cpp
/tmp/guix-build-kigo-19.08.3.drv-0/kigo-19.08.3/src/gui/graphicsview/gameview.cpp: In constructor ‘Kigo::GameView::GameView(Kigo::GameScene*, QWidget*)’:
/tmp/guix-build-kigo-19.08.3.drv-0/kigo-19.08.3/src/gui/graphicsview/gameview.cpp:36:41: error: ‘DontClipPainter’ is not a member of ‘QGraphicsView’
     setOptimizationFlags(QGraphicsView::DontClipPainter |
                                         ^~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/kigo.dir/build.make:208: src/CMakeFiles/kigo.dir/gui/graphicsview/gameview.cpp.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-kigo-19.08.3.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:682: src/CMakeFiles/kigo.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-kigo-19.08.3.drv-0/build'
make: *** [Makefile:144: all] Error 2
command "make" "-j" "1" failed with status 2
builder for `/gnu/store/4z8nzv3d3kgf08jhn6svb42lp8dwdrk3-kigo-19.08.3.drv' failed with exit code 1
build of /gnu/store/4z8nzv3d3kgf08jhn6svb42lp8dwdrk3-kigo-19.08.3.drv failed
------