Package: quilt
Version: 0.46-4
Severity: important
Tags: patch

quilt breaks when POSIXLY_CORRECT is set to 1, because it invokes patch, and patch does not work non-interactively in POSIX mode. (I believe this is the mandated behavior, unfortunate as it is.) If you want to rely on non-POSIX semantics of patch, you should unset POSIXLY_CORRECT (and probably _POSIX2_VERSION and POSIXLY_PEDANTIC as well).

Since I run with all three variables set, this makes it impossible to build any package that uses quilt, which is quite a lot of packages indeed.

An untested patch is attached.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rc8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages quilt depends on:
ii  bzip2                     1.0.4-2        high-quality block-sorting file co
ii  diffstat                  1.45-2         produces graph of changes introduc
ii  gawk [awk]                1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr
ii  gettext                   0.17-2         GNU Internationalization utilities
ii  mawk [awk]                1.3.3-11       a pattern scanning and text proces
ii  patch                     2.5.9-4        Apply a diff file to an original

quilt recommends no packages.

-- no debconf information

--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
--- /usr/bin/quilt	2007-08-07 18:58:50.000000000 +0000
+++ quilt	2008-01-25 20:01:26.000000000 +0000
@@ -6,6 +6,8 @@
 #
 #  See the COPYING and AUTHORS files for more details.
 
+unset POSIXLY_CORRECT _POSIX2_VERSION POSIXLY_PEDANTIC
+
 export TEXTDOMAIN=quilt
 export TEXTDOMAINDIR=/usr/share/locale
 

Attachment: signature.asc
Description: Digital signature

Reply via email to