unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 31640@debbugs.gnu.org
Subject: bug#31640: Librecad fails to build with Qt 5.11
Date: Tue, 29 May 2018 14:43:09 +0200	[thread overview]
Message-ID: <87o9gyr5sy.fsf@elephly.net> (raw)

Librecad fails to build since the upgrade to Qt 5.11 in commit
1f52eb7be7e166b477b7635ff71936fc05425a6e.

--8<---------------cut here---------------start------------->8---
g++ -c -pipe -g -fext-numeric-literals -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.1.3" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -isystem /gnu/store/lxnirpmnx1268pwq5nsnmjwi4l619ky2-qtsvg-5.11.0/include/qt5 -isystem /gnu/store/lxnirpmnx1268pwq5nsnmjwi4l619ky2-qtsvg-5.11.0/include/qt5/QtSvg -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtGui -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtCore -I../../generated/librecad/moc -isystem /gnu/store/88vpd91676yna0zrix1shvqvvh4nx21a-libdrm-2.4.91/include/libdrm -I../../generated/librecad/ui -I/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o ../../generated/librecad/obj/linklist.o ui/generic/linklist.cpp
ui/generic/widgetcreator.cpp: In constructor ‘WidgetCreator::WidgetCreator(QWidget*, QMap<QString, QAction*>&, QMap<QString, QActionGroup*>, bool)’:
ui/generic/widgetcreator.cpp:59:44: error: invalid use of incomplete type ‘class QActionGroup’
         ui->categories_combobox->addItem(ag->objectName());
                                            ^
In file included from ui/generic/widgetcreator.cpp:27:0:
ui/generic/widgetcreator.h:9:7: note: forward declaration of ‘class QActionGroup’
 class QActionGroup;
       ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtGui/qtguiglobal.h:43:0,
                 from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
                 from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qframe.h:43,
                 from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QFrame:1,
                 from ui/generic/widgetcreator.h:4,
                 from ui/generic/widgetcreator.cpp:27:
ui/generic/widgetcreator.cpp: In member function ‘void WidgetCreator::setCategory(QString)’:
ui/generic/widgetcreator.cpp:233:39: error: invalid use of incomplete type ‘class QActionGroup’
     foreach (auto action, action_group->actions())
                                       ^
In file included from ui/generic/widgetcreator.cpp:27:0:
ui/generic/widgetcreator.h:9:7: note: forward declaration of ‘class QActionGroup’
 class QActionGroup;
       ^
g++ -c -pipe -g -fext-numeric-literals -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.1.3" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -isystem /gnu/store/lxnirpmnx1268pwq5nsnmjwi4l619ky2-qtsvg-5.11.0/include/qt5 -isystem /gnu/store/lxnirpmnx1268pwq5nsnmjwi4l619ky2-qtsvg-5.11.0/include/qt5/QtSvg -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtGui -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtCore -I../../generated/librecad/moc -isystem /gnu/store/88vpd91676yna0zrix1shvqvvh4nx21a-libdrm-2.4.91/include/libdrm -I../../generated/librecad/ui -I/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o ../../generated/librecad/obj/qc_applicationwindow.o main/qc_applicationwindow.cpp
make[2]: *** [Makefile:12199: ../../generated/librecad/obj/widgetcreator.o] Error 1
make[2]: *** Waiting for unfinished jobs....
main/qc_applicationwindow.cpp:3199:48: warning: unused parameter ‘event’ [-Wunused-parameter]
 void QC_ApplicationWindow::changeEvent(QEvent* event)
                                                ^
make[2]: Leaving directory '/tmp/guix-build-librecad-2.1.3.drv-0/LibreCAD-2.1.3/librecad/src'
make[1]: *** [Makefile:45: sub-src-make_first] Error 2
make[1]: Leaving directory '/tmp/guix-build-librecad-2.1.3.drv-0/LibreCAD-2.1.3/librecad'
make: *** [Makefile:91: sub-librecad-make_first-ordered] Error 2
phase `build' failed after 221.3 seconds
builder for `/gnu/store/r9hw8kh3z69hs1wnj5gc44dg8ri5ijkg-librecad-2.1.3.drv' failed with exit code 1
guix package: error: build failed: build of `/gnu/store/r9hw8kh3z69hs1wnj5gc44dg8ri5ijkg-librecad-2.1.3.drv' failed
--8<---------------cut here---------------end--------------->8---

--
Ricardo

             reply	other threads:[~2018-05-29 12:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-29 12:43 Ricardo Wurmus [this message]
2018-05-29 13:29 ` bug#31640: Librecad fails to build with Qt 5.11 Clément Lassieur
2018-05-29 13:31   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9gyr5sy.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=31640@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).