Your message dated Mon, 08 Oct 2007 05:17:03 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#445380: fixed in dpkg 1.14.7 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: dpkg-dev Version: 1.13.25 Severity: important Tags: patch Problem Description =================== When trying to create a source package from an upstream tarball, where the debianization requires patching of files with names containing spaces, the resulting diff.gz will be incorrectly representing such files. This results in an unusable source package, because 'dpkg-source -x' uses the 'patch' command to apply the diff to the extracted orig.tar.gz. Because patch does not recognize the incorrectly contained filenames, it does not restore the correct files. Cause of the Problem ==================== To support file names with spaces, the 'diff' and 'patch' commands use a trailing tab character (\t) after the filenames. Dpkg-source uses a manual diff on all files, when creating the diff.gz. In doing doing this, it manually assigns labels to be used for the files inside the diff (using the -L option), this circumvents diff's own undocumented trailing tab-character behaviour, causing the above described problem. Solution of the Problem ======================= The attached patch solves the problem, by appending a tab character (\t) to the labels that dpkg-source assigns using the -L option. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.4.27-2-386 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages dpkg-dev depends on: ii binutils 2.17-3 The GNU assembler, linker and bina ii cpio 2.6-17 GNU cpio -- a program to manage ar ii dpkg 1.13.25 package maintenance system for Deb ii make 3.81-2 The GNU version of the "make" util ii patch 2.5.9-4 Apply a diff file to an original ii perl [perl5] 5.8.8-7 Larry Wall's Practical Extraction ii perl-modules 5.8.8-7 Core Perl modules Versions of packages dpkg-dev recommends: ii bzip2 1.0.3-6 high-quality block-sorting file co ii gcc [c-compiler] 4:4.1.1-15 The GNU C compiler ii gcc-2.95 [c-compiler] 1:2.95.4-27 The GNU C compiler ii gcc-3.3 [c-compiler] 1:3.3.6-15 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.1-21 The GNU C compiler -- no debconf informationdpkg-source-1.13.25-fix-filenames-with-spaces.diff.gz
Description: Binary data
--- End Message ---
--- Begin Message ---Source: dpkg Source-Version: 1.14.7 We believe that the bug you reported is fixed in the latest version of dpkg, which is due to be installed in the Debian FTP archive: dpkg-dev_1.14.7_all.deb to pool/main/d/dpkg/dpkg-dev_1.14.7_all.deb dpkg_1.14.7.dsc to pool/main/d/dpkg/dpkg_1.14.7.dsc dpkg_1.14.7.tar.gz to pool/main/d/dpkg/dpkg_1.14.7.tar.gz dpkg_1.14.7_i386.deb to pool/main/d/dpkg/dpkg_1.14.7_i386.deb dselect_1.14.7_i386.deb to pool/main/d/dpkg/dselect_1.14.7_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Guillem Jover <[EMAIL PROTECTED]> (supplier of updated dpkg package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 08 Oct 2007 07:31:34 +0300 Source: dpkg Binary: dpkg dselect dpkg-dev Architecture: source i386 all Version: 1.14.7 Distribution: unstable Urgency: low Maintainer: Dpkg Developers <[EMAIL PROTECTED]> Changed-By: Guillem Jover <[EMAIL PROTECTED]> Description: dpkg - package maintenance system for Debian dpkg-dev - package building tools for Debian dselect - user tool to manage Debian packages Closes: 173463 216075 323911 379418 427210 432893 437825 440502 440537 440636 440859 440956 440962 440972 440973 441051 441106 441113 443190 443191 443276 444362 445380 Changes: dpkg (1.14.7) unstable; urgency=low . [ Guillem Jover ] * Add back $dpkglib into @INC, needed by the controllib.pl require in 822-date. Closes: #440962 * Document in dpkg-scanpackages that apt now requires Packages.bz2 in preference to Packages.gz. Closes: #440973 * Stop recognizing the obsolete Optional field when building packages. * Use fakeroot, if present, by default to gain root privileges in dpkg-buildpackage. * Fix typos in dpkg-deb.1 and start-stop-daemon.8. Closes: #441051 Thanks to A. Costa. * After '<prerm> remove' fails and while doing the error unwinding, if the '<postinst> abort-remove' call succeeds, preserve the old status instead of unconditionally setting it to 'Installed'. Closes: #432893 Thanks to Brian M. Carlson. * Add Vcs-Browser and Vcs-Git fields to debian/control. * Add a Homepage field to debian/control (to be changed later when there's a more formal site). * Allow comparing unsupported architectures for equality and identity. Based on a patch by Frank Lichtenheld. Closes: #427210 * Document Origin and Bugs fields in deb-control.5. Closes: #173463 * Do not replace substvars for build dependencies (it was not supported anyway). . [ Frank Lichtenheld ] * Add _MTN to dpkg-source -i default regex. Suggested by Jari Aalto. * Convert dpkg-buildpackage to a Perl script. Fix some bugs in the new script detected in experimental: Closes: #444362 * dpkg-buildpackage accepts a -j<n> option now which will set MAKEFLAGS(-j<n>) and DEB_BUILD_OPTIONS(parallel=<n>) accordingly. parallel=<n> in DEB_BUILD_OPTIONS will be passed to MAKEFLAGS as well. Based on an idea by Robert Millan. Closes: #440636 * Allow dpkg-source -I without a pattern which will load a default list of pattern similar to -i without regexp. Patch by Jari Aalto. Closes: #440972 * Rework documentation of dpkg-source's -i and -I options. Closes: #323911, #440956 * Add --utf8-strings to gpg call in dpkg-buildpackage since that seems to be the better default. Suggested by Székelyi Szabolcs. Closes: #379418 * Let dpkg-buildpackage error out early if the version number from the changelog is not a valid Debian version. Closes: #216075 * Fix dpkg-source to create correct diffs for files with spaces in their name (apparantly we don't have many of those ;). Based on a patch by Marcel Toele. Closes: #445380 . [ Updated dpkg translations ] * Basque (Piarres Beobide). Closes: #440859 * Danish (Claus Hindsgaul). Closes: #441106 * French (Frédéric Bothamy). * German (Sven Joachim). Closes: #440537 * Nepali (Shiva Prasad Pokharel). Closes: #437825 * Portuguese (Miguel Figueiredo). Closes: #441113 * Romanian (Eddy Petri?or). * Vietnamese (Clytie Siddall). Closes: #440502 * Korean (Sunjae Park). Closes: #443190 . [ Updated man pages translations ] * German (Helge Kreutzmann). * Swedish (Peter Karlsson). * Korean (Sunjae Park). Closes: #443191 . [ Updated scripts translations ] * Correct a typo in the French translation. Closes: #443276 * Swedish (Peter Karlsson). Files: 95f1bea363e91623bff37c6ca6f7ac27 995 admin required dpkg_1.14.7.dsc 909dbcbab6d77d1af18430336b7cb256 5935888 admin required dpkg_1.14.7.tar.gz e36cfe7a3c85bb13a8e7458696e12fff 2093642 admin required dpkg_1.14.7_i386.deb 99e739b9c8f50f1773555227efcae534 510314 admin required dselect_1.14.7_i386.deb c7af636e7bbea0ee19aaccc8c2c39715 228114 utils optional dpkg-dev_1.14.7_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHCbhduW9ciZ2SjJsRAhc0AKC1pZsD622xHuJoR6xaaFVLd8arKACg+G/y 3l/y6E2FB470Q6PsZ1bhoVY= =XsVF -----END PGP SIGNATURE-----
--- End Message ---