Bug 399501 - kio master fails to compile looking for KIO::SlaveInterface::open64()
Summary: kio master fails to compile looking for KIO::SlaveInterface::open64()
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-07 22:33 UTC by bluescreenavenger
Modified: 2018-12-03 01:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bluescreenavenger 2018-10-07 22:33:07 UTC
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
Comment 1 Fabian Vogt 2018-10-10 09:20:46 UTC
Make sure that cmake contains the fix for https://gitlab.kitware.com/cmake/cmake/issues/16640.
Comment 2 bluescreenavenger 2018-10-10 23:59:29 UTC
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.
Comment 3 Christoph Feck 2018-11-08 20:35:15 UTC
Can this get closed?
Comment 4 bluescreenavenger 2018-11-09 00:50:34 UTC
Guess so, it built with an older cmake, not sure if the issue exist in cmake still, but if it was a cmake regression...
Comment 5 Christoph Feck 2018-11-09 13:49:02 UTC
Thanks for the update; changing status.
Comment 6 Rik Mills 2018-12-03 01:21:20 UTC
Upstream report

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