[kmymoney4] [Bug 376043] New: Build failure for 4.8 with Qt 5.7.1 on Fedora 25

Ian Neal bugzilla_noreply at kde.org
Sun Feb 5 12:33:55 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=376043

            Bug ID: 376043
           Summary: Build failure for 4.8 with Qt 5.7.1 on Fedora 25
           Product: kmymoney4
           Version: 4.8.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: iann_bugzilla at blueyonder.co.uk
  Target Milestone: ---

Trying to build from current 4.8 branch, I get the following build failure.
CMakeCache.txt contains QT_MOC_EXECUTABLE:FILEPATH=/usr/lib64/qt4/bin/moc-qt4
Going back to 4.8 branch from August 2016 does work.

[  0%] Automatic moc for target kgpgfile
[  0%] Built target kgpgfile_automoc
[  0%] Building CXX object
libkgpgfile/CMakeFiles/kgpgfile.dir/kgpgfile_automoc.cpp.o
In file included from
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/kgpgfile_automoc.cpp:2:0:
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:15:2:
error: #error "This file was generated using the moc from 5.7.1. It"
 #error "This file was generated using the moc from 5.7.1. It"
  ^~~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:16:2:
error: #error "cannot be used with the include files from this version of Qt."
 #error "cannot be used with the include files from this version of Qt."
  ^~~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:17:2:
error: #error "(The moc has changed too much.)"
 #error "(The moc has changed too much.)"
  ^~~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:22:5:
error: ‘QByteArrayData’ does not name a type
     QByteArrayData data[1];
     ^~~~~~~~~~~~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:28:24:
error: ‘QByteArrayData’ was not declared in this scope
         - idx * sizeof(QByteArrayData)) \
                        ^
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:32:1:
note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(0, 0, 8) // "KGPGFile"
 ^~~~~~~~~~~~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:29:5:
error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not
declared in this scope
     )
     ^
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:32:1:
note: in expansion of macro ‘QT_MOC_LITERAL’
 QT_MOC_LITERAL(0, 0, 8) // "KGPGFile"
 ^~~~~~~~~~~~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:64:61:
error: ‘const struct qt_meta_stringdata_KGPGFile_t’ has no member named ‘data’
     { &QFile::staticMetaObject, qt_meta_stringdata_KGPGFile.data,
                                                             ^~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:65:51:
error: ‘Q_NULLPTR’ was not declared in this scope
       qt_meta_data_KGPGFile,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
                                                   ^~~~~~~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:65:62:
error: ‘Q_NULLPTR’ was not declared in this scope
       qt_meta_data_KGPGFile,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
                                                              ^~~~~~~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp: In member
function ‘virtual const QMetaObject* KGPGFile::metaObject() const’:
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:71:57:
error: ‘class QObjectData’ has no member named ‘dynamicMetaObject’; did you
mean ‘metaObject’?
     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() :
&staticMetaObject;
                                                         ^~~~~~~~~~~~~~~~~
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp: In member
function ‘virtual void* KGPGFile::qt_metacast(const char*)’:
/home/gizmo/kmymoney/kmymoney4/build_48/libkgpgfile/moc_kgpgfile.cpp:76:26:
error: ‘Q_NULLPTR’ was not declared in this scope
     if (!_clname) return Q_NULLPTR;
                          ^~~~~~~~~
libkgpgfile/CMakeFiles/kgpgfile.dir/build.make:86: recipe for target
'libkgpgfile/CMakeFiles/kgpgfile.dir/kgpgfile_automoc.cpp.o' failed
make[2]: *** [libkgpgfile/CMakeFiles/kgpgfile.dir/kgpgfile_automoc.cpp.o] Error
1
CMakeFiles/Makefile2:278: recipe for target
'libkgpgfile/CMakeFiles/kgpgfile.dir/all' failed
make[1]: *** [libkgpgfile/CMakeFiles/kgpgfile.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list