Bug#973539: qcustomplot autopkgtest fails: stderr: CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:44 (message)
Dmitry Shachnev
mitya57 at debian.org
Sun Nov 1 13:56:42 GMT 2020
Source: qcustomplot
Version: 2.0.1+dfsg1-2
Severity: serious
User: debian-qt-kde at lists.debian.org
Usertags: qt5.15
Control: block 972278 by -1
Dear Maintainer,
qcustomplot autopkgtest failed when run against Qt 5.15 from unstable:
https://ci.debian.net/data/autopkgtest/testing/amd64/q/qcustomplot/7873285/log.gz
All 5 tests are failing because the following message is printed to stderr:
CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:44 (message):
qt5_use_modules is not part of the official API, and might be removed in Qt 6.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:431 (_qt5_warn_deprecated)
CMakeLists.txt:17 (QT5_USE_MODULES)
This warning is for project developers. Use -Wno-dev to suppress it.
The CMakeLists.txt files are generated inside the autopkgtests.
But debian/patches/01_Add_CMakeLists.patch should be probably also updated.
The official Qt CMake API is documented here:
https://doc.qt.io/qt-5/cmake-get-started.html
In addition, stderr of buildtest-plot test also contains some compiler
warnings:
/tmp/tmp.1E2C1tcj0m/src/mainwindow.cpp: In member function ‘void MainWindow::setupStyledDemo(QCustomPlot*)’:
/tmp/tmp.1E2C1tcj0m/src/mainwindow.cpp:1058:80: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
1058 | y3[i] = 0.05+3*(0.5+qCos(x3[i]*x3[i]*0.2+2)*0.5)/(double)(x3[i]+0.7)+qrand()/(double)RAND_MAX*0.01;
| ^
...
See the log for the complete stderr contents.
--
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/debian-science-maintainers/attachments/20201101/b247ba09/attachment.sig>
More information about the debian-science-maintainers
mailing list