From 4a3b57af1d79e7eaaa52426552b614b67d84101e Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Tue, 13 May 2025 19:09:33 +0800 Subject: [PATCH] skip test udp multicast join on loongarch64 --- ...st-udp-multicast-join-on-loongarch64.patch | 39 +++++++++++++++++++ libuv.spec | 7 +++- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 0004-skip-test-udp-multicast-join-on-loongarch64.patch diff --git a/0004-skip-test-udp-multicast-join-on-loongarch64.patch b/0004-skip-test-udp-multicast-join-on-loongarch64.patch new file mode 100644 index 0000000..629d280 --- /dev/null +++ b/0004-skip-test-udp-multicast-join-on-loongarch64.patch @@ -0,0 +1,39 @@ +From fda162a1be60ab662bce73fbec8b7df28cd1fc29 Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Tue, 13 May 2025 18:46:43 +0800 +Subject: [PATCH] skip test udp multicast join on loongarch64 + +--- + test/test-udp-multicast-join.c | 2 ++ + test/test-udp-multicast-join6.c | 3 +++ + 2 files changed, 5 insertions(+) + +diff --git a/test/test-udp-multicast-join.c b/test/test-udp-multicast-join.c +index 7e8fbe3..633d23e 100644 +--- a/test/test-udp-multicast-join.c ++++ b/test/test-udp-multicast-join.c +@@ -140,6 +140,8 @@ static void cl_recv_cb(uv_udp_t* handle, + TEST_IMPL(udp_multicast_join) { + #if defined(__OpenBSD__) + RETURN_SKIP("Test does not currently work in OpenBSD"); ++#elif defined(__loongarch64) ++ RETURN_SKIP("Test does not currently work on loongarch64"); + #endif + int r; + struct sockaddr_in addr; +diff --git a/test/test-udp-multicast-join6.c b/test/test-udp-multicast-join6.c +index 11efb0a..9f7b11a 100644 +--- a/test/test-udp-multicast-join6.c ++++ b/test/test-udp-multicast-join6.c +@@ -166,6 +166,9 @@ static int can_ipv6_external(void) { + + + TEST_IMPL(udp_multicast_join6) { ++#if defined(__loongarch64) ++ RETURN_SKIP("Test does not currently work on loongarch64"); ++#endif + int r; + struct sockaddr_in6 addr; + +-- +2.43.0 diff --git a/libuv.spec b/libuv.spec index a786aea..fa7a011 100644 --- a/libuv.spec +++ b/libuv.spec @@ -1,7 +1,7 @@ Name: libuv Epoch: 1 Version: 1.47.0 -Release: 2 +Release: 3 Summary: A multi-platform support library with a focus on asynchronous I/O # from README.md @@ -23,6 +23,8 @@ Patch2: 0002-test-check-if-ipv6-link-local-traffic-is-routable.patch # https://github.com/libuv/libuv/pull/4227 Patch3: 0003-test_fs.c-Fix-issue-on-32-bit-systems-using-btrfs.patch +Patch4: 0004-skip-test-udp-multicast-join-on-loongarch64.patch + Patch6000: backport-0001-CVE-2024-24806.patch Patch6001: backport-0002-CVE-2024-24806.patch Patch6002: backport-0003-CVE-2024-24806.patch @@ -81,6 +83,9 @@ make check %doc ChangeLog %changelog +* Tue May 13 2025 Wenlong Zhang - 1:1.47.0-3 +- skip test udp multicast join on loongarch64 + * Sun Feb 18 2024 shixuantong - 1:1.47.0-2 - fix CVE-2024-24806 -- Gitee