Package: clisp Version: 1:2.49-10 Severity: serious Tags: patch Justification: fails to build from source
Dear Maintainer, Clisp cannot be built under hurd-i386 since clisp does not recognize Hurd errno values. This patches fixes that and prevents clisp to not crash when using fsync(). Please see https://lists.debian.org/debian-hurd/2015/09/msg00031.html for more information. -- System Information: Debian Release: stretch/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: hurd-i386 (i686-AT386) Kernel: GNU-Mach 1.5+git20150922-486/Hurd-0.6 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages clisp depends on: ii libc0.3 2.19-22 ii libffcall1 1.10+cvs20100619-3 ii libncurses5 6.0+20150810-1 ii libreadline5 5.2+dfsg-3 ii libsigsegv2 2.10-4+b1 ii libtinfo5 6.0+20150810-1 clisp recommends no packages. Versions of packages clisp suggests: ii clisp-dev 1:2.49-10 ii clisp-doc 1:2.49-10 ii gdb 7.10-1 pn slime <none> -- no debconf information
Description: Define IS_EINVAL_EXTRA for Hurd systems clisp (1:2.49-10) unstable; urgency=medium . * Makes clisp compile under debuild * Solves https://lists.debian.org/debian-hurd/2012/06/msg00053.html) Author: Flavio Cruz <flavioc...@gmail.com> Last-Update: 2015-09-23 --- clisp-2.49.orig/src/stream.d +++ clisp-2.49/src/stream.d @@ -3483,6 +3483,8 @@ local void clear_tty_input (Handle handl #define IS_EINVAL_EXTRA ((errno==EBADF)||(errno==EACCES)||(errno==EBADRQC)) #elif defined(UNIX_DARWIN) || defined(UNIX_FREEBSD) || defined(UNIX_NETBSD) || defined(UNIX_OPENBSD) #define IS_EINVAL_EXTRA ((errno==EOPNOTSUPP)||(errno==ENOTSUP)||(errno==ENODEV)) +#elif defined(UNIX_HURD) + #define IS_EINVAL_EXTRA ((errno==EOPNOTSUPP)||(errno==EMIG_BAD_ID)) #else #define IS_EINVAL_EXTRA 0 #endif