Recent tries to test cmake yield to errors for following tests:
        582 - Qt5Autogen.MocIncludeRelaxed (Failed)
        583 - Qt5Autogen.MocIncludeStrict (Failed)
        584 - Qt5Autogen.MocSkipSource (Failed)

Compiled master branch of http://cmake.org/cmake.git

As en example, here the log-snippet for Qt5Autogen.MocIncludeRelaxed:

[ 75%] Linking CXX executable mocIncludeRelaxed
CMakeFiles/mocIncludeRelaxed.dir/usr/src/cmake/cmake/Tests/QtAutogen/MocInclude/SObjCExtra.cpp.o:
 In function `SObjCExtra::qt_static_metacall(QObject*, QMetaObject::Call, int, 
void**)':
SObjCExtra.cpp:(.text+0x134): multiple definition of 
`SObjCExtra::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)'
CMakeFiles/mocIncludeRelaxed.dir/mocIncludeRelaxed_autogen/mocs_compilation.cpp.o:mocs_compilation.cpp:(.text+0xa3a):
 first defined here
CMakeFiles/mocIncludeRelaxed.dir/usr/src/cmake/cmake/Tests/QtAutogen/MocInclude/SObjCExtra.cpp.o:(.data.rel.ro+0x0):
 multiple definition of `SObjCExtra::staticMetaObject'
CMakeFiles/mocIncludeRelaxed.dir/mocIncludeRelaxed_autogen/mocs_compilation.cpp.o:(.data.rel.ro+0x2c0):
 first defined here
CMakeFiles/mocIncludeRelaxed.dir/usr/src/cmake/cmake/Tests/QtAutogen/MocInclude/SObjCExtra.cpp.o:
 In function `SObjCExtra::metaObject() const':
SObjCExtra.cpp:(.text+0x14a): multiple definition of `SObjCExtra::metaObject() 
const'
CMakeFiles/mocIncludeRelaxed.dir/mocIncludeRelaxed_autogen/mocs_compilation.cpp.o:mocs_compilation.cpp:(.text+0xa50):
 first defined here
CMakeFiles/mocIncludeRelaxed.dir/usr/src/cmake/cmake/Tests/QtAutogen/MocInclude/SObjCExtra.cpp.o:
 In function `SObjCExtra::qt_metacast(char const*)':
SObjCExtra.cpp:(.text+0x192): multiple definition of 
`SObjCExtra::qt_metacast(char const*)'
CMakeFiles/mocIncludeRelaxed.dir/mocIncludeRelaxed_autogen/mocs_compilation.cpp.o:mocs_compilation.cpp:(.text+0xa98):
 first defined here
CMakeFiles/mocIncludeRelaxed.dir/usr/src/cmake/cmake/Tests/QtAutogen/MocInclude/SObjCExtra.cpp.o:
 In function `SObjCExtra::qt_metacall(QMetaObject::Call, int, void**)':
SObjCExtra.cpp:(.text+0x1e2): multiple definition of 
`SObjCExtra::qt_metacall(QMetaObject::Call, int, void**)'
CMakeFiles/mocIncludeRelaxed.dir/mocIncludeRelaxed_autogen/mocs_compilation.cpp.o:mocs_compilation.cpp:(.text+0xae8):
 first defined here
collect2: error: ld returned 1 exit status


In case it matters:
gcc: 5.4.0
QT: 5.6.1
OS: ubuntu 16.04
cmake called with
        cmake /usr/src/cmake/cmake \
        -DCMAKE_VERBOSE_MAKEFILE=ON \
        -DCMAKE_USE_OPENSSL:BOOL=ON \
        -DCMAKE_USE_SYSTEM_LIBRARY_LIBARCHIVE=OFF \
        -DBUILD_QtDialog:BOOL=ON \
        -DBUILD_CursesDialog:BOOL=OFF \
        -DBUILD_DOCUMENTATION=ON \
        -DSPHINX_MAN=ON \
        -DCMAKE_USE_OPENSSL=ON \
        -DCMAKE_USE_SYSTEM_CURL=OFF \
        -DCPACK_BINARY_DEB:BOOL=ON \
        -DCMAKE_MAN_DIR=/share/man


        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers

Reply via email to