[Pkg-kde-extras] Bug#867576: qtcurve: FTBFS with Qt 5.9: static assertion failed: QFlags is only usable on enumeration types.

Dmitry Shachnev mitya57 at debian.org
Fri Jul 7 14:18:41 UTC 2017


Source: qtcurve
Version: 1.8.18+git20160320-3d8622c-3 
Severity: important
Tags: fixed-upstream patch
User: debian-qt-kde at lists.debian.org
Usertags: qt5.9

Dear maintainer,

qtcurve fails to build with Qt 5.9 (available in experimental):

  In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtGlobal:1:0,
                   from /<<BUILDDIR>>/qtcurve-1.8.18+git20160320-3d8622c/obj-x86_64-linux-gnu/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/qtutils.h:26,
                   from /<<BUILDDIR>>/qtcurve-1.8.18+git20160320-3d8622c/obj-x86_64-linux-gnu/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/qtprops.h:25,
                   from /<<BUILDDIR>>/qtcurve-1.8.18+git20160320-3d8622c/qt5/style/prepolish.cpp:23:
  /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h: In instantiation of ‘class QFlags<QFlags<QStyle::StateFlag> >’:
  /<<BUILDDIR>>/qtcurve-1.8.18+git20160320-3d8622c/qt5/style/qtcurve.h:374:5:   required from here
  /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:96:5: error: static assertion failed: QFlags is only usable on enumeration types.
       Q_STATIC_ASSERT_X((std::is_enum<Enum>::value), "QFlags is only usable on enumeration types.");
       ^

Full build log can be found at:
https://launchpadlibrarian.net/325592448/buildlog_ubuntu-artful-amd64.qtcurve_1.8.18+git20160320-3d8622c-3build1_BUILDING.txt.gz

This upstream commit fixes this failure:
https://cgit.kde.org/qtcurve.git/commit/?id=7ddd3782ea5635cc

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20170707/1a088aaa/attachment.sig>


More information about the pkg-kde-extras mailing list