SUMMARY On 32 bit Debian Stretch, Trying to compile kio results in failure OBSERVED RESULT This is the log output I get [ 18%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/filecopyjob.cpp.o [ 18%] Building CXX object src/core/CMakeFiles/KF5KIOCore.dir/listjob.cpp.o In file included from /srcbuild/kf5-kio/src/core/slaveinterface.cpp:441:0: /srcbuild/kf5-kio/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp: In static member function ‘static void KIO::SlaveInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’: /srcbuild/kf5-kio/build/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; ^~~~~~ /srcbuild/kf5-kio/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:280:68: error: ‘open64’ is not a member of ‘KIO::SlaveInterface’ if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SlaveInterface::open64)) { ^~~~~~~~~~~~~~ /srcbuild/kf5-kio/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp: At global scope: /srcbuild/kf5-kio/build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:475:34: error: no ‘void KIO::SlaveInterface::open64()’ member function declared in class ‘KIO::SlaveInterface’ void KIO::SlaveInterface::open64() ^ src/core/CMakeFiles/KF5KIOCore.dir/build.make:513: recipe for target 'src/core/CMakeFiles/KF5KIOCore.dir/slaveinterface.cpp.o' failed make[2]: *** [src/core/CMakeFiles/KF5KIOCore.dir/slaveinterface.cpp.o] Error 1
Make sure that cmake contains the fix for https://gitlab.kitware.com/cmake/cmake/issues/16640.
Seeing that is a year old, it looks like it must be a cmake regression? I was using cmake from the Release branch... ...trying cmake's v3.12.3 tag, and it worked.
Can this get closed?
Guess so, it built with an older cmake, not sure if the issue exist in cmake still, but if it was a cmake regression...
Thanks for the update; changing status.
Upstream report https://gitlab.kitware.com/cmake/cmake/issues/18669