[Build-common-hackers] Bug#554855: cdbs: simple-patchsys needs non-POSIX behavior for patch

brian m. carlson sandals at crustytoothpaste.ath.cx
Fri Nov 6 22:58:55 UTC 2009

Package: cdbs
Version: 0.4.62+nmu1
Severity: important

According to POSIX, when patch fails to apply a patch, it must prompt on
/dev/tty for the file to patch.  patch exhibits this standard-conforming
behavior when the environment POSIXLY_CORRECT is set to 1.

It appears, however, that cdbs wants non-POSIX behavior from patch when
it runs the simple-patchsys rules.  This is fine, but if the user
building the package has POSIXLY_CORRECT set, the package build will
hang forever, and the package will FTBFS.  Therefore, if cdbs wants
non-POSIX behavior, it should be sure to unset POSIXLY_CORRECT (and

See #462578 (fixed) for the change that was made to quilt.

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

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     7.4.3      helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20090611.1 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.55    scripts to make the life of a Debi
ii  doc-base                      0.9.5      utilities to manage online documen

-- no debconf information

brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20091106/3d721785/attachment.pgp>

More information about the Build-common-hackers mailing list