Your message dated Sun, 27 May 2018 14:42:50 +0000
with message-id <[email protected]>
and subject line Bug#897061: fixed in libuv1 1.20.3-1
has caused the Debian Bug report #897061,
regarding libuv1: FTBFS on hurd-i386: PATH_MAX undefined (and kfreebsd as well)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
897061: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897061
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libuv1
Version: 1.18.0-3
Severity: important
Tags: patch
Hello,
libuv1 currently FTBFS on hurd-i386 because it unconditionally uses
PATH_MAX. The attached patch fixes this.
Also, the symbols file is only accurate for the Linux port, here is a
fix for that too. Some symbols are really Linux-only in the source
code, they pose problem on kfreebsd as seen in buildd logs, so the patch
should fix the build there too.
Samuel
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'stable-debug'), (500, 'oldoldstable'), (500,
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1,
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.16.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libuv1 depends on:
ii libc6 2.27-3
libuv1 recommends no packages.
libuv1 suggests no packages.
-- no debconf information
--
Samuel
<d> bah à défaut de ligne TGV, ils ont un GR
-+- #ens-mim - comment ça, paumé ?! -+-
Index: libuv1-1.18.0/src/unix/fs.c
===================================================================
--- libuv1-1.18.0.orig/src/unix/fs.c
+++ libuv1-1.18.0/src/unix/fs.c
@@ -436,8 +436,14 @@ static ssize_t uv__fs_pathmax_size(const
static ssize_t uv__fs_readlink(uv_fs_t* req) {
ssize_t len;
char* buf;
+ struct stat st;
+ int ret;
- len = uv__fs_pathmax_size(req->path);
+ ret = lstat(req->path, &st);
+ if (ret != 0) {
+ return -1;
+ }
+ len = st.st_size;
buf = uv__malloc(len + 1);
if (buf == NULL) {
@@ -451,7 +457,6 @@ static ssize_t uv__fs_readlink(uv_fs_t*
len = readlink(req->path, buf, len);
#endif
-
if (len == -1) {
uv__free(buf);
return -1;
@@ -464,9 +469,16 @@ static ssize_t uv__fs_readlink(uv_fs_t*
}
static ssize_t uv__fs_realpath(uv_fs_t* req) {
- ssize_t len;
char* buf;
+#if _POSIX_VERSION >= 200809L
+ buf = realpath(req->path, NULL);
+ if (buf == NULL) {
+ return -1;
+ }
+#else
+ ssize_t len;
+
len = uv__fs_pathmax_size(req->path);
buf = uv__malloc(len + 1);
@@ -479,6 +491,7 @@ static ssize_t uv__fs_realpath(uv_fs_t*
uv__free(buf);
return -1;
}
+#endif
req->ptr = buf;
--- debian/libuv1.symbols.orig 2018-04-27 19:23:52.000000000 +0000
+++ debian/libuv1.symbols 2018-04-27 19:37:32.000000000 +0000
@@ -1,5 +1,5 @@
libuv.so.1 libuv1 #MINVER#
- uv__accept4@Base 1.11.0
+ (arch=linux-any)uv__accept4@Base 1.11.0
uv__accept@Base 1.11.0
uv__async_close@Base 1.11.0
uv__async_fork@Base 1.18.0
@@ -12,37 +12,37 @@
uv__close_nocheckstdio@Base 1.11.0
uv__count_bufs@Base 1.11.0
uv__dup2_cloexec@Base 1.11.0
- uv__dup3@Base 1.11.0
+ (arch=linux-any)uv__dup3@Base 1.11.0
uv__dup@Base 1.11.0
- uv__epoll_create1@Base 1.11.0
- uv__epoll_create@Base 1.11.0
- uv__epoll_ctl@Base 1.11.0
- uv__epoll_pwait@Base 1.11.0
- uv__epoll_wait@Base 1.11.0
- uv__eventfd2@Base 1.11.0
- uv__eventfd@Base 1.11.0
+ (arch=linux-any)uv__epoll_create1@Base 1.11.0
+ (arch=linux-any)uv__epoll_create@Base 1.11.0
+ (arch=linux-any)uv__epoll_ctl@Base 1.11.0
+ (arch=linux-any)uv__epoll_pwait@Base 1.11.0
+ (arch=linux-any)uv__epoll_wait@Base 1.11.0
+ (arch=linux-any)uv__eventfd2@Base 1.11.0
+ (arch=linux-any)uv__eventfd@Base 1.11.0
uv__free@Base 1.11.0
- uv__fs_event_close@Base 1.11.0
+ (arch=!hurd-any)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
- uv__hrtime@Base 1.11.0
+ (arch=!hurd-any)uv__hrtime@Base 1.11.0
uv__idle_close@Base 1.11.0
- uv__inotify_add_watch@Base 1.11.0
- uv__inotify_fork@Base 1.18.0
- uv__inotify_init1@Base 1.11.0
- uv__inotify_init@Base 1.11.0
- uv__inotify_rm_watch@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
+ (arch=linux-any)uv__inotify_init1@Base 1.11.0
+ (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
- uv__io_check_fd@Base 1.11.0
+ (arch=!hurd-any)uv__io_check_fd@Base 1.11.0
uv__io_close@Base 1.11.0
uv__io_feed@Base 1.11.0
- uv__io_fork@Base 1.18.0
+ (arch=!hurd-any)uv__io_fork@Base 1.18.0
uv__io_init@Base 1.11.0
- uv__io_poll@Base 1.11.0
+ (arch=!hurd-any)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
@@ -56,26 +56,26 @@
uv__nonblock_ioctl@Base 1.11.0
uv__open_cloexec@Base 1.11.0
uv__open_file@Base 1.11.0
- uv__pipe2@Base 1.11.0
+ (arch=linux-any)uv__pipe2@Base 1.11.0
uv__pipe_close@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
+ (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__poll_close@Base 1.11.0
- uv__preadv@Base 1.11.0
+ (arch=linux-any)uv__preadv@Base 1.11.0
uv__prepare_close@Base 1.11.0
uv__process_close@Base 1.11.0
- uv__pwritev@Base 1.11.0
+ (arch=linux-any)uv__pwritev@Base 1.11.0
uv__realloc@Base 1.11.0
- uv__recvmmsg@Base 1.11.0
+ (arch=linux-any)uv__recvmmsg@Base 1.11.0
uv__recvmsg@Base 1.11.0
uv__run_check@Base 1.11.0
uv__run_idle@Base 1.11.0
uv__run_prepare@Base 1.11.0
uv__run_timers@Base 1.11.0
- uv__sendmmsg@Base 1.11.0
+ (arch=linux-any)uv__sendmmsg@Base 1.11.0
uv__server_io@Base 1.11.0
- uv__set_process_title@Base 1.11.0
+ (arch=!hurd-any !kfreebsd-any)uv__set_process_title@Base 1.11.0
uv__signal_close@Base 1.11.0
uv__signal_global_once_init@Base 1.11.0
uv__signal_loop_cleanup@Base 1.11.0
@@ -102,7 +102,7 @@
uv__udp_recv_stop@Base 1.11.0
uv__udp_send@Base 1.11.0
uv__udp_try_send@Base 1.11.0
- uv__utimesat@Base 1.11.0
+ (arch=linux-any)uv__utimesat@Base 1.11.0
uv__work_done@Base 1.11.0
uv__work_submit@Base 1.11.0
uv_accept@Base 1.4.2
--- End Message ---
--- Begin Message ---
Source: libuv1
Source-Version: 1.20.3-1
We believe that the bug you reported is fixed in the latest version of
libuv1, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dominique Dumont <[email protected]> (supplier of updated libuv1 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 27 May 2018 15:22:29 +0200
Source: libuv1
Binary: libuv1-dev libuv1
Architecture: source
Version: 1.20.3-1
Distribution: unstable
Urgency: medium
Maintainer: Dominique Dumont <[email protected]>
Changed-By: Dominique Dumont <[email protected]>
Description:
libuv1 - asynchronous event notification library - runtime library
libuv1-dev - asynchronous event notification library - development files
Closes: 897061
Changes:
libuv1 (1.20.3-1) unstable; urgency=medium
.
* new upstream version
* copyright: fix utf-8 entry with cme update
* patch to fix PATH_MAX on hurd.
* update symbols table for hurd.
Thanks to Samuel Thibault for the patches (Closes: #897061)
Checksums-Sha1:
10b88e204d0ad6755c110f6d97b2931d0008c022 2016 libuv1_1.20.3-1.dsc
2c7366700009d8e1f6a2d34afae820cde877dfc0 1181779 libuv1_1.20.3.orig.tar.gz
4176ad01276225f1a77950105a8d6169786478a8 14868 libuv1_1.20.3-1.debian.tar.xz
1c9932778b7a70884360d079c734659ee169570a 5437 libuv1_1.20.3-1_source.buildinfo
Checksums-Sha256:
39850f7a2cc4bd3adc2e1175a2ceb3fd37b3031afac59ca10843d0ae34a36eff 2016
libuv1_1.20.3-1.dsc
3e88f26e03bb74bc2530d6c890fee3b753c1af24f678d26e26087e9be6fce8ed 1181779
libuv1_1.20.3.orig.tar.gz
2b0f1758696efcacaa2bca1b1c062b481eae24ac09cd0faa960d1de78234f545 14868
libuv1_1.20.3-1.debian.tar.xz
81dd739ea5b8522e876e669207fb5075d87a74813dc67d0f03c89cc7bc08a3a2 5437
libuv1_1.20.3-1_source.buildinfo
Files:
0c3e400dc359b53e43f195c2760778ce 2016 libs optional libuv1_1.20.3-1.dsc
08a15f2ecd1f98d9fe4ae1dc21fb9c33 1181779 libs optional
libuv1_1.20.3.orig.tar.gz
e3b97bf088a3a49bfe3acf539b2f1fe4 14868 libs optional
libuv1_1.20.3-1.debian.tar.xz
e9d1a858046aaedfa7b0cd235a57244f 5437 libs optional
libuv1_1.20.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEn3I5/LZk8Qsz6dwDwx9P2UmrK2wFAlsKtsIACgkQwx9P2Umr
K2yLcw/+NFdsBWAc0YR2jMTb89keFuPHCthUDvMaOhUkYhE84pa2Bql17ukaOu2P
nHbDiTTIejmnOElwkFXlddUKyy87BWPIw0tSvj1pMbhqrdJ/dV7G3BtoGVAYq6Vo
MlPdBlIS4NBY8KkC5nUWqS2LVdhcN4o/qAk7WoCUh3cUkN2pOA6M3teMz81efXLc
bucdrLPMhPWHdNm+K1nRmUk83wUGEw3PBKPCLFdXwpilHAt6a0nfA3LTr1UFEiV2
zU3ULBq6JAwuTT+Xi+FX//jVtsX2CKxsvL1omCBf18jtbcnScdw7MgbC4M1uDJry
kcpcuNoiOAHZOu1FR3b/wabgDn+P/zgkHW434W16oNteJJIrsPAZDt8YP+jx874A
ewdO3zjsEPq8CPw3RGd8SnGNPqsQ11lhXHhs5VLNj3hbnSKIVMPpo455+ANvdu7t
La0TNEB2DnLxVRixPsCMmRGtev0ylPzwCtReXAUGCeO9US59FGp06cqwfOB08R/h
w/4ys+P7dUjlow1ZfVWit1UBl624F5ydQ8wlwrO5ewin/KDIrV2jTaOvirD3yJWw
Hka6SKaCVTe1RJPyVp703b933KFwXvgLcCv48Dw4dPHfqGVocLOftrloXtwoKjF+
9SuB/E5FU+QkM/c4/I8xnQ/WYVZ/k8LSFFftULgwOQ5I6JHGYiE=
=EMoI
-----END PGP SIGNATURE-----
--- End Message ---