[cmake-developers] Moc-test errors

2019-06-04 Thread Kornel Benko
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

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


Re: [cmake-developers] Moc-test errors

2019-06-04 Thread Kornel Benko
Am Dienstag, 4. Juni 2019, 15:16:43 CEST schrieb Sebastian Holtermann:
> Hello Kornel.
> 
> > 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
> 
> We changed the format of AutogenInfo.cmake lately.
> Possibly old versions of AutogenInfo.cmake files were left from
> previous CMake builds and tests.
> 
> Please try
> - `make rebuild_cache` and run the tests again or
> - do a clean build of the master branch and test again.
> 
> -Sebastian

Sure, rebuild_cache was the first I tried. The test-errors remain even in the 
master tree of today.
Performing now on a clean build ...
#ctest -R Qt5Autogen.Moc
Test project /BUILD/BUILDMint18/BuildCmakeGit
Guessing configuration NoConfig
Start 553: Qt5Autogen.MocOnly
1/8 Test #553: Qt5Autogen.MocOnly ...   Passed2.04 sec
Start 554: Qt5Autogen.MocOptions
2/8 Test #554: Qt5Autogen.MocOptions    Passed1.40 sec
Start 576: Qt5Autogen.MocCMP0071
3/8 Test #576: Qt5Autogen.MocCMP0071    Passed2.48 sec
Start 577: Qt5Autogen.MocIncludeRelaxed
4/8 Test #577: Qt5Autogen.MocIncludeRelaxed .***Failed4.37 sec
Start 578: Qt5Autogen.MocIncludeStrict
5/8 Test #578: Qt5Autogen.MocIncludeStrict ..***Failed4.24 sec
Start 579: Qt5Autogen.MocSkipSource
6/8 Test #579: Qt5Autogen.MocSkipSource .***Failed2.99 sec
Start 580: Qt5Autogen.MocMacroName
7/8 Test #580: Qt5Autogen.MocMacroName ..   Passed1.95 sec
Start 581: Qt5Autogen.MocOsMacros
8/8 Test #581: Qt5Autogen.MocOsMacros ...   Passed0.56 sec

63% tests passed, 3 tests failed out of 8

Total Test time (real) =  20.09 sec

The following tests FAILED:
577 - Qt5Autogen.MocIncludeRelaxed (Failed)
578 - Qt5Autogen.MocIncludeStrict (Failed)
579 - Qt5Autogen.MocSkipSource (Failed)
Errors while running CTest

So, no change here.

Kornel



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.

Re: [cmake-developers] Moc-test errors

2019-06-04 Thread Sebastian Holtermann

Sure, rebuild_cache was the first I tried. The test-errors remain even in the 
master tree of today.
Performing now on a clean build ...
#ctest -R Qt5Autogen.Moc
Test project /BUILD/BUILDMint18/BuildCmakeGit
Guessing configuration NoConfig
 Start 553: Qt5Autogen.MocOnly
1/8 Test #553: Qt5Autogen.MocOnly ...   Passed2.04 sec
 Start 554: Qt5Autogen.MocOptions
2/8 Test #554: Qt5Autogen.MocOptions    Passed1.40 sec
 Start 576: Qt5Autogen.MocCMP0071
3/8 Test #576: Qt5Autogen.MocCMP0071    Passed2.48 sec
 Start 577: Qt5Autogen.MocIncludeRelaxed
4/8 Test #577: Qt5Autogen.MocIncludeRelaxed .***Failed4.37 sec
 Start 578: Qt5Autogen.MocIncludeStrict
5/8 Test #578: Qt5Autogen.MocIncludeStrict ..***Failed4.24 sec
 Start 579: Qt5Autogen.MocSkipSource
6/8 Test #579: Qt5Autogen.MocSkipSource .***Failed2.99 sec
 Start 580: Qt5Autogen.MocMacroName
7/8 Test #580: Qt5Autogen.MocMacroName ..   Passed1.95 sec
 Start 581: Qt5Autogen.MocOsMacros
8/8 Test #581: Qt5Autogen.MocOsMacros ...   Passed0.56 sec

63% tests passed, 3 tests failed out of 8

Total Test time (real) =  20.09 sec

The following tests FAILED:
577 - Qt5Autogen.MocIncludeRelaxed (Failed)
578 - Qt5Autogen.MocIncludeStrict (Failed)
579 - Qt5Autogen.MocSkipSource (Failed)
Errors while running CTest



Okay, it looks like SKIP_AUTOMOC doesn't work properly.
Can you please post the output of

- `ctest -R Qt5Autogen.MocSkip -VV`
- `cat 
Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocA_autogen.dir/AutogenInfo.cmake`
- `cat 
Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocB_autogen.dir/AutogenInfo.cmake`

--

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


Re: [cmake-developers] Moc-test errors

2019-06-06 Thread Kornel Benko
Am Dienstag, 4. Juni 2019, 16:05:25 CEST schrieb Sebastian Holtermann:
> > The following tests FAILED:
> > 577 - Qt5Autogen.MocIncludeRelaxed (Failed)
> > 578 - Qt5Autogen.MocIncludeStrict (Failed)
> > 579 - Qt5Autogen.MocSkipSource (Failed)
> > Errors while running CTest
> >
> 
> Okay, it looks like SKIP_AUTOMOC doesn't work properly.
> Can you please post the output of
> 
> - `ctest -R Qt5Autogen.MocSkip -VV`
> - `cat 
> Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocA_autogen.dir/AutogenInfo.cmake`
> - `cat 
> Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocB_autogen.dir/AutogenInfo.cmake`

OK, attached.

Kornel
UpdateCTestConfiguration  from 
:/BUILD/BUILDMint18/BuildCmakeGit/DartConfiguration.tcl
Parse Config file:/BUILD/BUILDMint18/BuildCmakeGit/DartConfiguration.tcl
 Add coverage exclude regular expressions.
 Add coverage exclude: XCode
 Add coverage exclude: /Source/(cm|kw)sys/
 Add coverage exclude: /CMakeFiles/CMakeTmp/
 Add coverage exclude: [A-Za-z]./[Qq]t/qt-.+-opensource-src
SetCTestConfiguration:CMakeCommand:/usr/bin/cmake
UpdateCTestConfiguration  from 
:/BUILD/BUILDMint18/BuildCmakeGit/DartConfiguration.tcl
Parse Config file:/BUILD/BUILDMint18/BuildCmakeGit/DartConfiguration.tcl
Test project /BUILD/BUILDMint18/BuildCmakeGit
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 579
Start 579: Qt5Autogen.MocSkipSource

579: Test command: /BUILD/BUILDMint18/BuildCmakeGit/bin/ctest 
"--build-and-test" "/usr/src/cmake/cmake/Tests/QtAutogen/MocSkipSource" 
"/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource" 
"--build-generator" "Unix Makefiles" "--build-project" "MocSkipSource" 
"--build-exe-dir" 
"/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource" 
"--force-new-ctest-process" "--build-options" 
"-DCMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make" "-DQT_TEST_VERSION=5" 
"-DCMAKE_BUILD_TYPE=" "-DCMAKE_AUTOGEN_VERBOSE=1" 
"-DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/bin/qmake-qt4"
579: Test timeout computed to be: 1500
579: Internal cmake changing into directory: 
/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource
579:  CMake output ==
579: Configuring done
579: Generating done
579: Build files have been written to: 
/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource
579:  End CMake output ==
579: Change Dir: /BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource
579: 
579: Run Clean Command:/usr/bin/make clean
579: 
579: Run Build Command(s):/usr/bin/make && [  2%] Generating moc_qItemD.cpp
579: [  5%] Generating moc_qItemA.cpp
579: [  7%] Generating moc_qItemB.cpp
579: [ 10%] Generating moc_qItemC.cpp
579: [ 12%] Automatic MOC and UIC for target skipMocB
579: AutoGen: Refreshing parse cache because it doesn't exist.
579: AutoGen: Parsing 
"/usr2/src/cmake/cmake/Tests/QtAutogen/MocSkipSource/qItemA.hpp"
579: AutoGen: Parsing 
"/usr2/src/cmake/cmake/Tests/QtAutogen/MocSkipSource/qItemD.hpp"
579: AutoGen: Parsing 
"/usr2/src/cmake/cmake/Tests/QtAutogen/MocSkipSource/qItemC.hpp"
579: AutoGen: Parsing 
"/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource/moc_qItemA.cpp"
579: AutoGen: Parsing 
"/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource/moc_qItemC.cpp"
579: AutoGen: Parsing 
"/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource/moc_qItemB.cpp"
579: AutoGen: Parsing 
"/usr2/src/cmake/cmake/Tests/QtAutogen/MocSkipSource/qItemA.cpp"
579: AutoGen: Parsing 
"/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource/moc_qItemD.cpp"
579: AutoGen: Parsing 
"/usr2/src/cmake/cmake/Tests/QtAutogen/MocSkipSource/qItemC.cpp"
579: AutoGen: Parsing 
"/usr2/src/cmake/cmake/Tests/QtAutogen/MocSkipSource/skipMoc.cpp"
579: AutoGen: Parsing 
"/usr2/src/cmake/cmake/Tests/QtAutogen/MocSkipSource/qItemD.cpp"
579: AutoMoc: Generating 
"/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource/skipMocB_autogen/include/qItemC.moc",
 because it doesn't exist, from 
"/usr2/src/cmake/cmake/Tests/QtAutogen/MocSkipSource/qItemC.cpp"
579: /usr/lib/x86_64-linux-gnu/qt5/bin/moc -I/usr/include/x86_64-linux-gnu/qt5 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/usr/include/c++/5 
-I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward 
-I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include 
-I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu 
-I/usr/include -DQT_CORE_LIB -DQT_NO_DEBUG -o 
/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource/skipMocB_autogen/include/qItemC.moc
 /usr2/src/cmake/cmake/Tests/QtAutogen/MocSkipSource/qItemC.cpp
579: AutoMoc: Generating 
"/BUILD/BUILDMint18/BuildCmakeGit/Tests/Qt5Autogen/MocSkipSource/skipMocB_autogen/EWIEGA46WW/moc_qItemD.cpp",
 because it doesn't exist, from 
"/usr2/src/cmake/cmake

Re: [cmake-developers] Moc-test errors

2019-06-06 Thread Kornel Benko
Am Donnerstag, 6. Juni 2019, 14:02:33 CEST schrieb Kornel Benko:
> Am Dienstag, 4. Juni 2019, 16:05:25 CEST schrieb Sebastian Holtermann:
> > > The following tests FAILED:
> > > 577 - Qt5Autogen.MocIncludeRelaxed (Failed)
> > > 578 - Qt5Autogen.MocIncludeStrict (Failed)
> > > 579 - Qt5Autogen.MocSkipSource (Failed)
> > > Errors while running CTest
> > >
> > 
> > Okay, it looks like SKIP_AUTOMOC doesn't work properly.
> > Can you please post the output of
> > 
> > - `ctest -R Qt5Autogen.MocSkip -VV`
> > - `cat 
> > Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocA_autogen.dir/AutogenInfo.cmake`
> > - `cat 
> > Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocB_autogen.dir/AutogenInfo.cmake`
> 
> OK, attached.
> 

BTW, with todays compilation (master branch) also some qt4-moc-tests are 
failing.
This starts to be itching ...


# ctest -R Autogen.Moc
...
The following tests FAILED:
577 - Qt5Autogen.MocIncludeRelaxed (Failed)
578 - Qt5Autogen.MocIncludeStrict (Failed)
579 - Qt5Autogen.MocSkipSource (Failed)
615 - Qt4Autogen.MocIncludeRelaxed (Failed)
616 - Qt4Autogen.MocIncludeStrict (Failed)
617 - Qt4Autogen.MocSkipSource (Failed)
Errors while running CTest

Kornel


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


Re: [cmake-developers] Moc-test errors

2019-06-06 Thread Sebastian Holtermann

The following tests FAILED:
577 - Qt5Autogen.MocIncludeRelaxed (Failed)
578 - Qt5Autogen.MocIncludeStrict (Failed)
579 - Qt5Autogen.MocSkipSource (Failed)
Errors while running CTest



Okay, it looks like SKIP_AUTOMOC doesn't work properly.
Can you please post the output of

- `ctest -R Qt5Autogen.MocSkip -VV`
- `cat
Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocA_autogen.dir/AutogenInfo.cmake`
- `cat
Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocB_autogen.dir/AutogenInfo.cmake`


OK, attached.



BTW, with todays compilation (master branch) also some qt4-moc-tests are 
failing.
This starts to be itching ...


# ctest -R Autogen.Moc
...
The following tests FAILED:
 577 - Qt5Autogen.MocIncludeRelaxed (Failed)
 578 - Qt5Autogen.MocIncludeStrict (Failed)
 579 - Qt5Autogen.MocSkipSource (Failed)
 615 - Qt4Autogen.MocIncludeRelaxed (Failed)
 616 - Qt4Autogen.MocIncludeStrict (Failed)
 617 - Qt4Autogen.MocSkipSource (Failed)
Errors while running CTest


Thanks for the files.

For some reason the file processing flags are wrong.
E.g. in AutogenInfo-1.cmake
  set(AM_HEADERS_FLAGS "mU;MU;MU")
should be
  set(AM_HEADERS_FLAGS "mU;mU;mu")
A lower case letter means no moc/uic processing.

It seems to be something wrong with SKIP_AUTOMOC/GEN flags of headers 
that were found from their source files.


Are there symbolic directory links involved in either the CMake source 
directory or the CMake build directory?


-Sebastian
--

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


Re: [cmake-developers] Moc-test errors

2019-06-06 Thread Sebastian Holtermann




BTW, with todays compilation (master branch) also some qt4-moc-tests are 
failing.
This starts to be itching ...


# ctest -R Autogen.Moc
...
The following tests FAILED:
 577 - Qt5Autogen.MocIncludeRelaxed (Failed)
 578 - Qt5Autogen.MocIncludeStrict (Failed)
 579 - Qt5Autogen.MocSkipSource (Failed)
 615 - Qt4Autogen.MocIncludeRelaxed (Failed)
 616 - Qt4Autogen.MocIncludeStrict (Failed)
 617 - Qt4Autogen.MocSkipSource (Failed)
Errors while running CTest

Kornel


I was able to reproduce the issue.  It appears when the CMake sources 
are in a path that contains symbolic links.

Please see issue https://gitlab.kitware.com/cmake/cmake/issues/19346

-Sebastian
--

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


Re: [cmake-developers] Moc-test errors

2019-06-06 Thread Kornel Benko
Am Donnerstag, 6. Juni 2019, 18:01:09 CEST schrieb Sebastian Holtermann:
> 
> > BTW, with todays compilation (master branch) also some qt4-moc-tests are 
> > failing.
> > This starts to be itching ...
> > 
> > 
> > # ctest -R Autogen.Moc
> > ...
> > The following tests FAILED:
> >  577 - Qt5Autogen.MocIncludeRelaxed (Failed)
> >  578 - Qt5Autogen.MocIncludeStrict (Failed)
> >  579 - Qt5Autogen.MocSkipSource (Failed)
> >  615 - Qt4Autogen.MocIncludeRelaxed (Failed)
> >  616 - Qt4Autogen.MocIncludeStrict (Failed)
> >  617 - Qt4Autogen.MocSkipSource (Failed)
> > Errors while running CTest
> > 
> > Kornel
> 
> I was able to reproduce the issue.  It appears when the CMake sources 
> are in a path that contains symbolic links.
> Please see issue https://gitlab.kitware.com/cmake/cmake/issues/19346
> 
> -Sebastian
> 

Right, the sources are addressed with /usr/src/cmake/cmake, but /usr/src/cmake 
is symbolic link
to /usr2/src/cmake.

Thanks for the pointer.

Kornel

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