Source: libuv1 Version: 1.22.0-1 Severity: important Tags: upstream User: debian-h...@lists.debian.org Usertags: hurd-i386
Hi, Currently libuv1 FTBFS on hurd-i386 due to a small difference to the patch hurd-port.diff submitted in #881882. An updated patch is attached. Additionally, the symbols file needs updating, the attached file debian_libuv1.symbols.diff fixes that. Thanks!
--- a/debian/libuv1.symbols 2018-07-20 17:18:26.000000000 +0200 +++ b/debian/libuv1.symbols 2018-07-24 13:48:35.000000000 +0200 @@ -1,4 +1,5 @@ libuv.so.1 libuv1 #MINVER# + (arch=hurd-any)pthread_atfork@Base 1.22.0-1 (arch=linux-any)uv__accept4@Base 1.11.0 uv__accept@Base 1.11.0 uv__async_close@Base 1.11.0 @@ -23,14 +24,14 @@ (arch=linux-any)uv__eventfd@Base 1.11.0 uv__fd_exists@Base 1.21.0 uv__free@Base 1.11.0 - (arch=!hurd-any)uv__fs_event_close@Base 1.11.0 + uv__fs_event_close@Base 1.11.0 uv__fs_poll_close@Base 1.11.0 uv__fs_scandir_cleanup@Base 1.11.0 uv__getaddrinfo_translate_error@Base 1.11.0 uv__getiovmax@Base 1.11.0 uv__getpwuid_r@Base 1.11.0 uv__handle_type@Base 1.11.0 - (arch=!hurd-any)uv__hrtime@Base 1.11.0 + uv__hrtime@Base 1.11.0 uv__idle_close@Base 1.11.0 (arch=linux-any)uv__inotify_add_watch@Base 1.11.0 (arch=linux-any)uv__inotify_fork@Base 1.18.0 @@ -38,12 +39,12 @@ (arch=linux-any)uv__inotify_init@Base 1.11.0 (arch=linux-any)uv__inotify_rm_watch@Base 1.11.0 uv__io_active@Base 1.11.0 - (arch=!hurd-any)uv__io_check_fd@Base 1.11.0 + uv__io_check_fd@Base 1.11.0 uv__io_close@Base 1.11.0 uv__io_feed@Base 1.11.0 - (arch=!hurd-any)uv__io_fork@Base 1.18.0 + uv__io_fork@Base 1.18.0 uv__io_init@Base 1.11.0 - (arch=!hurd-any)uv__io_poll@Base 1.11.0 + uv__io_poll@Base 1.11.0 uv__io_start@Base 1.11.0 uv__io_stop@Base 1.11.0 uv__loop_close@Base 1.11.0 @@ -59,9 +60,9 @@ uv__open_file@Base 1.11.0 (arch=linux-any)uv__pipe2@Base 1.11.0 uv__pipe_close@Base 1.11.0 - (arch=!hurd-any)uv__platform_invalidate_fd@Base 1.11.0 - (arch=!hurd-any)uv__platform_loop_delete@Base 1.11.0 - (arch=!hurd-any)uv__platform_loop_init@Base 1.11.0 + uv__platform_invalidate_fd@Base 1.11.0 + uv__platform_loop_delete@Base 1.11.0 + uv__platform_loop_init@Base 1.11.0 uv__poll_close@Base 1.11.0 (arch=linux-any)uv__preadv@Base 1.11.0 uv__prepare_close@Base 1.11.0 @@ -148,9 +149,9 @@ uv_fs_close@Base 1.4.2 uv_fs_copyfile@Base 1.18.0 uv_fs_event_getpath@Base 1.4.2 - (arch=!hurd-any)uv_fs_event_init@Base 1.4.2 - (arch=!hurd-any)uv_fs_event_start@Base 1.4.2 - (arch=!hurd-any)uv_fs_event_stop@Base 1.4.2 + uv_fs_event_init@Base 1.4.2 + uv_fs_event_start@Base 1.4.2 + uv_fs_event_stop@Base 1.4.2 uv_fs_fchmod@Base 1.4.2 uv_fs_fchown@Base 1.4.2 uv_fs_fdatasync@Base 1.4.2
Description: port to hurd arch This patch fixes libstorj build for hurd-i386. . The build failed because libuv had undefined references to symbols it should have defined internally. Bug-Debian: https://bugs.debian.org/881882 Author: Samuel Thibault <sthiba...@debian.org> Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881882 --- a/Makefile.am +++ b/Makefile.am @@ -391,6 +391,13 @@ test_run_tests_LDFLAGS += -lutil endif +if HURD +include_HEADERS += include/uv/posix.h +libuv_la_SOURCES += src/unix/no-fsevents.c \ + src/unix/posix-hrtime.c \ + src/unix/posix-poll.c +endif + if LINUX uvinclude_HEADERS += include/uv/linux.h libuv_la_CFLAGS += -D_GNU_SOURCE --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,7 @@ AM_CONDITIONAL([DARWIN], [AS_CASE([$host_os],[darwin*], [true], [false])]) AM_CONDITIONAL([DRAGONFLY],[AS_CASE([$host_os],[dragonfly*], [true], [false])]) AM_CONDITIONAL([FREEBSD], [AS_CASE([$host_os],[*freebsd*], [true], [false])]) +AM_CONDITIONAL([HURD], [AS_CASE([$host_os],[gnu*], [true], [false])]) AM_CONDITIONAL([LINUX], [AS_CASE([$host_os],[linux*], [true], [false])]) AM_CONDITIONAL([MSYS], [AS_CASE([$host_os],[msys*], [true], [false])]) AM_CONDITIONAL([NETBSD], [AS_CASE([$host_os],[netbsd*], [true], [false])]) --- a/include/uv/unix.h +++ b/include/uv/unix.h @@ -64,6 +64,8 @@ # include "uv/bsd.h" #elif defined(__CYGWIN__) || defined(__MSYS__) # include "uv/posix.h" +#elif defined(__GNU__) +# include "uv/posix.h" #endif #ifndef PTHREAD_BARRIER_SERIAL_THREAD