(Using git master) [ 72s] CMake Warning (dev) at cmake-modules/KDEPython.cmake:51 (add_custom_target): [ 72s] Policy CMP0037 is not set: Target names should not be reserved and should [ 72s] match a validity pattern. Run "cmake --help-policy CMP0037" for policy [ 72s] details. Use the cmake_policy command to set the policy and suppress this [ 72s] warning. [ 72s] [ 72s] The target name [ 72s] "src__home_abuild_rpmbuild_BUILD_kajongg-17.03.60git.20170205T040205~88f5711_build_src___pycache___permutations.cpython-35.pyc" [ 72s] is reserved or not valid for certain CMake features, such as generator [ 72s] expressions, and may result in undefined behavior. [ 72s] Call Stack (most recent call first): [ 72s] cmake-modules/KDEPython.cmake:89 (python_install) [ 72s] CMakeLists.txt:119 (KDE_INSTALL_PYTHON_FILES) Results in: [ 73s] -- Configuring done [ 73s] CMake Error: Cannot open file for write: /home/abuild/rpmbuild/BUILD/kajongg-17.03.60git.20170205T040205~88f5711/build/CMakeFiles/_home_abuild_rpmbuild_BUILD_kajongg-17.03.60git.20170205T040205~88f5711_build_src__home_abuild_rpmbuild_BUILD_kajongg-17.03.60git.20170205T040205~88f5711_build__home_abuild_rpmbuild_BUILD_kajongg-17.03.60git.20170205T040205~88f5711_build_src___pycache___kdepaths.cpython-35.pyc.dir/build.make.tmp [ 73s] CMake Error: : System Error: File name too long
On kubuntu CI. 16.12.3+git = gitmaster in this case -- Configuring done CMake Error: Cannot open file for write: /<<BUILDDIR>>/kajongg-16.12.3+p17.04+git20170411.0936/obj-x86_64-linux-gnu/CMakeFiles/_build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu_src__build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu__build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu_src___pycache___kdepaths.cpython-35.pyc.dir/build.make.tmp CMake Error: : System Error: File name too long CMake Error: Could not create /<<BUILDDIR>>/kajongg-16.12.3+p17.04+git20170411.0936/obj-x86_64-linux-gnu/CMakeFiles/_build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu_src__build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu__build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu_src___pycache___kdepaths.cpython-35.pyc.dir/cmake_clean.cmake CMake Error: Cannot open file for write: /<<BUILDDIR>>/kajongg-16.12.3+p17.04+git20170411.0936/obj-x86_64-linux-gnu/CMakeFiles/_build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu_src__build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu__build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu_src___pycache___kdepaths.cpython-35.pyc.dir/DependInfo.cmake.tmp CMake Error: : System Error: File name too long -- Generating done CMake Error: Cannot open file for write: /<<BUILDDIR>>/kajongg-16.12.3+p17.04+git20170411.0936/obj-x86_64-linux-gnu/CMakeFiles/_build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu_src__build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu__build_kajongg-GQQMpb_kajongg-16.12.3+p17.04+git20170411.0936_obj-x86_64-linux-gnu_src___pycache___kdepaths.cpython-35.pyc.dir/progress.make.tmp CMake Error: : System Error: File name too long -- Build files have been written to: /<<BUILDDIR>>/kajongg-16.12.3+p17.04+git20170411.0936/obj-x86_64-linux-gnu "tail -v -n +0 CMakeCache.txt"
Cannot reproduce on current master by normal compilation (git clone then cmake).
(In reply to Thiago Sueto from comment #2) > Cannot reproduce on current master by normal compilation (git clone then > cmake). That's not enough for testing. as mentioned, the problem occurs with long paths.