glibc/SOURCES/glibc-RHEL-88813.patch

32 lines
1.3 KiB
Diff

commit 268bb71e475d7e40fad83313be0eeb173e599c92
Author: Stefan Liebler <stli@linux.ibm.com>
Date: Fri Dec 14 09:50:53 2018 +0100
Add missing libnss_testX.so requirement for tst-nss-test3.
Sometimes tst-nss-test3 fails with:
error: test-container.c:386: unable to open .../nss/libnss_test1.so for reading
The test tst-nss-test3 which runs in a container needs
libnss_test[12].so. (see e.g. tst-nss-test3.script).
Before this test was moved from tests to tests-container variable,
the requirement was met. Thus this patch adds this requirement
also for tests in tests-container.
Conflicts:
ChangeLog
(removed)
diff -Nrup a/nss/Makefile b/nss/Makefile
--- a/nss/Makefile 2025-05-01 21:21:05.471995292 -0400
+++ b/nss/Makefile 2025-05-01 21:19:15.440411065 -0400
@@ -197,7 +197,7 @@ $(objpfx)/libnss_test_errno.so$(libnss_f
$(objpfx)/libnss_test_gai_hv2_canonname.so$(libnss_files.so-version): \
$(objpfx)/libnss_test_gai_hv2_canonname.so
$(make-link)
-$(patsubst %,$(objpfx)%.out,$(tests)) : \
+$(patsubst %,$(objpfx)%.out,$(tests) $(tests-container)) : \
$(objpfx)/libnss_test1.so$(libnss_test1.so-version) \
$(objpfx)/libnss_test2.so$(libnss_test2.so-version) \
$(objpfx)/libnss_test_errno.so$(libnss_files.so-version) \