summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack
diff options
context:
space:
mode:
authormakise-homura <akemi_homura@kurisa.ch>2021-10-07 18:43:41 (GMT)
committermakise-homura <akemi_homura@kurisa.ch>2021-10-15 02:05:18 (GMT)
commit2b9ef77944cab3a330fa547dbe7e87aefd80b795 (patch)
tree09cee564599bbff2f193b6ec826809d5d2d75584 /Tests/RunCMake/CPack
parent0995c75301d2acd0ca47fadb5868f1c87da69eb7 (diff)
downloadCMake-2b9ef77944cab3a330fa547dbe7e87aefd80b795.zip
CMake-2b9ef77944cab3a330fa547dbe7e87aefd80b795.tar.gz
CMake-2b9ef77944cab3a330fa547dbe7e87aefd80b795.tar.bz2
CPack/DEB: deal with broken dpkg-shlibdeps on E2K architecture
"OS Elbrus" (OSL for short), a reference Linux distro for E2K (Elbrus) platform may have broken dpkg-shlibdeps, that doesn't specify dependencies correctly. In this case, the only reliable way is to explicitly set dependencies of libc6 and lcc-libs, and then warn user to let him know this list may be incomplete. This commit does that. This fix has no effect on correctly working dpkg-shlibdeps, so when this bug will be fixed in new versions of OSL, CPack will work as expected with these distros.
Diffstat (limited to 'Tests/RunCMake/CPack')
-rw-r--r--Tests/RunCMake/CPack/tests/DEPENDENCIES/DEB-stderr.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/CPack/tests/DEPENDENCIES/DEB-stderr.txt b/Tests/RunCMake/CPack/tests/DEPENDENCIES/DEB-stderr.txt
index 5df274a..df777ea 100644
--- a/Tests/RunCMake/CPack/tests/DEPENDENCIES/DEB-stderr.txt
+++ b/Tests/RunCMake/CPack/tests/DEPENDENCIES/DEB-stderr.txt
@@ -1 +1,2 @@
-^CPackDeb: ((- Generating dependency list)|(Using only user-provided dependencies because dpkg-shlibdeps is not found\.))$
+^CPackDeb: ((- Generating dependency list)(
+CMake Warning.*broken dpkg-shlibdeps on E2K detected.*\(cpack_deb_prepare_package_vars\))?|(Using only user-provided dependencies because dpkg-shlibdeps is not found\.))$