CMake test suite failed on openEuler_aarch64 about cmake@3.20.5
After compiling cmake, I encountered some test failures in openEuler_aarch64, as follows:
[root@centos8 spack-src]# /home/spack/spack/opt/spack/linux-centos8-aarch64/gcc-8.4.1/cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/bin/ctest --rerun-failed --output-on-failure
Test project /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src
Guessing configuration NoConfig
Start 130: CPackComponentsForAll-RPM-IgnoreGroup
1/3 Test #130: CPackComponentsForAll-RPM-IgnoreGroup ...***Failed 1.77 sec
Generate graphviz: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/CPackComponentsForAll.dot
Internal cmake changing into directory: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup
======== CMake output ======
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
Configuring done
Generating done
Build files have been written to: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup
======== End CMake output ======
Change Dir: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup
Run Clean Command:/usr/bin/gmake -f Makefile clean
Run Build Command(s):/usr/bin/gmake -f Makefile && [ 16%] Building CXX object CMakeFiles/mylib.dir/mylib.cpp.o
[ 33%] Linking CXX static library libmylib.a
[ 33%] Built target mylib
[ 50%] Building CXX object CMakeFiles/mylibapp.dir/mylibapp.cpp.o
[ 66%] Linking CXX executable mylibapp
[ 66%] Built target mylibapp
[ 83%] Building CXX object CMakeFiles/mylibapp2.dir/mylibapp.cpp.o
[100%] Linking CXX executable mylibapp2
[100%] Built target mylibapp2
Running test command: "/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/bin/cmake" "-DCPackComponentsForAll_BINARY_DIR:PATH=/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup" "-DCPackGen=RPM" "-DCPackComponentWay=IgnoreGroup" "-P" "/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake"
Test command failed: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/bin/cmake
-- =============================================================================
-- CTEST_FULL_OUTPUT (Avoid ctest truncation of output)
--
CMAKE_CPACK_COMMAND = /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/bin/cpack
config_args = -C;NoConfig
config_verbose = -D;CPACK_RPM_PACKAGE_DEBUG=1
-- CPack_output=CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: CPackComponentsForAll
CPack: - Install project: CPackComponentsForAll [NoConfig]
CPack: - Install component: applications
CPack: - Install component: libraries
CPack: - Install component: headers
CPack: - Install component: Unspecified
CPack: Create package
CPack: - package: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-Unspecified.rpm generated.
CPack: - package: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-headers.rpm generated.
CPack: - package: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-libraries.rpm generated.
-- expected_count='4'
-- expected_file='/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-Unspecified.rpm;/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-headers.rpm;/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-libraries.rpm'
-- expected_file_mask='/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-*.rpm'
-- actual_count='3'
CMake Error at /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake:141 (message):
error: expected_count=4 does not match actual_count=3: CPackComponents test
fails. (CPack_output=CPack: Create package using RPM
CPack: Install projects
CPack: - Run preinstall target for: CPackComponentsForAll
CPack: - Install project: CPackComponentsForAll [NoConfig]
CPack: - Install component: applications
CPack: - Install component: libraries
CPack: - Install component: headers
CPack: - Install component: Unspecified
CPack: Create package
CPack: - package:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-Unspecified.rpm
generated.
CPack: - package:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-headers.rpm
generated.
CPack: - package:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux-libraries.rpm
generated.
, CPack_error=CPackRPM:Debug: rpmbuild version is <4.14.3>
CPackRPM:Debug: LSB_RELEASE = lsb_release not installed/found!
CPackRPM:Debug: using component build arch = aarch64
CPackRPM:Debug: Trying to build a relocatable package
CPackRPM:Debug: removing '/usr/foo/bar' from relocation paths
CPackRPM:Debug: processing URL
CPackRPM:Debug: processing REQUIRES
CPackRPM:Debug: processing SUGGESTS
CPackRPM:Debug: processing PROVIDES
CPackRPM:Debug: processing OBSOLETES
CPackRPM:Debug: processing PREFIX
CPackRPM:Debug: using CPACK_RPM_PACKAGE_PREFIX
CPackRPM:Debug: User defined Prefix:
/usr/foo/bar
CPackRPM:Debug: processing CONFLICTS
CPackRPM:Debug: processing AUTOPROV
CPackRPM:Debug: processing AUTOREQ
CPackRPM:Debug: processing AUTOREQPROV
CPackRPM:Debug: processing REQUIRES_PRE
CPackRPM:Debug: processing REQUIRES_POST
CPackRPM:Debug: processing REQUIRES_PREUN
CPackRPM:Debug: processing REQUIRES_POSTUN
CPackRPM:Debug: Using
CPACK_RPM_ROOTDIR=/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM
CPackRPM:Debug: Initial list of path to OMIT in RPM: /usr;/usr/foo
CPackRPM:Debug: CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST=
/etc;/etc/init.d;/usr;/usr/bin;/usr/include;/usr/lib;/usr/libx32;/usr/lib64;/usr/share;/usr/share/aclocal;/usr/share/doc
CPackRPM:Debug: Final list of path to OMIT in RPM:
/usr;/usr/foo;/etc;/etc/init.d;/usr;/usr/bin;/usr/include;/usr/lib;/usr/libx32;/usr/lib64;/usr/share;/usr/share/aclocal;/usr/share/doc
CPackRPM:Debug: CPACK_TOPLEVEL_DIRECTORY =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM
CPackRPM:Debug: CPACK_TOPLEVEL_TAG = Linux
CPackRPM:Debug: CPACK_TEMPORARY_DIRECTORY =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
CPackRPM:Debug: CPACK_OUTPUT_FILE_NAME = MyLib-1.0.2-Linux-Unspecified.rpm
CPackRPM:Debug: CPACK_OUTPUT_FILE_PATH =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux.rpm
CPackRPM:Debug: CPACK_PACKAGE_FILE_NAME = MyLib-1.0.2-Linux
CPackRPM:Debug: CPACK_RPM_BINARY_SPECFILE =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/SPECS/mylib-Unspecified.spec
CPackRPM:Debug: CPACK_PACKAGE_INSTALL_DIRECTORY = CPack Component Example
CPackRPM:Debug: CPACK_TEMPORARY_PACKAGE_FILE_NAME =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux-Unspecified.rpm
CPackRPM: Will use GENERATED spec file:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/SPECS/mylib-Unspecified.spec
CPackRPM:Debug: You may consult rpmbuild logs in:
CPackRPM:Debug: -
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/rpmbuildmylib-Unspecified.err
CPackRPM:Debug: *** + umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ mv
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/tmpBBroot
+ exit 0
+ umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ '['
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
'!=' / ']'
+ rm -rf
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
++ dirname
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
+ mkdir -p
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux
+ mkdir
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
+ '[' -e
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
']'
+ rm -rf
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
+ mv
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/tmpBBroot
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened:
/etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile '' 1
+ /usr/lib/rpm/brp-python-hardlink
+ PYTHON3=/usr/libexec/platform-python
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
warning: Ignoring invalid regex
^%{_scl_prefix}/.*|%{_root_sysconfdir}/rpm/macros.gcc-toolset-9-config$
warning: Ignoring invalid regex
^%{_root_sysconfdir}/rpm/macros.gcc-toolset-9-config$
+ umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ exit 0
***
CPackRPM:Debug: -
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/rpmbuildmylib-Unspecified.out
CPackRPM:Debug: *** Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sJ1FjE
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CiFj36
Processing files: mylib-Unspecified-1.0.2-1.aarch64
Provides: mylib-Unspecified = 1.0.2-1 mylib-Unspecified(aarch-64) = 1.0.2-1
Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires(pretrans): /bin/sh
Requires(posttrans): /bin/sh
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit)
libgcc_s.so.1()(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit)
rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/Unspecified
Wrote:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-Unspecified.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MfblYM
***
CPackRPM:Debug: GEN_CPACK_OUTPUT_FILES =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-Unspecified.rpm
CPackRPM:Debug: rpmbuild version is <4.14.3>
CPackRPM:Debug: LSB_RELEASE = lsb_release not installed/found!
CPackRPM:Debug: using component build arch = armv7hf
CPackRPM:Debug: Trying to build a relocatable package
CPackRPM:Debug: removing '/usr/foo/bar' from relocation paths
CPackRPM:Debug: processing URL
CPackRPM:Debug: processing REQUIRES
CPackRPM:Debug: using CPACK_RPM_PACKAGE_REQUIRES
CPackRPM:Debug: User defined Requires:
mylib-libraries
CPackRPM:Debug: processing SUGGESTS
CPackRPM:Debug: processing PROVIDES
CPackRPM:Debug: processing OBSOLETES
CPackRPM:Debug: processing PREFIX
CPackRPM:Debug: using CPACK_RPM_PACKAGE_PREFIX
CPackRPM:Debug: User defined Prefix:
/usr/foo/bar
CPackRPM:Debug: processing CONFLICTS
CPackRPM:Debug: processing AUTOPROV
CPackRPM:Debug: processing AUTOREQ
CPackRPM:Debug: processing AUTOREQPROV
CPackRPM:Debug: processing REQUIRES_PRE
CPackRPM:Debug: processing REQUIRES_POST
CPackRPM:Debug: processing REQUIRES_PREUN
CPackRPM:Debug: processing REQUIRES_POSTUN
CPackRPM:Debug: Using
CPACK_RPM_ROOTDIR=/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM
CPackRPM:Debug: Initial list of path to OMIT in RPM: /usr;/usr/foo
CPackRPM:Debug: CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST=
/etc;/etc/init.d;/usr;/usr/bin;/usr/include;/usr/lib;/usr/libx32;/usr/lib64;/usr/share;/usr/share/aclocal;/usr/share/doc
CPackRPM:Debug: Final list of path to OMIT in RPM:
/usr;/usr/foo;/etc;/etc/init.d;/usr;/usr/bin;/usr/include;/usr/lib;/usr/libx32;/usr/lib64;/usr/share;/usr/share/aclocal;/usr/share/doc
CPackRPM:Debug: CPACK_TOPLEVEL_DIRECTORY =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM
CPackRPM:Debug: CPACK_TOPLEVEL_TAG = Linux
CPackRPM:Debug: CPACK_TEMPORARY_DIRECTORY =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/applications
CPackRPM:Debug: CPACK_OUTPUT_FILE_NAME = MyLib-1.0.2-Linux-applications.rpm
CPackRPM:Debug: CPACK_OUTPUT_FILE_PATH =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux.rpm
CPackRPM:Debug: CPACK_PACKAGE_FILE_NAME = MyLib-1.0.2-Linux
CPackRPM:Debug: CPACK_RPM_BINARY_SPECFILE =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/SPECS/mylib-applications.spec
CPackRPM:Debug: CPACK_PACKAGE_INSTALL_DIRECTORY = CPack Component Example
CPackRPM:Debug: CPACK_TEMPORARY_PACKAGE_FILE_NAME =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux-applications.rpm
CPackRPM: Will use GENERATED spec file:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/SPECS/mylib-applications.spec
CPackRPM:Debug: You may consult rpmbuild logs in:
CPackRPM:Debug: -
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/rpmbuildmylib-applications.err
CPackRPM:Debug: *** + umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ mv
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/applications
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/tmpBBroot
+ exit 0
+ umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ '['
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/applications
'!=' / ']'
+ rm -rf
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/applications
++ dirname
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/applications
+ mkdir -p
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux
+ mkdir
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/applications
+ '[' -e
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/applications
']'
+ rm -rf
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/applications
+ mv
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/tmpBBroot
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/applications
+ /usr/lib/rpm/check-buildroot
xargs: invalid number for -P option
Usage: xargs [OPTION]... COMMAND [INITIAL-ARGS]...
Run COMMAND with arguments INITIAL-ARGS and more arguments read from input.
……
Report bugs to <bug-findutils@gnu.org>.
error: Bad exit status from /var/tmp/rpm-tmp.kfuSYF (%install)
Bad exit status from /var/tmp/rpm-tmp.kfuSYF (%install)
***
CPackRPM:Debug: -
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/rpmbuildmylib-applications.out
CPackRPM:Debug: *** Building target platforms: armv7hf
Building for target armv7hf
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aKg93S
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kfuSYF
RPM build errors:
***
CPackRPM:Debug: GEN_CPACK_OUTPUT_FILES =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-Unspecified.rpm
CPackRPM:Debug: rpmbuild version is <4.14.3>
CPackRPM:Debug: LSB_RELEASE = lsb_release not installed/found!
CPackRPM:Debug: using component build arch = noarch
CPackRPM:Debug: Trying to build a relocatable package
CPackRPM:Debug: removing '/usr/foo/bar' from relocation paths
CPackRPM:Debug: processing URL
CPackRPM:Debug: processing REQUIRES
CPackRPM:Debug: processing SUGGESTS
CPackRPM:Debug: processing PROVIDES
CPackRPM:Debug: processing OBSOLETES
CPackRPM:Debug: processing PREFIX
CPackRPM:Debug: using CPACK_RPM_PACKAGE_PREFIX
CPackRPM:Debug: User defined Prefix:
/usr/foo/bar
CPackRPM:Debug: processing CONFLICTS
CPackRPM:Debug: processing AUTOPROV
CPackRPM:Debug: processing AUTOREQ
CPackRPM:Debug: processing AUTOREQPROV
CPackRPM:Debug: processing REQUIRES_PRE
CPackRPM:Debug: processing REQUIRES_POST
CPackRPM:Debug: processing REQUIRES_PREUN
CPackRPM:Debug: processing REQUIRES_POSTUN
CPackRPM:Debug: Using
CPACK_RPM_ROOTDIR=/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM
CPackRPM:Debug: Initial list of path to OMIT in RPM: /usr;/usr/foo
CPackRPM:Debug: CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST=
/etc;/etc/init.d;/usr;/usr/bin;/usr/include;/usr/lib;/usr/libx32;/usr/lib64;/usr/share;/usr/share/aclocal;/usr/share/doc
CPackRPM:Debug: Final list of path to OMIT in RPM:
/usr;/usr/foo;/etc;/etc/init.d;/usr;/usr/bin;/usr/include;/usr/lib;/usr/libx32;/usr/lib64;/usr/share;/usr/share/aclocal;/usr/share/doc
CPackRPM:Debug: CPACK_TOPLEVEL_DIRECTORY =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM
CPackRPM:Debug: CPACK_TOPLEVEL_TAG = Linux
CPackRPM:Debug: CPACK_TEMPORARY_DIRECTORY =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
CPackRPM:Debug: CPACK_OUTPUT_FILE_NAME = MyLib-1.0.2-Linux-headers.rpm
CPackRPM:Debug: CPACK_OUTPUT_FILE_PATH =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux.rpm
CPackRPM:Debug: CPACK_PACKAGE_FILE_NAME = MyLib-1.0.2-Linux
CPackRPM:Debug: CPACK_RPM_BINARY_SPECFILE =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/SPECS/mylib-headers.spec
CPackRPM:Debug: CPACK_PACKAGE_INSTALL_DIRECTORY = CPack Component Example
CPackRPM:Debug: CPACK_TEMPORARY_PACKAGE_FILE_NAME =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux-headers.rpm
CPackRPM: Will use GENERATED spec file:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/SPECS/mylib-headers.spec
CPackRPM:Debug: You may consult rpmbuild logs in:
CPackRPM:Debug: -
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/rpmbuildmylib-headers.err
CPackRPM:Debug: *** + umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ mv
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/tmpBBroot
+ exit 0
+ umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ '['
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
'!=' / ']'
+ rm -rf
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
++ dirname
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
+ mkdir -p
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux
+ mkdir
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
+ '[' -e
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
']'
+ rm -rf
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
+ mv
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/tmpBBroot
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened:
/etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile '' 1
+ /usr/lib/rpm/brp-python-hardlink
+ PYTHON3=/usr/libexec/platform-python
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
warning: Ignoring invalid regex
^%{_scl_prefix}/.*|%{_root_sysconfdir}/rpm/macros.gcc-toolset-9-config$
warning: Ignoring invalid regex
^%{_root_sysconfdir}/rpm/macros.gcc-toolset-9-config$
+ umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ exit 0
***
CPackRPM:Debug: -
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/rpmbuildmylib-headers.out
CPackRPM:Debug: *** Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ED5K2a
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mSxUHb
Processing files: mylib-headers-1.0.2-1.noarch
Provides: mylib-headers = 1.0.2-1
Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires(pretrans): /bin/sh
Requires(posttrans): /bin/sh
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/headers
Wrote:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-headers.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.B52rud
***
CPackRPM:Debug: GEN_CPACK_OUTPUT_FILES =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-Unspecified.rpm;/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-headers.rpm
CPackRPM:Debug: rpmbuild version is <4.14.3>
CPackRPM:Debug: LSB_RELEASE = lsb_release not installed/found!
CPackRPM:Debug: using component build arch = aarch64
CPackRPM:Debug: Trying to build a relocatable package
CPackRPM:Debug: processing URL
CPackRPM:Debug: processing REQUIRES
CPackRPM:Debug: processing SUGGESTS
CPackRPM:Debug: processing PROVIDES
CPackRPM:Debug: processing OBSOLETES
CPackRPM:Debug: processing PREFIX
CPackRPM:Debug: using CPACK_RPM_PACKAGE_PREFIX
CPackRPM:Debug: User defined Prefix:
/usr/foo/bar
CPackRPM:Debug: processing CONFLICTS
CPackRPM:Debug: processing AUTOPROV
CPackRPM:Debug: processing AUTOREQ
CPackRPM:Debug: processing AUTOREQPROV
CPackRPM:Debug: processing REQUIRES_PRE
CPackRPM:Debug: processing REQUIRES_POST
CPackRPM:Debug: processing REQUIRES_PREUN
CPackRPM:Debug: processing REQUIRES_POSTUN
CPackRPM:Debug: Using
CPACK_RPM_ROOTDIR=/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM
CPackRPM:Debug: Initial list of path to OMIT in RPM:
/usr;/usr/foo;/usr/foo/bar;/usr;/usr/foo;/usr/foo/bar
CPackRPM:Debug: CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST=
/etc;/etc/init.d;/usr;/usr/bin;/usr/include;/usr/lib;/usr/libx32;/usr/lib64;/usr/share;/usr/share/aclocal;/usr/share/doc
CPackRPM:Debug: Final list of path to OMIT in RPM:
/usr;/usr/foo;/usr/foo/bar;/usr;/usr/foo;/usr/foo/bar;/etc;/etc/init.d;/usr;/usr/bin;/usr/include;/usr/lib;/usr/libx32;/usr/lib64;/usr/share;/usr/share/aclocal;/usr/share/doc
CMake Warning (dev) at
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Modules/Internal/CPack/CPackRPM.cmake:509
(message):
CPackRPM:Warning: Symbolic link
'/usr/foo/bar/lib64/inside_relocatable_one/depth_two/symlink_outside_wdr'
points to location that is outside packaging path! Link will possibly not
be relocatable.
Call Stack (most recent call first):
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Modules/Internal/CPack/CPackRPM.cmake:1422 (cpack_rpm_prepare_install_files)
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Modules/Internal/CPack/CPackRPM.cmake:1887 (cpack_rpm_generate_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CPackRPM:Debug: CPACK_TOPLEVEL_DIRECTORY =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM
CPackRPM:Debug: CPACK_TOPLEVEL_TAG = Linux
CPackRPM:Debug: CPACK_TEMPORARY_DIRECTORY =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
CPackRPM:Debug: CPACK_OUTPUT_FILE_NAME = MyLib-1.0.2-Linux-libraries.rpm
CPackRPM:Debug: CPACK_OUTPUT_FILE_PATH =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/MyLib-1.0.2-Linux.rpm
CPackRPM:Debug: CPACK_PACKAGE_FILE_NAME = MyLib-1.0.2-Linux
CPackRPM:Debug: CPACK_RPM_BINARY_SPECFILE =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/SPECS/mylib-libraries.spec
CPackRPM:Debug: CPACK_PACKAGE_INSTALL_DIRECTORY = CPack Component Example
CPackRPM:Debug: CPACK_TEMPORARY_PACKAGE_FILE_NAME =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux-libraries.rpm
CPackRPM: Will use GENERATED spec file:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/SPECS/mylib-libraries.spec
CPackRPM:Debug: You may consult rpmbuild logs in:
CPackRPM:Debug: -
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/rpmbuildmylib-libraries.err
CPackRPM:Debug: *** + umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ mv
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/tmpBBroot
+ exit 0
+ umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ '['
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
'!=' / ']'
+ rm -rf
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
++ dirname
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
+ mkdir -p
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux
+ mkdir
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
+ '[' -e
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
']'
+ rm -rf
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
+ mv
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/tmpBBroot
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened:
/etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile '' 1
+ /usr/lib/rpm/brp-python-hardlink
+ PYTHON3=/usr/libexec/platform-python
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
warning: Ignoring invalid regex
^%{_scl_prefix}/.*|%{_root_sysconfdir}/rpm/macros.gcc-toolset-9-config$
warning: Ignoring invalid regex
^%{_root_sysconfdir}/rpm/macros.gcc-toolset-9-config$
+ umask 022
+ cd
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/BUILD
+ exit 0
***
CPackRPM:Debug: -
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/rpmbuildmylib-libraries.out
CPackRPM:Debug: *** Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AhJI3m
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QVNxIz
Processing files: mylib-libraries-1.0.2-1.aarch64
Provides: mylib-libraries = 1.0.2-1 mylib-libraries(aarch-64) = 1.0.2-1
Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires(postun): /bin/sh
Requires(pretrans): /bin/sh
Requires(posttrans): /bin/sh
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/MyLib-1.0.2-Linux/libraries
Wrote:
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-libraries.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SOJMhW
***
CPackRPM:Debug: GEN_CPACK_OUTPUT_FILES =
/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-Unspecified.rpm;/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-headers.rpm;/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/CPackComponentsForAll/buildRPM-IgnoreGroup/_CPack_Packages/Linux/RPM/RPMS/MyLib-1.0.2-Linux-libraries.rpm
)
Start 541: RunCMake.CPack_RPM.DEBUGINFO
2/3 Test #541: RunCMake.CPack_RPM.DEBUGINFO ............***Failed 2.30 sec
-- DEBUGINFO-COMPONENT-type - PASSED
-- DEBUGINFO-COMPONENT-type-Build - PASSED
CMake Error at RunCMake.cmake:201 (message):
RPM/DEBUGINFO-COMPONENT-type - FAILED:
stderr does not match that expected.
Command was:
command> "/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/bin/cmake" "-DRunCMake_TEST=DEBUGINFO-COMPONENT-type" "-DRunCMake_TEST_FILE_PREFIX=DEBUGINFO" "-DRunCMake_SUBTEST_SUFFIX=" "-DGENERATOR_TYPE=RPM" "-DPACKAGING_TYPE=COMPONENT" "-Dsrc_dir=/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/CPack" "-Dbin_dir=/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build" "-Dconfig_file=/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/CPack/conf/RPM.DEBUGINFO_config.cmake" "-P" "/tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/CPack/VerifyResult.cmake"
Actual stdout:
actual-out> -- CPack: Create package using RPM
actual-out> CPack: Install projects
actual-out> CPack: - Run preinstall target for: DEBUGINFO-COMPONENT-type
actual-out> CPack: - Install project: DEBUGINFO-COMPONENT-type [Debug]
actual-out> CPack: - Install component: appheaders
actual-out> CPack: - Install component: applications
actual-out> CPack: - Install component: headers
actual-out> CPack: - Install component: libs
actual-out> CPack: Create package
actual-out> CPack: - package: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/TestDinfo-pkg-headers.rpm generated.
actual-out> CPack: - package: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/Debuginfo-applications-0.1.1-1.aarch64.rpm generated.
actual-out> CPack: - package: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/Debuginfo-applications-debuginfo-0.1.1-1.aarch64.rpm generated.
actual-out> CPack: - package: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/TestDinfo-pkg-libs.rpm generated.
actual-out> CPack: - package: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/libs-DebugInfoPackage.rpm generated.
actual-out> CPack: - package: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/TestDinfo-pkg-appheaders.rpm generated.
Expected stderr to match:
expect-err> ^(CPackRPM: Will use GENERATED spec file: (/[^/]*)*/Tests/RunCMake/RPM\.[^/]*/CPack/[^-]*(-package-target)?-build((-[^-]*-subtest/)|/)_CPack_Packages/.*/RPM/SPECS/[^\.]*\.spec(\n|$))*$
Actual stderr:
actual-err> CMake Warning (dev) at /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Modules/Internal/CPack/CPackRPM.cmake:1414 (message):
actual-err> CPackRPM:Warning: debuginfo package was requested but will not be generated
actual-err> as no source files were found! Component: 'appheaders'.
actual-err> Call Stack (most recent call first):
actual-err> /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Modules/Internal/CPack/CPackRPM.cmake:1887 (cpack_rpm_generate_package)
actual-err> This warning is for project developers. Use -Wno-dev to suppress it.
actual-err>
actual-err> CPackRPM: Will use GENERATED spec file: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/_CPack_Packages/Linux/RPM/SPECS/Debuginfo-appheaders.spec
actual-err> CPackRPM: Will use GENERATED spec file: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/_CPack_Packages/Linux/RPM/SPECS/Debuginfo-applications.spec
actual-err> CPackRPM: Will use GENERATED spec file: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/_CPack_Packages/Linux/RPM/SPECS/Debuginfo-headers.spec
actual-err> CPackRPM: Will use GENERATED spec file: /tmp/root/spack-stage/spack-stage-cmake-3.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/spack-src/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/_CPack_Packages/Linux/RPM/SPECS/Debuginfo-libs.spec
Call Stack (most recent call first):
RunCMake.cmake:215 (run_cmake)
CPack/CPackTestHelpers.cmake:119 (run_cmake_command)
CPack/CPackTestHelpers.cmake:137 (run_cpack_test_common_)
CPack/RunCMakeTest.cmake:9 (run_cpack_test)
Start 570: RunCMake.PrecompileHeaders
3/3 Test #570: RunCMake.PrecompileHeaders ..............***Failed 8.45 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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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.20.5-w5ezrauj4iadf4dkzeu3q6tt35fi3cvx/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, 3 tests failed out of 3
Total Test time (real) = 12.57 sec
The following tests FAILED:
130 - CPackComponentsForAll-RPM-IgnoreGroup (Failed)
541 - RunCMake.CPack_RPM.DEBUGINFO (Failed)
570 - RunCMake.PrecompileHeaders (Failed)
Errors while running CTest
Can someone help fix it?