[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#833995: gridengine: embedded tcsh copy uses deprecated BSD union wait type



Source: gridengine
Version: 8.1.9+dfsg-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. The embedded tcsh copy will fail to
build (see bug#833965), causing in turn gridengine to fail to build from
source. You will find attached a patch taken from upstream tcsh to fix
the issue.

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)
--- gridengine-8.1.9+dfsg.orig/source/3rdparty/qtcsh/sh.proc.c
+++ gridengine-8.1.9+dfsg/source/3rdparty/qtcsh/sh.proc.c
@@ -47,7 +47,7 @@ RCSID("$tcsh: sh.proc.c,v 3.109 2009/06/
 # define HZ 16
 #endif /* aiws */
 
-#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(linux) || defined(__GNU__) || defined(__GLIBC__)
+#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid)
 # define BSDWAIT
 #endif /* _BSD || (IRIS4D && __STDC__) || __lucid || glibc */
 #ifndef WTERMSIG

Reply to: