Bug#1025777: qcustomplot: autopkgtest regression: collect2: error: ld returned 1 exit status

2022-12-10 Thread Christoph Berg
Re: Paul Gevers
> With a recent upload of qcustomplot the autopkgtest of qcustomplot fails in
> testing when that autopkgtest is run with the binary packages of qcustomplot
> from unstable.

I uploaded the pending changes as an NMU, plus ignoring a compiler
warning on stderr:

[ 66%] Building CXX object CMakeFiles/plots.dir/mainwindow.cpp.o
/tmp/tmp.T3AXT8d62g/src/mainwindow.cpp: In member function ‘void 
MainWindow::on_actionSave_Document_triggered()’:
/tmp/tmp.T3AXT8d62g/src/mainwindow.cpp:127:59: warning: ‘QRect 
QPrinter::pageRect() const’ is deprecated: Use 
pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
  127 | ui->textEdit->document()->setPageSize(printer.pageRect().size());
  |   ^~
In file included from 
/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprintengine.h:45,
 from 
/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QtPrintSupport:14,
 from /usr/include/qcustomplot.h:97,
 from /tmp/tmp.T3AXT8d62g/src/qcpdocumentobject.h:34,
 from /tmp/tmp.T3AXT8d62g/src/mainwindow.h:32,
 from /tmp/tmp.T3AXT8d62g/src/mainwindow.cpp:26:
/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:259:11: note: 
declared here
  259 | QRect pageRect() const;
  |   ^~~~
[ 83%] Building CXX object CMakeFiles/plots.dir/qcpdocumentobject.cpp.o

NMU diff: https://salsa.debian.org/science-team/qcustomplot/-/merge_requests/5

Christoph



Bug#1025777: qcustomplot: autopkgtest regression: collect2: error: ld returned 1 exit status

2022-12-08 Thread Paul Gevers

Source: qcustomplot
Version: 2.1.0+dfsg1-3
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of qcustomplot the autopkgtest of qcustomplot fails 
in testing when that autopkgtest is run with the binary packages of 
qcustomplot from unstable. It passes when run with only packages from 
testing. In tabular form:


   passfail
qcustomplotfrom testing2.1.0+dfsg1-3
all others from testingfrom testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can 
you please investigate the situation and fix it?


More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=qcustomplot

https://ci.debian.net/data/autopkgtest/testing/amd64/q/qcustomplot/29128978/log.gz

-- The CXX compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.nJIgKdAyYp/build
[ 16%] Automatic MOC and UIC for target plots
[ 16%] Built target plots_autogen
[ 33%] Building CXX object 
CMakeFiles/plots.dir/plots_autogen/mocs_compilation.cpp.o

[ 50%] Building CXX object CMakeFiles/plots.dir/main.cpp.o
[ 66%] Building CXX object CMakeFiles/plots.dir/mainwindow.cpp.o
[ 83%] Building CXX object CMakeFiles/plots.dir/axistag.cpp.o
[100%] Linking CXX executable plots
/usr/bin/ld: CMakeFiles/plots.dir/mainwindow.cpp.o: in function 
`MainWindow::MainWindow(QWidget*)':
mainwindow.cpp:(.text+0x13e): undefined reference to 
`QCustomPlot::QCustomPlot(QWidget*)'
/usr/bin/ld: mainwindow.cpp:(.text+0x182): undefined reference to 
`QCPAxis::setTickLabels(bool)'
/usr/bin/ld: mainwindow.cpp:(.text+0x1eb): undefined reference to 
`QCPLayerable::setVisible(bool)'
/usr/bin/ld: mainwindow.cpp:(.text+0x203): undefined reference to 
`QCustomPlot::axisRect(int) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x215): undefined reference to 
`QCPAxisRect::addAxis(QCPAxis::AxisType, QCPAxis*)'
/usr/bin/ld: mainwindow.cpp:(.text+0x22d): undefined reference to 
`QCustomPlot::axisRect(int) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x23f): undefined reference to 
`QCPAxisRect::axis(QCPAxis::AxisType, int) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x24c): undefined reference to 
`QCPAxis::setPadding(int)'
/usr/bin/ld: mainwindow.cpp:(.text+0x264): undefined reference to 
`QCustomPlot::axisRect(int) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x276): undefined reference to 
`QCPAxisRect::axis(QCPAxis::AxisType, int) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x283): undefined reference to 
`QCPAxis::setPadding(int)'
/usr/bin/ld: mainwindow.cpp:(.text+0x2a6): undefined reference to 
`QCustomPlot::axisRect(int) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x2b8): undefined reference to 
`QCPAxisRect::axis(QCPAxis::AxisType, int) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x2d5): undefined reference to 
`QCustomPlot::addGraph(QCPAxis*, QCPAxis*)'
/usr/bin/ld: mainwindow.cpp:(.text+0x311): undefined reference to 
`QCustomPlot::axisRect(int) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x323): undefined reference to 
`QCPAxisRect::axis(QCPAxis::AxisType, int) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x340): undefined reference to 
`QCustomPlot::addGraph(QCPAxis*, QCPAxis*)'
/usr/bin/ld: mainwindow.cpp:(.text+0x3b2): undefined reference to 
`QCPAbstractPlottable::setPen(QPen const&)'
/usr/bin/ld: mainwindow.cpp:(.text+0x417): undefined reference to 
`QCPAbstractPlottable::setPen(QPen const&)'
/usr/bin/ld: CMakeFiles/plots.dir/mainwindow.cpp.o: in function 
`MainWindow::timerSlot()':
mainwindow.cpp:(.text+0x884): undefined reference to 
`QCPGraph::addData(double, double)'
/usr/bin/ld: mainwindow.cpp:(.text+0x991): undefined reference to 
`QCPGraph::addData(double, double)'
/usr/bin/ld: mainwindow.cpp:(.text+0x9aa): undefined reference to 
`QCPAxis::rescale(bool)'
/usr/bin/ld: mainwindow.cpp:(.text+0x9cc): undefined reference to 
`QCPAbstractPlottable::rescaleValueAxis(bool, bool) const'
/usr/bin/ld: mainwindow.cpp:(.text+0x9ee): undefined reference to 
`QCPAbstractPlottable::rescaleValueAxis(bool, bool) const'
/usr/bin/ld: mainwindow.cpp:(.text+0xa4a): undefined reference to 
`QCPAxis::setRange(double, double, Qt::AlignmentFlag)'
/usr/bin/ld: mainwindow.cpp:(.text+0xbbf): undefined reference to 
`QCustomPlot::replot(QCustomPlot::RefreshPriority)'
/usr/bin/ld: CMakeFiles/plots.dir/axistag.cpp.o: in function 
`AxisTag::AxisTag(QCPAxis*)':
axistag.cpp:(.text+0xc4): undefined reference to 
`QCPItemTracer::QCPItemTracer(QCustomPlot*)'
/usr/bin/ld: axistag.cpp:(.text+0x100): undefined reference