[Pkg-kde-extras] Bug#1131591: rkward: FTBFS: /<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:45:1: error: 'QElapsedTimer' does not name a type; did you mean 'QBasicTimer'?

Santiago Vila sanvila at debian.org
Sun Mar 22 18:23:53 GMT 2026


Package: src:rkward
Version: 0.8.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202603/

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 cannot 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:rkward, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
[ 97%] Building CXX object rkward/autotests/CMakeFiles/core_test.dir/core_test_autogen/mocs_compilation.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/rkward/autotests && [too-long-redacted] st_autogen/mocs_compilation.cpp
[ 97%] Building CXX object rkward/autotests/CMakeFiles/core_test.dir/core_test.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/rkward/autotests && [too-long-redacted] /rkward/autotests/core_test.cpp
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:45:1: error: ‘QElapsedTimer’ does not name a type; did you mean ‘QBasicTimer’?
   45 | QElapsedTimer _test_timer;
      | ^~~~~~~~~~~~~
      | QBasicTimer
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp: In function ‘void testLog(const char*, __va_list_tag*)’:
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:48:26: error: ‘_test_timer’ was not declared in this scope
   48 |         printf("%lld: ", _test_timer.elapsed());
      |                          ^~~~~~~~~~~
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp: In member function ‘void RKWardCoreTest::runCommandWithTimeout(RCommand*, RCommandChain*, std::function<void(RCommand*)>, int)’:
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:93:17: error: ‘QElapsedTimer’ was not declared in this scope; did you mean ‘QBasicTimer’?
   93 |                 QElapsedTimer t;
      |                 ^~~~~~~~~~~~~
      |                 QBasicTimer
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:94:17: error: ‘t’ was not declared in this scope; did you mean ‘tr’?
   94 |                 t.start();
      |                 ^
      |                 tr
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp: In member function ‘void RKWardCoreTest::waitForBackendStarted()’:
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:156:17: error: ‘QElapsedTimer’ was not declared in this scope; did you mean ‘QBasicTimer’?
  156 |                 QElapsedTimer t;
      |                 ^~~~~~~~~~~~~
      |                 QBasicTimer
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:157:17: error: ‘t’ was not declared in this scope; did you mean ‘tr’?
  157 |                 t.start();
      |                 ^
      |                 tr
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp: In member function ‘void RKWardCoreTest::initTestCase()’:
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:191:17: error: ‘_test_timer’ was not declared in this scope
  191 |                 _test_timer.start();
      |                 ^~~~~~~~~~~
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp: In member function ‘void RKWardCoreTest::cancelCommandStressTest()’:
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:456:33: error: ‘QElapsedTimer’ was not declared in this scope; did you mean ‘QBasicTimer’?
  456 |                                 QElapsedTimer t;
      |                                 ^~~~~~~~~~~~~
      |                                 QBasicTimer
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:457:33: error: ‘t’ was not declared in this scope; did you mean ‘tr’?
  457 |                                 t.start();
      |                                 ^
      |                                 tr
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp: In member function ‘void RKWardCoreTest::RKConsoleHistoryTest()’:
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:563:31: warning: ignoring return value of ‘bool QTemporaryFile::open()’, declared with attribute ‘nodiscard’ [-Wunused-result]
  563 |                 emptyhist.open();
      |                 ~~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/QTemporaryFile:1,
                 from /<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:17:
/usr/include/x86_64-linux-gnu/qt6/QtCore/qtemporaryfile.h:52:32: note: declared here
   52 |     QFILE_MAYBE_NODISCARD bool open() { return open(QIODevice::ReadWrite); }
      |                                ^~~~
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp: In member function ‘void RKWardCoreTest::ScriptWindowTest()’:
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:634:23: warning: ignoring return value of ‘bool QTemporaryFile::open()’, declared with attribute ‘nodiscard’ [-Wunused-result]
  634 |                 f.open();
      |                 ~~~~~~^~
/usr/include/x86_64-linux-gnu/qt6/QtCore/qtemporaryfile.h:52:32: note: declared here
   52 |     QFILE_MAYBE_NODISCARD bool open() { return open(QIODevice::ReadWrite); }
      |                                ^~~~
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp: In member function ‘void RKWardCoreTest::restartRBackend()’:
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:760:17: error: ‘QElapsedTimer’ was not declared in this scope; did you mean ‘QBasicTimer’?
  760 |                 QElapsedTimer t;
      |                 ^~~~~~~~~~~~~
      |                 QBasicTimer
/<<PKGBUILDDIR>>/rkward/autotests/core_test.cpp:761:17: error: ‘t’ was not declared in this scope; did you mean ‘tr’?
  761 |                 t.start();
      |                 ^
      |                 tr
[ 97%] Linking CXX executable ../bin/rkward
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/rkward && /usr/bin/cmake -E cmake_link_script CMakeFiles/rkward.dir/link.txt --verbose=1
make[3]: *** [rkward/autotests/CMakeFiles/core_test.dir/build.make:96: rkward/autotests/CMakeFiles/core_test.dir/core_test.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:3054: rkward/autotests/CMakeFiles/core_test.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fs [too-long-redacted] b/x86_64-linux-gnu/libOpenGL.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 97%] Built target rkward
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 -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the pkg-kde-extras mailing list