Bug#973538: poppler autopkgtest fails: error: ‘template<class T> class QLinkedList’ is deprecated: Use std::list instead

Dmitry Shachnev mitya57 at debian.org
Sun Nov 1 13:46:51 GMT 2020


Source: poppler
Version: 20.09.0-2
Severity: serious
User: debian-qt-kde at lists.debian.org
Usertags: qt5.15
Control: block 972278 by -1

Dear Maintainer,

poppler autopkgtest failed when run against Qt 5.15 from unstable:

https://ci.debian.net/data/autopkgtest/testing/amd64/p/poppler/7873281/log.gz

The error is:

  autopkgtest [06:16:09]: test qt5: [-----------------------
  In file included from /usr/include/poppler/qt5/poppler-qt5.h:44,
                   from /tmp/autopkgtest-lxc.ps5f1bjb/downtmp/build.gvJ/src/debian/tests/test-qt5.cpp:1:
  /usr/include/poppler/qt5/poppler-annotation.h:594:5: error: ‘template<class T> class QLinkedList’ is deprecated: Use std::list instead [-Werror=deprecated-declarations]
    594 |     QLinkedList<QPointF> linePoints() const;
        |     ^~~~~~~~~~~

And a few similar errors below.

This is an error (not a warning) because debian/tests/qt5 is using -Werror
flag.

--
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://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20201101/eb7d1fcf/attachment.sig>


More information about the Pkg-freedesktop-maintainers mailing list