Bug#650976: emacs23: FTBFS on hurd-i386 due to signal usage
Package: emacs23
Version: 23.3+1-4
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd
Hello,
emacs23 currently FTBFS on hurd-i386 because a 15MiB-long write gets
interrupted by a signal and emacs hasn't set the SA_RESTART flag. The
attached patch makes emacs23 use POSIX signals, which makes use of
SA_RESTART and fixes the abovementioned issue.
Samuel
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.4 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages emacs23 depends on:
ii emacs23-bin-common 23.3+1-4
ii libasound2 1.0.24.1-4
ii libatk1.0-0 2.2.0-2
ii libc6 2.13-21
ii libcairo2 1.10.2-6.1
ii libdbus-1-3 1.4.16-1
ii libfontconfig1 2.8.0-3
ii libfreetype6 2.4.8-1
ii libgconf2-4 2.32.4-1
ii libgdk-pixbuf2.0-0 2.24.0-1
ii libgif4 4.1.6-9
ii libglib2.0-0 2.30.2-4
ii libgpm2 1.20.4-4
ii libgtk2.0-0 2.24.8-2
ii libice6 2:1.0.7-2
ii libjpeg8 8c-2
ii libm17n-0 1.6.3-1
ii libncurses5 5.9-4
ii libotf0 0.9.12-1
ii libpango1.0-0 1.29.4-2
ii libpng12-0 1.2.46-3
ii librsvg2-2 2.34.1-3
ii libsm6 2:1.2.0-2
ii libtiff4 3.9.5-2
ii libtinfo5 5.9-4
ii libx11-6 2:1.4.4-4
ii libxft2 2.2.0-3
ii libxpm4 1:3.5.9-4
ii libxrender1 1:0.9.6-2
ii zlib1g 1:1.2.3.4.dfsg-3
emacs23 recommends no packages.
Versions of packages emacs23 suggests:
pn emacs23-common-non-dfsg <none>
-- no debconf information
--
Samuel Thibault <samuel.thibault@fnac.net>
<g> r: et la marmotte, elle écrit un papier IPDPS
--- src/s/gnu.h.orig 2011-12-04 18:59:57.000000000 +0100
+++ src/s/gnu.h 2011-12-04 18:59:58.000000000 +0100
@@ -83,5 +83,7 @@
#endif /* !_IO_STDIO_H */
#endif /* emacs */
+#define POSIX_SIGNALS 1
+
/* arch-tag: 577983d9-87a6-4922-b8f8-ff2b563714a4
(do not change this comment) */
Reply to: