Bug#975166: connectome-workbench: FTBFS: qwt_painter_command.h:85:22: error: field ‘clipPath’ has incomplete type ‘QPainterPath’
Add Reply
Lucas Nussbaum
2020-11-19 09:50:06 UTC
Source: connectome-workbench
Version: 1.4.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201119 ftbfs-bullseye


During a rebuild of all packages in sid, your package failed to build
on amd64.
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Brain && /usr/bin/c++ -DCARET_DOTFCN -DCARET_OS_LINUX -DHAVE_FREETYPE -DQT_CORE_LIB -DQT_NO_DEBUG -DWORKBENCH_HAVE_HELP_HTML -I/<<PKGBUILDDIR>>/src/kloewe/dot/src -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/<<PKGBUILDDIR>>/src/Annotations -I/<<PKGBUILDDIR>>/src/Brain -I/<<PKGBUILDDIR>>/src/Charting -I/<<PKGBUILDDIR>>/src/Cifti -I/<<PKGBUILDDIR>>/src/FilesBase -I/<<PKGBUILDDIR>>/src/Files -I/<<PKGBUILDDIR>>/src/Graphics -I/<<PKGBUILDDIR>>/src/Palette -I/<<PKGBUILDDIR>>/src/Gifti -I/<<PKGBUILDDIR>>/src/Nifti -I/<<PKGBUILDDIR>>/src/QxtCore -I/<<PKGBUILDDIR>>/src/Scenes -I/<<PKGBUILDDIR>>/src/Xml -I/<<PKGBUILDDIR>>/src/Common -I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -fopenmp -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -W -Wall -Werror=return-type -Werror=switch -Wunused-parameter -Wno-narrowing -Wno-unused-local-typedefs -fPIC -std=gnu++11 -o CMakeFiles/Brain.dir/SelectionItemBorderSurface.cxx.o -c /<<PKGBUILDDIR>>/src/Brain/SelectionItemBorderSurface.cxx
/<<PKGBUILDDIR>>/src/Qwt/qwt_painter_command.h:85:22: error: field ‘clipPath’ has incomplete type ‘QPainterPath’
85 | QPainterPath clipPath;
| ^~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtransform.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qimage.h:48,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpixmap.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpainter.h:48,
from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpaintengine.h:47,
from /<<PKGBUILDDIR>>/src/Qwt/qwt_null_paintdevice.h:15,
from /<<PKGBUILDDIR>>/src/Qwt/qwt_graphic.h:14,
/usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
54 | class QPainterPath;
| ^~~~~~~~~~~~
make[3]: *** [Qwt/CMakeFiles/Qwt.dir/build.make:296: Qwt/CMakeFiles/Qwt.dir/qwt_graphic.cpp.o] Error 1
The full build log is available from:

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Yaroslav Halchenko
2021-01-13 22:00:02 UTC
Great, thanks for the info and the buzz -- missed this, will try now and
upload if all good.

Dear Maintainer,
I tried to build your package in a sid chroot environment
and I confirm that patch fixes this issue.
Kind Regards
Yaroslav O. Halchenko
Center for Open Neuroscience http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
WWW: http://www.linkedin.com/in/yarik
Debian Bug Tracking System
2021-01-14 01:30:01 UTC
Your message dated Thu, 14 Jan 2021 01:18:26 +0000
with message-id <E1kzrHO-0001kg-***@fasolo.debian.org>
and subject line Bug#975166: fixed in connectome-workbench 1.4.2-2
has caused the Debian Bug report #975166,
regarding connectome-workbench: FTBFS: qwt_painter_command.h:85:22: error: field ‘clipPath’ has incomplete type ‘QPainterPath’
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
975166: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975166
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems