Bug#975166: connectome-workbench: FTBFS: qwt_painter_command.h:85:22: error: field ‘clipPath’ has incomplete type ‘QPainterPath

2021-01-13 Thread s3v
Dear Maintainer,

I tried to build your package in a sid chroot environment
and I confirm that patch fixes this issue.

Kind Regards



Bug#975166: connectome-workbench: FTBFS: qwt_painter_command.h:85:22: error: field ‘clipPath’ has incomplete type ‘QPainterPath

2021-01-13 Thread Yaroslav Halchenko
Great, thanks for the info and the buzz -- missed this, will try now and
upload if all good.

Cheers,

On Wed, 13 Jan 2021, s3v wrote:

> 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



signature.asc
Description: PGP signature


Bug#975166: connectome-workbench: FTBFS: qwt_painter_command.h:85:22: error: field ‘clipPath’ has incomplete type ‘QPainterPath’

2020-11-19 Thread Lucas Nussbaum
Source: connectome-workbench
Version: 1.4.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201119 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> cd /<>/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/<>/src/kloewe/dot/src 
> -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork 
> -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/<>/src/Annotations 
> -I/<>/src/Brain -I/<>/src/Charting 
> -I/<>/src/Cifti -I/<>/src/FilesBase 
> -I/<>/src/Files -I/<>/src/Graphics 
> -I/<>/src/Palette -I/<>/src/Gifti 
> -I/<>/src/Nifti -I/<>/src/QxtCore 
> -I/<>/src/Scenes -I/<>/src/Xml 
> -I/<>/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=/<>=. -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 
> /<>/src/Brain/SelectionItemBorderSurface.cxx
> In file included from /<>/src/Qwt/qwt_graphic.cpp:11:
> /<>/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 /<>/src/Qwt/qwt_null_paintdevice.h:15,
>  from /<>/src/Qwt/qwt_graphic.h:14,
>  from /<>/src/Qwt/qwt_graphic.cpp:10:
> /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:
   
http://qa-logs.debian.net/2020/11/19/connectome-workbench_1.4.2-1_unstable.log

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.