[Pkg-cmake-team] Bug#915391: Regression: KDE's Kio fails to build on i386 and armhf with cmake >= 3.13

Rik Mills rikmills at kubuntu.org
Mon Dec 3 13:01:02 GMT 2018


Package: cmake
Version: 3.13.1-1

With cmake >= 3.13 the KDE Framework Kio fails to build on i386 and
armhf with the error shown below:

Confirmed on current debian unstable rebuilding kio from source. Also
confirmed in Ubuntu with 3.13.1-1 (now removed) synced to 19.04.

Report upstream: https://gitlab.kitware.com/cmake/cmake/issues/18669

and Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1806276


*** build error ***

In file included from /build/kio-5.51.0/src/core/slaveinterface.cpp:441:
/build/kio-5.51.0/obj-i686-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:
In static member function 'static void
KIO::SlaveInterface::qt_static_metacall(QObject*, QMetaObject::Call,
int, void**)':
/build/kio-5.51.0/obj-i686-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:171:22:
error: 'class KIO::SlaveInterface' has no member named 'open64'; did you
mean 'open'?
         case 10: _t->open64(); break;
                      ^~~~~~
                      open
/build/kio-5.51.0/obj-i686-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:280:84:
error: 'open64' is not a member of 'KIO::SlaveInterface'
             if (*reinterpret_cast<_t *>(_a[1]) ==
static_cast<_t>(&SlaveInterface::open64)) {

           ^~~~~~
/build/kio-5.51.0/obj-i686-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:
At global scope:
/build/kio-5.51.0/obj-i686-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:475:6:
error: no declaration matches 'void KIO::SlaveInterface::open64()'
 void KIO::SlaveInterface::open64()
      ^~~
/build/kio-5.51.0/obj-i686-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:475:6:
note: no functions named 'void KIO::SlaveInterface::open64()'
In file included from /build/kio-5.51.0/src/core/slaveinterface.cpp:19:
/build/kio-5.51.0/src/core/slaveinterface.h:102:22: note: 'class
KIO::SlaveInterface' defined here
 class KIOCORE_EXPORT SlaveInterface : public QObject
                      ^~~~~~~~~~~~~~
make[3]: *** [src/core/CMakeFiles/KF5KIOCore.dir/build.make:517:
src/core/CMakeFiles/KF5KIOCore.dir/slaveinterface.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/kio-5.51.0/obj-i686-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:9841:
src/core/CMakeFiles/KF5KIOCore.dir/all] Error 2
make[2]: Leaving directory '/build/kio-5.51.0/obj-i686-linux-gnu'
make[1]: *** [Makefile:144: all] Error 2
make[1]: Leaving directory '/build/kio-5.51.0/obj-i686-linux-gnu'
dh_auto_build: cd obj-i686-linux-gnu && make V=1 -j4 "INSTALL=install
--strip-program=true" returned exit code 2
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2



More information about the Pkg-cmake-team mailing list