[Pkg-owncloud-maintainers] Bug#1100249: owncloud-client: FTBFS: test/testcredentialmanager.cpp:115:16: error: 'class QSignalSpy' has no member named 'deleteLater'
Santiago Vila
sanvila at debian.org
Wed Mar 12 16:32:04 GMT 2025
Package: src:owncloud-client
Version: 5.2.1.13040+dfsg-3.0.1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
/<<PKGBUILDDIR>>/test/testutils/syncenginetestutils.h:229:45: warning: âstatic QDateTime QDateTime::fromSecsSinceEpoch(qint64, Qt::TimeSpec, int)â is deprecated: Pass QTimeZone instead of time-spec, offset [-Wdeprecated-declarations]
229 | return QDateTime::fromSecsSinceEpoch(_lastModifiedInSecondsUTC, Qt::LocalTime);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/QDateTime:1,
from /<<PKGBUILDDIR>>/src/common/utility.h:26,
from /<<PKGBUILDDIR>>/src/libsync/account.h:19,
from /<<PKGBUILDDIR>>/test/testcredentialmanager.cpp:7:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qdatetime.h:488:22: note: declared here
488 | static QDateTime fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spec, int offsetFromUtc = 0);
| ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/test/testutils/syncenginetestutils.h: In member function âQDateTime FileInfo::lastModifiedInUtc() constâ:
/<<PKGBUILDDIR>>/test/testutils/syncenginetestutils.h:234:45: warning: âstatic QDateTime QDateTime::fromSecsSinceEpoch(qint64, Qt::TimeSpec, int)â is deprecated: Pass QTimeZone instead of time-spec, offset [-Wdeprecated-declarations]
234 | return QDateTime::fromSecsSinceEpoch(_lastModifiedInSecondsUTC, Qt::UTC);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qdatetime.h:488:22: note: declared here
488 | static QDateTime fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spec, int offsetFromUtc = 0);
| ^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/test/testcredentialmanager.cpp: In member function âvoid OCC::TestCredentialManager::testSetGet2()â:
/<<PKGBUILDDIR>>/test/testcredentialmanager.cpp:115:16: error: âclass QSignalSpyâ has no member named âdeleteLaterâ
115 | s->deleteLater();
| ^~~~~~~~~~~
/<<PKGBUILDDIR>>/test/testcredentialmanager.cpp:134:20: error: âclass QSignalSpyâ has no member named âdeleteLaterâ
134 | s->deleteLater();
| ^~~~~~~~~~~
make[3]: *** [test/CMakeFiles/CredentialManagerTest.dir/build.make:102: test/CMakeFiles/CredentialManagerTest.dir/testcredentialmanager.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:3414: test/CMakeFiles/CredentialManagerTest.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:owncloud-client, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-owncloud-maintainers
mailing list