ctest failed in cmake@3.21.1 on centos8_aarch64 and centos8_x86_64
Hello,I meet a problem:ctest failed in cmake@3.21.1 on centos8_aarch64 and centos8_x86_64. The error cases of centos8_aarch64 are as follows: 526 - RunCMake.file-GET_RUNTIME_DEPENDENCIES (Failed) 579 - RunCMake.PrecompileHeaders (Failed)
The error cases of centos8_x86_64 are as follows: 524 - RunCMake.file-GET_RUNTIME_DEPENDENCIES (Failed) 577 - RunCMake.PrecompileHeaders (Failed)
Steps to reproduce the issue
[root@centos8 spack-src]# ctest --rerun-failed --output-on-failure
Test project /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src
Guessing configuration NoConfig
Start 526: RunCMake.file-GET_RUNTIME_DEPENDENCIES
1/2 Test #526: RunCMake.file-GET_RUNTIME_DEPENDENCIES ...***Failed 7.78 sec
-- linux - PASSED
-- linux-build - PASSED
CMake Error at RunCMake.cmake:201 (message):
linux-all - FAILED:
File contents:
librpath_unresolved.so;librunpath_unresolved.so
do not match what we expected:
^librpath_unresolved\.so;librunpath_parent_unresolved\.so;librunpath_unresolved\.so$
in file:
/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/deps/udeps1.txt
File contents:
librpath_unresolved.so;librunpath_unresolved.so
do not match what we expected:
^librpath_unresolved\.so;librunpath_parent_unresolved\.so;librunpath_unresolved\.so$
in file:
/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/deps/udeps2.txt
File contents:
librpath_unresolved.so;librunpath_unresolved.so
do not match what we expected:
^librpath_unresolved\.so;librunpath_parent_unresolved\.so;librunpath_unresolved\.so$
in file:
/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/deps/udeps3.txt
Command was:
command> "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/bin/cmake" "--install" "." "--prefix" "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all" "--config" "Debug"
Actual stdout:
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_postexcluded/librpath_postexcluded.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath/librpath.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_origin_postexcluded/librpath_origin_postexcluded.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_origin/librpath_origin.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent_postexcluded/librpath_parent_postexcluded.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent/librpath.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent/librpath_origin.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent/librpath_parent.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search_postexcluded/librpath_search_postexcluded.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search/librpath.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search/librpath_origin.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search/librpath_parent.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search/librpath_search.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/conflict/libconflict.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_postexcluded/librunpath_postexcluded.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath/librunpath.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_origin_postexcluded/librunpath_origin_postexcluded.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_origin/librunpath_origin.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_parent_unresolved/librunpath_parent_unresolved.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search_postexcluded/librunpath_search_postexcluded.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search/librunpath.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search/librunpath_origin.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search/librunpath_search.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/conflict2/libconflict.so
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/libtest_rpath.so
actual-out> -- Set runtime path of "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/libtest_rpath.so" to "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_postexcluded:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath:$ORIGIN/rpath_origin_postexcluded:${ORIGIN}/rpath_origin:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/conflict"
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/libtest_runpath.so
actual-out> -- Set runtime path of "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/libtest_runpath.so" to "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath/../rpath:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_postexcluded:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath:${ORIGIN}/runpath_origin_postexcluded:$ORIGIN/runpath_origin:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/conflict2"
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/bin/topexe
actual-out> -- Set runtime path of "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/bin/topexe" to "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent_postexcluded:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_parent_unresolved"
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/libtoplib.so
actual-out> -- Set runtime path of "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/libtoplib.so" to "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent_postexcluded:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_parent_unresolved"
actual-out> -- Installing: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/modules/libtopmod.so
actual-out> -- Set runtime path of "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/modules/libtopmod.so" to "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent_postexcluded:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_parent:/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_parent_unresolved"
Actual stderr:
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librpath_search_postexcluded.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search_postexcluded
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:642 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librpath_search.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:642 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librunpath_search_postexcluded.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search_postexcluded
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:642 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librunpath_search.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:642 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librpath_search_postexcluded.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search_postexcluded
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:648 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librpath_search.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:648 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librunpath_search_postexcluded.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search_postexcluded
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:648 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librunpath_search.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:648 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librpath_search_postexcluded.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search_postexcluded
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:654 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librpath_search.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/rpath_search
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:654 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librunpath_search_postexcluded.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search_postexcluded
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:654 (exec_get_runtime_dependencies)
actual-err>
actual-err>
actual-err> CMake Warning at cmake_install.cmake:612 (file):
actual-err> Dependency librunpath_search.so found in search directory:
actual-err>
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/runpath_search
actual-err>
actual-err> See file(GET_RUNTIME_DEPENDENCIES) documentation for more information.
actual-err> Call Stack (most recent call first):
actual-err> cmake_install.cmake:654 (exec_get_runtime_dependencies)
Call Stack (most recent call first):
RunCMake.cmake:215 (run_cmake)
file-GET_RUNTIME_DEPENDENCIES/RunCMakeTest.cmake:14 (run_cmake_command)
file-GET_RUNTIME_DEPENDENCIES/RunCMakeTest.cmake:65 (run_install_test)
-- file-filter - PASSED
-- file-filter-build - PASSED
-- file-filter-all - PASSED
-- linux-unresolved - PASSED
-- linux-unresolved-build - PASSED
-- linux-unresolved-all - PASSED
-- linux-conflict - PASSED
-- linux-conflict-build - PASSED
-- linux-conflict-all - PASSED
-- linux-notfile - PASSED
-- linux-notfile-build - PASSED
-- linux-notfile-all - PASSED
-- project - PASSED
-- badargs1 - PASSED
-- badargs2 - PASSED
-- variable-propagation - PASSED
-- variable-propagation-build - PASSED
-- variable-propagation-all - PASSED
Start 579: RunCMake.PrecompileHeaders
2/2 Test #579: RunCMake.PrecompileHeaders ...............***Failed 10.40 sec
-- DisabledPch - PASSED
-- PchDebugGenex - PASSED
-- PchInterface - PASSED
CMake Error at RunCMake.cmake:201 (message):
PchInterface-build - FAILED:
stderr does not match that expected.
Command was:
command> "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/bin/cmake" "--build" "." "--config" "Debug"
Actual stdout:
actual-out> [ 16%] Building C object CMakeFiles/foo.dir/cmake_pch.h.gch
actual-out> [ 33%] Building C object CMakeFiles/foo.dir/foo.c.o
actual-out> [ 50%] Linking C static library libfoo.a
actual-out> [ 50%] Built target foo
actual-out> [ 66%] Building C object CMakeFiles/foobar.dir/cmake_pch.h.gch
actual-out> [ 83%] Building C object CMakeFiles/foobar.dir/foobar.c.o
actual-out> [100%] Linking C executable foobar
actual-out> [100%] Built target foobar
Expected stderr to match:
expect-err> ^$
Actual stderr:
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchInterface-build/CMakeFiles/foo.dir/cmake_pch.h.gch: had text segment at different address
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchInterface-build/CMakeFiles/foobar.dir/cmake_pch.h.gch: had text segment at different address
Call Stack (most recent call first):
RunCMake.cmake:215 (run_cmake)
PrecompileHeaders/RunCMakeTest.cmake:8 (run_cmake_command)
PrecompileHeaders/RunCMakeTest.cmake:14 (run_test)
-- PchInterface-test - PASSED
-- PchPrologueEpilogue - PASSED
-- SkipPrecompileHeaders - PASSED
CMake Error at RunCMake.cmake:201 (message):
SkipPrecompileHeaders-build - FAILED:
stderr does not match that expected.
Command was:
command> "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/bin/cmake" "--build" "." "--config" "Debug"
Actual stdout:
actual-out> [ 25%] Building CXX object CMakeFiles/pch-test.dir/cmake_pch.hxx.gch
actual-out> [ 50%] Building CXX object CMakeFiles/pch-test.dir/main.cpp.o
actual-out> [ 75%] Building CXX object CMakeFiles/pch-test.dir/non-pch.cpp.o
actual-out> [100%] Linking CXX executable pch-test
actual-out> [100%] Built target pch-test
Expected stderr to match:
expect-err> ^$
Actual stderr:
actual-err> cc1plus: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/SkipPrecompileHeaders-build/CMakeFiles/pch-test.dir/cmake_pch.hxx.gch: had text segment at different address
Call Stack (most recent call first):
RunCMake.cmake:215 (run_cmake)
PrecompileHeaders/RunCMakeTest.cmake:8 (run_cmake_command)
PrecompileHeaders/RunCMakeTest.cmake:16 (run_test)
-- SkipPrecompileHeaders-test - PASSED
-- CXXnotC - PASSED
CMake Error at RunCMake.cmake:201 (message):
CXXnotC-build - FAILED:
stderr does not match that expected.
Command was:
command> "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/bin/cmake" "--build" "." "--config" "Debug"
Actual stdout:
actual-out> [ 25%] Building CXX object CMakeFiles/main.dir/cmake_pch.hxx.gch
actual-out> [ 50%] Building C object CMakeFiles/main.dir/no_pch.c.o
actual-out> [ 75%] Building CXX object CMakeFiles/main.dir/use_pch.cxx.o
actual-out> [100%] Linking CXX executable main
actual-out> [100%] Built target main
Expected stderr to match:
expect-err> ^$
Actual stderr:
actual-err> cc1plus: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/CXXnotC-build/CMakeFiles/main.dir/cmake_pch.hxx.gch: had text segment at different address
Call Stack (most recent call first):
RunCMake.cmake:215 (run_cmake)
PrecompileHeaders/RunCMakeTest.cmake:8 (run_cmake_command)
PrecompileHeaders/RunCMakeTest.cmake:17 (run_test)
-- CXXnotC-test - PASSED
-- PchReuseFrom - PASSED
CMake Error at RunCMake.cmake:201 (message):
PchReuseFrom-build - FAILED:
stderr does not match that expected.
Command was:
command> "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/bin/cmake" "--build" "." "--config" "Debug"
Actual stdout:
actual-out> [ 14%] Building C object CMakeFiles/empty.dir/cmake_pch.h.gch
actual-out> [ 28%] Building C object CMakeFiles/empty.dir/empty.c.o
actual-out> [ 42%] Linking C static library libempty.a
actual-out> [ 42%] Built target empty
actual-out> [ 57%] Building C object CMakeFiles/foo.dir/foo.c.o
actual-out> [ 71%] Linking C static library libfoo.a
actual-out> [ 71%] Built target foo
actual-out> [ 85%] Building C object CMakeFiles/foobar.dir/foobar.c.o
actual-out> [100%] Linking C executable foobar
actual-out> [100%] Built target foobar
Expected stderr to match:
expect-err> ^$
Actual stderr:
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchReuseFrom-build/CMakeFiles/empty.dir/cmake_pch.h.gch: had text segment at different address
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchReuseFrom-build/CMakeFiles/empty.dir/cmake_pch.h.gch: had text segment at different address
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchReuseFrom-build/CMakeFiles/empty.dir/cmake_pch.h.gch: had text segment at different address
Call Stack (most recent call first):
RunCMake.cmake:215 (run_cmake)
PrecompileHeaders/RunCMakeTest.cmake:8 (run_cmake_command)
PrecompileHeaders/RunCMakeTest.cmake:18 (run_test)
-- PchReuseFrom-test - PASSED
-- PchReuseFromPrefixed - PASSED
CMake Error at RunCMake.cmake:201 (message):
PchReuseFromPrefixed-build - FAILED:
stderr does not match that expected.
Command was:
command> "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/bin/cmake" "--build" "." "--config" "Debug"
Actual stdout:
actual-out> [ 14%] Building C object CMakeFiles/empty.dir/cmake_pch.h.gch
actual-out> [ 28%] Building C object CMakeFiles/empty.dir/empty.c.o
actual-out> [ 42%] Linking C static library libempty.a
actual-out> [ 42%] Built target empty
actual-out> [ 57%] Building C object CMakeFiles/foo.dir/foo.c.o
actual-out> [ 71%] Linking C static library libfoo.a
actual-out> [ 71%] Built target foo
actual-out> [ 85%] Building C object CMakeFiles/foobar.dir/foobar.c.o
actual-out> [100%] Linking C executable foobar
actual-out> [100%] Built target foobar
Expected stderr to match:
expect-err> ^(|Warning #670: precompiled header file [^
expect-err> ]* was not generated in this directory)$
Actual stderr:
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchReuseFromPrefixed-build/CMakeFiles/empty.dir/cmake_pch.h.gch: had text segment at different address
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchReuseFromPrefixed-build/CMakeFiles/empty.dir/cmake_pch.h.gch: had text segment at different address
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchReuseFromPrefixed-build/CMakeFiles/empty.dir/cmake_pch.h.gch: had text segment at different address
Call Stack (most recent call first):
RunCMake.cmake:215 (run_cmake)
PrecompileHeaders/RunCMakeTest.cmake:8 (run_cmake_command)
PrecompileHeaders/RunCMakeTest.cmake:19 (run_test)
-- PchReuseFromPrefixed-test - PASSED
-- PchReuseFromSubdir - PASSED
CMake Error at RunCMake.cmake:201 (message):
PchReuseFromSubdir-build - FAILED:
stderr does not match that expected.
Command was:
command> "/tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/bin/cmake" "--build" "." "--config" "Debug"
Actual stdout:
actual-out> [ 14%] Building C object CMakeFiles/empty.dir/cmake_pch.h.gch
actual-out> [ 28%] Building C object CMakeFiles/empty.dir/empty.c.o
actual-out> [ 42%] Linking C static library libempty.a
actual-out> [ 42%] Built target empty
actual-out> [ 57%] Building C object CMakeFiles/foo.dir/foo.c.o
actual-out> [ 71%] Linking C static library libfoo.a
actual-out> [ 71%] Built target foo
actual-out> [ 85%] Building C object subdir/CMakeFiles/foobar.dir/__/foobar.c.o
actual-out> [100%] Linking C executable foobar
actual-out> [100%] Built target foobar
Expected stderr to match:
expect-err> ^(|Warning #670: precompiled header file [^
expect-err> ]* was not generated in this directory)$
Actual stderr:
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir-build/CMakeFiles/empty.dir/cmake_pch.h.gch: had text segment at different address
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir-build/CMakeFiles/empty.dir/cmake_pch.h.gch: had text segment at different address
actual-err> cc1: warning: /tmp/root/spack-stage/spack-stage-cmake-3.21.1-ao4ozzqxrkdj3sl5lkjbbkp3udy6han4/spack-src/Tests/RunCMake/PrecompileHeaders/PchReuseFromSubdir-build/CMakeFiles/empty.dir/cmake_pch.h.gch: had text segment at different address
Call Stack (most recent call first):
RunCMake.cmake:215 (run_cmake)
PrecompileHeaders/RunCMakeTest.cmake:8 (run_cmake_command)
PrecompileHeaders/RunCMakeTest.cmake:20 (run_test)
-- PchReuseFromSubdir-test - PASSED
-- PchMultilanguage - PASSED
-- PchWarnInvalid - PASSED
-- PchReuseFromObjLib - PASSED
-- PchReuseFromObjLib-build - PASSED
-- PchReuseFromObjLib-test - PASSED
0% tests passed, 2 tests failed out of 2
Label Time Summary:
CMake = 18.18 sec*proc (2 tests)
run = 18.18 sec*proc (2 tests)
Total Test time (real) = 18.22 sec
The following tests FAILED:
526 - RunCMake.file-GET_RUNTIME_DEPENDENCIES (Failed)
579 - RunCMake.PrecompileHeaders (Failed)
Errors while running CTest
Can you tell me how to fix it?