Your message dated Fri, 30 Sep 2016 16:52:27 +0000
with message-id <e1bq12x-0000ld...@franck.debian.org>
and subject line Bug#833968: fixed in csh 20110502-2.2
has caused the Debian Bug report #833968,
regarding csh: 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.)
--
833968: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833968
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: csh
Version: 20110502-2.1
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).
glibc 2.24 is already available in experimental and will plan to upload
it to sid in the next days/weeks. This will cause csh 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
-- 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)
--- csh-20110502.orig/proc.c
+++ csh-20110502/proc.c
@@ -81,13 +81,13 @@ pchild(int notused)
int pid;
extern int insource;
int save_errno = errno;
- union wait w;
+ int w;
int jobflags;
struct rusage ru;
loop:
errno = 0; /* reset, just in case */
- pid = wait3(&w.w_status,
+ pid = wait3(&w,
(setintr && (intty || insource) ? WNOHANG | WUNTRACED : WNOHANG), &ru);
if (pid <= 0) {
@@ -109,7 +109,7 @@ found:
pp->p_flags &= ~(PRUNNING | PSTOPPED | PREPORTED);
if (WIFSTOPPED(w)) {
pp->p_flags |= PSTOPPED;
- pp->p_reason = w.w_stopsig;
+ pp->p_reason = WSTOPSIG(w);
}
else {
if (pp->p_flags & (PTIME | PPTIME) || adrof(STRtime))
@@ -117,16 +117,16 @@ found:
pp->p_rusage = ru;
if (WIFSIGNALED(w)) {
- if (w.w_termsig == SIGINT)
+ if (WTERMSIG(w) == SIGINT)
pp->p_flags |= PINTERRUPTED;
else
pp->p_flags |= PSIGNALED;
- if (w.w_coredump)
+ if (WCOREDUMP(w))
pp->p_flags |= PDUMPED;
- pp->p_reason = w.w_termsig;
+ pp->p_reason = WTERMSIG(w);
}
else {
- pp->p_reason = w.w_retcode;
+ pp->p_reason = WEXITSTATUS(w);
if (pp->p_reason != 0)
pp->p_flags |= PAEXITED;
else
--- End Message ---
--- Begin Message ---
Source: csh
Source-Version: 20110502-2.2
We believe that the bug you reported is fixed in the latest version of
csh, 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.
Aurelien Jarno <aure...@debian.org> (supplier of updated csh 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: SHA512
Format: 1.8
Date: Fri, 30 Sep 2016 18:25:06 +0200
Source: csh
Binary: csh
Architecture: source
Version: 20110502-2.2
Distribution: unstable
Urgency: medium
Maintainer: Matej Vela <v...@debian.org>
Changed-By: Aurelien Jarno <aure...@debian.org>
Description:
csh - Shell with C-like syntax
Closes: 833968
Changes:
csh (20110502-2.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Add patches/12_glibc_union_wait.diff to remove usage of deprecated BSD
union wait type. Fixes the FTBFS against glibc 2.24 (Closes: #833968).
Checksums-Sha1:
3986ab5334924333d9cb234512bf7a361be9d0e9 1655 csh_20110502-2.2.dsc
bc0d3a38c7ed2be16717f8a8cf52979a65d12faa 11600 csh_20110502-2.2.debian.tar.xz
Checksums-Sha256:
51befeb31be1bb718da912cb6ea9b81d05607029d042aa9544fedd8ae438be3b 1655
csh_20110502-2.2.dsc
57a25abf710e28f5a7db7586556775983cdb32ef399416a7724a1e6639cfab37 11600
csh_20110502-2.2.debian.tar.xz
Files:
c4645d5623fd6c1145485ef819e2260e 1655 shells optional csh_20110502-2.2.dsc
a66e38ff89e978970a4ade6eb419a69a 11600 shells optional
csh_20110502-2.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJX7pJGAAoJELqceAYd3YybV5AP/2RQOBBp+fjP52xvyDNufPDW
pKOvKNBDcQjQe2xRVFD237N3HRKvNyK1oUjTMDnUbuGoIaFLwrcucYbBogDWBtpc
WhUAyJLSmKkG4+5zHlH3aNZK1wjyPfOp2K+w+RIAC2CBokFYTvs+tJJ2f89sZ8Sg
s2xj7b3a4vEfJReEdj5TPmXDNCIOLbAHTBqWC7IqmG9E67asfqiyH8sXbaD3tCZX
Qvf8pLVXBB7Ra8vKBLF4glbR9gnbqnVx68TYuXG9K6Co43v9WvQ+IhqxtpGhIF8G
1Nfjni6g3RvNf7QZLolrW64JWmLopjp3ZIZi90bfoCPoU3ZV9GYb7KWrzoS0MYO+
5HQHep4PIianO6Y7YW8zQ/ETuBz2GYYMRv49mFw06TYbfOXUecYyvXmu+ODHRfqZ
E/g37AAYiTCaGIqasz5QJTvI5+GDfbDP6LbcpZht6VwTq2SgBfCpX+3flMTamYUl
483x2jNVttiV8yF4K1PHepUr1PN2bBCmyDMvd/iXKAbdmh0qZ9U57tmIsw/gH4ZN
gmTTZWQcNA3lzUzhKRFR2HAsmfbcNBGH8xjUOWEKZl724wlNFyk9UYYRlnVoOJMT
CqWuY/DGvOtwqCEulnF/q/ZJ8+A7VtV8ndi7rs8nKj6heCDuwb1jpqXgE7y34rtM
StkiHUkL59pOtihJh8fk
=IBV+
-----END PGP SIGNATURE-----
--- End Message ---