Your message dated Sun, 04 Sep 2016 19:32:34 +0000
with message-id <e1bgd9e-0003sr...@franck.debian.org>
and subject line Bug#833970: fixed in netkit-rsh 0.17-16
has caused the Debian Bug report #833970,
regarding netkit-rsh: uses deprecated BSD union wait type
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 ow...@bugs.debian.org
immediately.)


-- 
833970: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833970
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: netkit-rsh
Version: 0.17-15
Severity: important
Tags: patch upstream

Dear Maintainer,

glibc 2.24 has removed the deprecated BSD union wait type if favor of
the POSIX.1 interface using W* macros from <sys/wait.h> (such as
WEXITSTATUS) [1].

glibc 2.24 is already available in experimental and will plan to upload
it to sid in the next days/weeks. This will cause netkit-rsh to fail to
build from source. You will find attached a patch to fix the issue. It
unconditionally uses the "new" interface, but it should be available on
all recent UNIXes including the BSDs, given POSIX.1 dates back from
1988. The GNU libc has it since at least 1995, probably even earlier.

Please also note that this will not break the existing binaries, just
building the package from source.

Thanks,
Aurelien

[1] https://sourceware.org/ml/libc-alpha/2016-02/msg00342.html

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -u netkit-rsh-0.17/rlogin/rlogin.c netkit-rsh-0.17/rlogin/rlogin.c
--- netkit-rsh-0.17/rlogin/rlogin.c
+++ netkit-rsh-0.17/rlogin/rlogin.c
@@ -460,7 +460,7 @@
 void
 catch_child(int ignore)
 {
-	union wait status;
+	int status;
 	int pid;
 
 	(void)ignore;
@@ -471,7 +471,7 @@
 			return;
 		/* if the child (reader) dies, just quit */
 		if (pid < 0 || (pid == childpid && !WIFSTOPPED(status)))
-			done((int)(status.w_termsig | status.w_retcode));
+			done((int)(WTERMSIG(status) | WEXITSTATUS(status)));
 	}
 	/* NOTREACHED */
 }

--- End Message ---
--- Begin Message ---
Source: netkit-rsh
Source-Version: 0.17-16

We believe that the bug you reported is fixed in the latest version of
netkit-rsh, 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 833...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alberto Gonzalez Iniesta <a...@inittab.org> (supplier of updated netkit-rsh 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 04 Sep 2016 20:59:32 +0200
Source: netkit-rsh
Binary: rsh-client rsh-server
Architecture: source amd64
Version: 0.17-16
Distribution: unstable
Urgency: medium
Maintainer: Alberto Gonzalez Iniesta <a...@inittab.org>
Changed-By: Alberto Gonzalez Iniesta <a...@inittab.org>
Description:
 rsh-client - client programs for remote shell connections
 rsh-server - server program for remote shell connections
Closes: 833970
Changes:
 netkit-rsh (0.17-16) unstable; urgency=medium
 .
   * Patch from Aurelien Jarno to fix FTBFS with glibc 2.24.
     (Closes: #833970). Thanks Aurelien!
Checksums-Sha1:
 509c376cbaa1cd6584a537948e5ba44e39b67978 1700 netkit-rsh_0.17-16.dsc
 f9a69acb861a113e0128ae54a6bda9c177b41a5b 22992 netkit-rsh_0.17-16.diff.gz
 08af241c3a44dc8ca42bf6fa46742b5a14fefcc4 34192 
rsh-client-dbgsym_0.17-16_amd64.deb
 e531ca70323a7d9ac3211802fbed6fd52f6628c8 30358 rsh-client_0.17-16_amd64.deb
 722ed4287c2da197978ddf62a534caa1628cb6b1 37246 
rsh-server-dbgsym_0.17-16_amd64.deb
 2372a630476ce85a862345a1394acd8b9af67ded 35276 rsh-server_0.17-16_amd64.deb
Checksums-Sha256:
 64b28be17e19e50c40604360bc2175269b50a62c83c0be27aae8a5aa4e24d907 1700 
netkit-rsh_0.17-16.dsc
 d9ec9f637b5afe52c6ce676decf369b46529078d0a35a8eae6399120bb17b03e 22992 
netkit-rsh_0.17-16.diff.gz
 ad6d3db2ca90ba3f9f1dab64885e5aef69e4c6097899bcb5fde72f4a5adfc3e0 34192 
rsh-client-dbgsym_0.17-16_amd64.deb
 4656d88f7591a7945da20a961d588adf7c79a729287cc1ee40856bb1bc975d00 30358 
rsh-client_0.17-16_amd64.deb
 c79601a835b831e95dca5f66509863139826b3b3464d41997f915731df79deea 37246 
rsh-server-dbgsym_0.17-16_amd64.deb
 ab458f6fd432d36656e239d775f2d46fdfefea7a91217d0ee81087aa14f30fbc 35276 
rsh-server_0.17-16_amd64.deb
Files:
 df324fb1239fcb5604acb58f76de6e4b 1700 net extra netkit-rsh_0.17-16.dsc
 35a21e8400a01e6e0f422bb70edaaa4b 22992 net extra netkit-rsh_0.17-16.diff.gz
 af97ee6715891c0ca77f9b56441e3615 34192 debug extra 
rsh-client-dbgsym_0.17-16_amd64.deb
 b361acb6fd61bc5c99a39475bd914379 30358 net extra rsh-client_0.17-16_amd64.deb
 96fcff55c1832c85e30700adbea50ab7 37246 debug extra 
rsh-server-dbgsym_0.17-16_amd64.deb
 25b814b74f297771f435a30740f25818 35276 net extra rsh-server_0.17-16_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXzG9wAAoJEACbM3VrmqpVuNkP/j6Bf1yeS3r8to721saMnScx
VFc+x3FgnDtPFvsOxRR5HlfKLWft6Ej3IazSXbX9LG0H3Xfi6X+yhg3y/9Ewbphc
lnB+jcuSUcRfVSgKUv2w9jNuTvXJkfPregO2ZqfEIUm9/6A8pMLSNpENx6zWfpsn
pr2/DqPnFFjz7G1N7pb1DOGhwoj0P9EeDKAJB9QuQvSJpauhQEQUW7ci/x7bt94E
IJNQ0s2KQciJcsp4oO0/UNtS9Hb06/7Q/LiL17MOpJDvHCI/uocUvcy+8gd88F+3
vZ0xkuDt8bEN0ghPziMOqN4cDwFr93tP+3aOD5SiG3jBfIe2EzHq5f1lLEMq4ofL
Zud54Tr9IQNONQt+OC1WFy1JMDXpF/r6+xMohFgHmvwClwCts0JG5FQcKTMWWwX2
eBjAyrw1c+Lmyj9itjqPPsVH1tjAEGRax6/2Om+CuQJHurhsrk39HLGBjHs1XKRj
DlmfSXyH9HATN8Z1oUPZIdsZg5K0BdzIPQdPvlDFsN5YedWgQXPnDZAgdh8o5J2t
4INJtil9diEjh3npIQUnZGqo0qC6KoJdZw8xpt0VLNyqeY+nriOJxT93xpz4wL1L
RVoBynCLp154hZYEpZSu67QCBg+p00r+qiFD1w0qEYJ4VmzRkqv5Vmie7cUnlFRy
Yf+n/sBKLNiC9JQrWACu
=3BDU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to