diff --git a/fix_tests.patch b/fix_tests.patch index 72e91b2..f4aa0e8 100644 --- a/fix_tests.patch +++ b/fix_tests.patch @@ -1,22 +1,21 @@ ---- a/test/test-getnameinfo.c -+++ b/test/test-getnameinfo.c -@@ -39,6 +39,8 @@ static void getnameinfo_req(uv_getnamein - const char* hostname, - const char* service) { - ASSERT(handle != NULL); -+ if (status != 0) -+ fprintf(stderr, " status: %d\n", status); - ASSERT(status == 0); - ASSERT(hostname != NULL); - ASSERT(service != NULL); +diff --git a/test/test-list.h b/test/test-list.h +index a6cfc6b..eb514db 100644 --- a/test/test-list.h +++ b/test/test-list.h -@@ -792,7 +792,7 @@ TASK_LIST_START +@@ -678,8 +678,6 @@ TASK_LIST_START + TEST_ENTRY (udp_no_autobind) + TEST_ENTRY (udp_multicast_interface) + TEST_ENTRY (udp_multicast_interface6) +- TEST_ENTRY (udp_multicast_join) +- TEST_ENTRY (udp_multicast_join6) + TEST_ENTRY (udp_multicast_ttl) + TEST_ENTRY (udp_try_send) + +@@ -817,7 +815,6 @@ TASK_LIST_START TEST_ENTRY (getnameinfo_basic_ip4) TEST_ENTRY (getnameinfo_basic_ip4_sync) - TEST_ENTRY (getnameinfo_basic_ip6) -+// TEST_ENTRY (getnameinfo_basic_ip6) // broken on OBS because no network to resolve ::1 => hostname TEST_ENTRY (getsockname_tcp) TEST_ENTRY (getsockname_udp) diff --git a/fno-common-build-errs.patch b/fno-common-build-errs.patch deleted file mode 100644 index 267bb00..0000000 --- a/fno-common-build-errs.patch +++ /dev/null @@ -1,82 +0,0 @@ -From 35a43bdbfd9c4d6d875e92903799e693d5ac18ac Mon Sep 17 00:00:00 2001 -From: Ben Noordhuis -Date: Tue, 7 Jan 2020 15:21:03 +0100 -Subject: [PATCH 1/2] test: fix -fno-common build errors - -Fixes: https://github.com/libuv/libuv/issues/2603 ---- - test/test-poll-close-doesnt-corrupt-stack.c | 6 ++---- - test/test-poll-closesocket.c | 5 ++--- - 2 files changed, 4 insertions(+), 7 deletions(-) - -diff --git a/test/test-poll-close-doesnt-corrupt-stack.c b/test/test-poll-close-doesnt-corrupt-stack.c -index 3393820fc4..1d7e84f603 100644 ---- a/test/test-poll-close-doesnt-corrupt-stack.c -+++ b/test/test-poll-close-doesnt-corrupt-stack.c -@@ -31,11 +31,9 @@ - # define NO_INLINE __attribute__ ((noinline)) - #endif - -- --uv_os_sock_t sock; --uv_poll_t handle; -- - #ifdef _WIN32 -+static uv_os_sock_t sock; -+static uv_poll_t handle; - static int close_cb_called = 0; - - -diff --git a/test/test-poll-closesocket.c b/test/test-poll-closesocket.c -index ecaa9e54a2..1a1c364112 100644 ---- a/test/test-poll-closesocket.c -+++ b/test/test-poll-closesocket.c -@@ -25,10 +25,9 @@ - #include "uv.h" - #include "task.h" - --uv_os_sock_t sock; --uv_poll_t handle; -- - #ifdef _WIN32 -+static uv_os_sock_t sock; -+static uv_poll_t handle; - static int close_cb_called = 0; - - - -From 5de278e32e50e7600e7aa3d88199e0a51d016b79 Mon Sep 17 00:00:00 2001 -From: Ben Noordhuis -Date: Tue, 7 Jan 2020 15:21:03 +0100 -Subject: [PATCH 2/2] build: turn on -fno-common to catch regressions - -Refs: https://github.com/libuv/libuv/issues/2603 ---- - common.gypi | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/common.gypi b/common.gypi -index 2297bdf0fb..8e2aa7160b 100644 ---- a/common.gypi -+++ b/common.gypi -@@ -35,7 +35,7 @@ - }, - 'conditions': [ - ['OS != "zos"', { -- 'cflags': [ '-O0', '-fwrapv' ] -+ 'cflags': [ '-O0', '-fno-common', '-fwrapv' ] - }], - ['OS == "android"', { - 'cflags': [ '-fPIE' ], -@@ -80,9 +80,10 @@ - 'conditions': [ - ['OS != "zos"', { - 'cflags': [ -- '-fomit-frame-pointer', - '-fdata-sections', - '-ffunction-sections', -+ '-fno-common', -+ '-fomit-frame-pointer', - ], - }], - ] diff --git a/libuv-v1.31.0.tar.gz b/libuv-v1.31.0.tar.gz deleted file mode 100644 index e42501d..0000000 --- a/libuv-v1.31.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4dca1ac249b183ddb7e1059d6ac5bff12cf3d1b6fa54b56e386991ace5b4d903 -size 1228813 diff --git a/libuv-v1.31.0.tar.gz.sign b/libuv-v1.31.0.tar.gz.sign deleted file mode 100644 index cbbbe0a..0000000 --- a/libuv-v1.31.0.tar.gz.sign +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Comment: GPGTools - https://gpgtools.org - -iQIzBAABCgAdFiEEVzU+Db2qp+g5tmoa/0fV5K2LT9wFAl1Nid8ACgkQ/0fV5K2L -T9xcfhAAmfAXWvFqgM4CGsdJlMFde2vOelvCeGmYGE3yQIY21iqUIzBOBIqn6PgC -r+X/7QVxztD9PovMEhQJaed6lpycVD+E9KFM/r5K7vnIWYS4S7JF3kgxoCKanIq0 -2AieN8h9mTcTeRjrq/Z3c0LAb7tC8yI0hcsxhwAFL4roJcHAu5iM4pix2fq0lnLx -jwDU1Fe1yQZeqM35QvCwX+QkO2QsT5a2cpkt5qysXX1qZCnUwEs7ACPkeO3I6Wui -NYt1gBBrWN1idvfYyV9WCQnwBZDwn6i5OWnMBj7C/AzO6PWufAx3fxevHCEj3Hpg -+1pjNIjYTCpQSlsi0T8gvvxaigkksjEZuiRiHXkjTlUrpkQz0DITyHzWk9ENB0Fn -ROY5lfiBujv+Q9gcrSYIjpxagCaoNp0kn3NcJA2ggB6T/wpSgWdpDruYRZ6lq+Gx -e/lOMMTc2Ns8P8NHAtW+oLP0iTib5fRM9HI9pHQd9Yc90M7nkhYy46y6IpW0MZ9r -ETOGKqxrXRX6fdbaY2BuFeZ4CO/WmV5jS92H28KCxnBEukK3TyEY5E/V+OFFlzp5 -VUaMXNe/hR+hp5gyCn4V3qelP8gTHulwewzUaNMRSrnWM48nxjLCpi3y+HslXrIZ -lTJ1nSr3saPrV54UTEcuZQucy4GMVO9GwDrMfgNRH9f3fMsIBc8= -=40rh ------END PGP SIGNATURE----- diff --git a/libuv-v1.34.2.tar.gz b/libuv-v1.34.2.tar.gz new file mode 100644 index 0000000..bb29c94 --- /dev/null +++ b/libuv-v1.34.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65d93b4504ef5f3ec784c0c186f4ba8abd1031292c7f15dda8111d7e319adf46 +size 1235997 diff --git a/libuv-v1.34.2.tar.gz.sign b/libuv-v1.34.2.tar.gz.sign new file mode 100644 index 0000000..4717d73 --- /dev/null +++ b/libuv-v1.34.2.tar.gz.sign @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Comment: GPGTools - https://gpgtools.org + +iQIzBAABCgAdFiEEVzU+Db2qp+g5tmoa/0fV5K2LT9wFAl4pq+oACgkQ/0fV5K2L +T9xOog/+PUnbjAUA1n/RHoG/CkllDOKSHgWH8QaScfMmg61yh2bjeKdAJbni0BFV +P0vZBRd3H+/g1l+ZsPpzrN0/SYfTRBWSM29FreTXm+uzKwZTwtzXPV4tn/hPY5WG +aNtcrthgnjmZpqOOh4lwLF/LbkS/j39B4mT623qOeDEzpWrDZEAWsH7+wYuegz44 +p3j6iuthzRj7Tog7OSluZI/3BBnLy93ZorxDaa5z7HFF9D0l+pbKP9aEmS+uNwXj +hRfPbm1CL6TIjOzolnrVgQTPJkkdmG5rw04ngDxNbOVI1nO0tbb3bAmNjckE7tyF +YevnzoU1fl+tjdzaa0cOjryL4r2tlA5RVEoYbGCtqdKQQiG35an1otq1+mp8pj+O +yVOzhW3nEXaFCyG+FOR7/jU3phErk5yaMOrjjiO5sJdk/G6rKc7l9LGUsUarpMbz +tiyrFBc+FpmlI+vGhmPVUgKlLwJrG6We+F4LpE1hoOORz9EraBNxloHbRbdgU1zd +6VjHS+cAPfLuyjaqbZ4UatCNPAOP4fI+TTwzrMqY8NFv65vV02oLr5w/9Jenvaz8 +6yesAjKbQT98h+xVXvg0v+hhVNHS/7AiIGshTV9J0V21h6lZgmwA4wCanbd2viqZ +VM4Dq8RkTMTluEs/BZxUL/VVDU1rjIORNwJgTB7raiMCXVnOmIE= +=EJPK +-----END PGP SIGNATURE----- diff --git a/libuv.changes b/libuv.changes index 7a4ca58..5048095 100644 --- a/libuv.changes +++ b/libuv.changes @@ -1,3 +1,148 @@ +------------------------------------------------------------------- +Tue Feb 4 11:17:12 UTC 2020 - Martin Liška + +- Update to libuv 1.34.2: + * Remove fno-common-build-errs.patch and rebase + fix_tests.patch. + Changes since version 1.34.1: + * misc: adjust stalebot deadlines (Jameson Nash) + * test: fix env-vars flakiness (cjihrig) + * test: avoid truncating output lines (Jameson Nash) + * darwin: stop calling SetApplicationIsDaemon() (Ben Noordhuis) + * ibmi: implement uv_interface_addresses() (Xu Meng) + * osx,fsevent: fix race during uv_loop_close (Jameson Nash) + * osx,fsevent: clear pointer when deleting it [NFCI] (Jameson Nash) + * Revert "aix: replace ECONNRESET with EOF if already closed" (Jameson Nash) + * unix: handle uv__open_cloexec return value correctly (Anna Henningsen) + + Changes since version 1.34.0: + + * unix: fix -Wstrict-aliasing compiler warning (Ben Noordhuis) + * unix: cache address of dlsym("mkostemp") (Ben Noordhuis) + * build: remove -pedantic from compiler flags (Ben Noordhuis) + * Revert "darwin: assume pthread_setname_np() is available" (Ben Noordhuis) + * Revert "darwin: speed up uv_set_process_title()" (Ben Noordhuis) + * darwin: assume pthread_setname_np() is available (Ben Noordhuis) + * ibmi: fix the false isatty() issue on IBMi (Xu Meng) + * test: fix test failure under NetBSD and OpenBSD (David Carlier) + * test: skip some test cases on IBMi (Xu Meng) + * test: skip uv_(get|set)_process_title on IBMi (Xu Meng) + * doc: remove binaries for Windows from README (Richard Lau) + * unix: fix -Wunused-but-set-variable warning (George Zhao) + * unix: pass sysctl size arg using ARRAY_SIZE macro (David Carlier) + * test: disallow running the test suite as root (cjihrig) + * unix: suppress -Waddress-of-packed-member warning (Ben Noordhuis) + * misc: make more tags "not-stale" (Jameson Nash) + * test: fix pthread memory leak (Trevor Norris) + * docs: delete socks5-proxy sample (Jameson Nash) + * ibmi: fix the CMSG length issue (Xu Meng) + * docs: fix formatting (Jameson Nash) + * unix: squelch fchmod() EPERM on CIFS share (Ben Noordhuis) + * docs: fix linkcheck (Jameson Nash) + * docs: switch from linux.die.net to man7.org (Jameson Nash) + * win: remove abort when non-IFS LSP detection fails (virtualyw) + * docs: clarify that uv_pipe_t is a pipe (Jameson Nash) + * win,tty: avoid regressions in utf-8 handling (Jameson Nash) + * win: remove bad assert in uv_loop_close (Jameson Nash) + * test: fix -fno-common build errors (Ben Noordhuis) + * build: turn on -fno-common to catch regressions (Ben Noordhuis) + * test: fix fs birth time test failure (Ben Noordhuis) + * tty,unix: avoid affecting controlling TTY (Jameson Nash) + + Changes since version 1.33.1: + * unix: move random-sysctl to random-sysctl-linux (nia) + * netbsd: use KERN_ARND sysctl to get entropy (nia) + * unix: refactor uv__fs_copyfile() logic (cjihrig) + * build: fix android build, add missing sources (Ben Noordhuis) + * build: fix android build, fix symbol redefinition (Ben Noordhuis) + * build: fix android autotools build (Ben Noordhuis) + * fs: handle non-functional statx system call (Milad Farazmand) + * unix,win: add uv_sleep() (cjihrig) + * doc: add richardlau to maintainers (Richard Lau) + * aix: fix netmask for IPv6 (Richard Lau) + * aix: clean up after errors in uv_interface_addresses() (Richard Lau) + * aix: fix setting of physical addresses (Richard Lau) + * fs: add uv_fs_mkstemp (Saúl Ibarra Corretgé) + * unix: switch uv_sleep() to nanosleep() (Ben Noordhuis) + * unix: retry on EINTR in uv_sleep() (Ben Noordhuis) + * zos: fix nanosleep() emulation (Ben Noordhuis) + + Changes since version 1.33.0: + * linux: fix arm64 SYS__sysctl build breakage (Ben Noordhuis) + + Changes since version 1.32.0: + * Revert "linux: drop code path for epoll_pwait-less kernels" (Yang Yu) + * build: fix build error with __ANDROID_API__ < 21 (Yang Yu) + * win: fix reading hidden env vars (Anna Henningsen) + * unix,win: add uv_random() (Ben Noordhuis) + * win: simplify mkdtemp (Saúl Ibarra Corretgé) + * docs: fix literal-includes in User Guide (Nhan Khong) + * win, tty: fix problem of receiving unexpected SIGWINCH (erw7) + * unix: fix {Net,Open}BSD build (David Carlier) + * win,mingw: Fix undefined MCAST_* constants (Crunkle) + * build: Add link for test/fixtures/lorem_ipsum.txt (Andrew Paprocki) + * fs: use statvfs in uv__fs_statfs() for Haiku (Calvin Hill) + * fsevents: stop using fsevents to watch files (Jameson Nash) + * fsevents: regression in watching / (Jameson Nash) + * build,cmake: don't try to detect a C++ compiler (Isabella Muerte) + * build: fix build warning on cygwin (MaYuming) + * unix: set sin_len and sin6_len (Ouyang Yadong) + * test: fix order of operations in test (cjihrig) + * doc: improve uv_fs_readdir() cleanup docs (cjihrig) + * build: remove duplicated test in build files (ZYSzys) + * android: enable getentropy on Android >= 28 (David Carlier) + * android: fix build (David Carlier) + * darwin: speed up uv_set_process_title() (Ben Noordhuis) + * darwin: assume pthread_setname_np() is available (Ben Noordhuis) + * unix,udp: ensure addr is non-null (Jameson Nash) + * win,tty: add uv_tty_{get,set}_vterm_state (erw7) + * win: fix uv_statfs_t leak in uv_fs_statfs() (Ryan Liptak) + * build: install files on windows via cmake (Carl Lei) + * darwin,test: include AvailabilityMacros.h (Saúl Ibarra Corretgé) + * darwin,test: update loop time after sleeping (Saúl Ibarra Corretgé) + * doc: remove old FreeBSD 9 related note (Saúl Ibarra Corretgé) + * doc: improve uv_{send,recv}_buffer_size() docs (Ryan Liptak) + * build: move -Wno-long-long check to configure time (Ben Noordhuis) + * unix: update uv_fs_copyfile() fallback logic (Stefan Bender) + * win: cast setsockopt struct to const char* (Shelley Vohr) + + Changes since version 1.31.0: + * misc: enable stalebot (Saúl Ibarra Corretgé) + * win: map ERROR_ENVVAR_NOT_FOUND to UV_ENOENT (cjihrig) + * win: use L'\0' as UTF-16 null terminator (cjihrig) + * win: support retrieving empty env variables (cjihrig) + * unix,stream: fix returned error codes (Santiago Gimeno) + * test: fix typo in DYLD_LIBRARY_PATH (Ben Noordhuis) + * unix,signal: keep handle active if pending signal (Santiago Gimeno) + * openbsd: fix uv_cpu_info (Santiago Gimeno) + * src: move uv_free_cpu_info to uv-common.c (Santiago Gimeno) + * tcp: add uv_tcp_close_reset method (Santiago Gimeno) + * test: fix udp-multicast-join tests (Santiago Gimeno) + * test: remove assertion in fs_statfs test (cjihrig) + * doc: clarify uv_buf_t usage in uv_alloc_cb (Tomas Krizek) + * win: fix typo in preprocessor expression (Konstantin Podsvirov) + * timer: fix uv_timer_start on closing timer (seny) + * udp: add source-specific multicast support (Vladimir Karnushin) + * udp: fix error return values (Santiago Gimeno) + * udp: drop IPV6_SSM_SUPPORT macro (Santiago Gimeno) + * udp: fix uv__udp_set_source_membership6 (Santiago Gimeno) + * udp: use sockaddr_storage instead of union (Santiago Gimeno) + * build,zos: add _OPEN_SYS_SOCK_EXT3 flag (Santiago Gimeno) + * test: add specific source multicast tests (Santiago Gimeno) + * include: map EILSEQ error code (cjihrig) + * win, tty: improve SIGWINCH performance (Bartosz Sosnowski) + * build: fix ios build error (MaYuming) + * aix: replace ECONNRESET with EOF if already closed (Milad Farazmand) + * build: add cmake library VERSION, SOVERSION (Eneas U de Queiroz) + * build: make include/ public in CMakeLists.txt (Ben Noordhuis) + * build: export USING_UV_SHARED=1 to cmake deps (Ben Noordhuis) + * build: cmake_minimum_required(VERSION 2.8.12) (Daniel Hahler) + * aix: Fix broken cmpxchgi() XL C++ specialization. (Andrew Paprocki) + * test: fix -Wsign-compare warning (Ben Noordhuis) + * unix: simplify open(O_CLOEXEC) feature detection (Ben Noordhuis) + * unix: fix UV_FS_O_DIRECT definition on Linux (Joran Dirk Greef) + * doc: uv_handle_t documentation suggestion (Daniel Bevenius) + ------------------------------------------------------------------- Wed Jan 8 23:29:48 CET 2020 - Matej Cepl diff --git a/libuv.spec b/libuv.spec index 07fa17f..8b79b2b 100644 --- a/libuv.spec +++ b/libuv.spec @@ -18,7 +18,7 @@ %define somajor 1 Name: libuv -Version: 1.31.0 +Version: 1.34.2 Release: 0 Summary: Asychronous I/O support library License: MIT @@ -29,9 +29,6 @@ Source1: https://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz # https://github.com/libuv/libuv/blob/v1.x/MAINTAINERS.md Source2: %{name}.keyring Patch1: fix_tests.patch -# PATCH-FIX-UPSTREAM fno-common-build-errs.patch gh#libuv/libuv#2603 mcepl@suse.com -# Builds with -fno-common fails in run_tests-test-poll-close-doesnt-corrupt-stack.c -Patch2: fno-common-build-errs.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool