Package: dpkg-dev Version: 1.16.8 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi, I try to build the GWT source package which has somewhat dirty patch series: First a file is patched and then a later patch deletes it. The parent dir of this file is empty. It might not be a good idea in the first place to have such a patch series. But dpkg-source --after-build fails on it. It can not copy the original file because the parent directory of the original file does not exist anymore. I suspect, that the patch command deleted all empty parent directories as described for the -remove-empty-files option. I tried to provide a fix that calls make_path($target_dir) in scripts/Dpkg/Source/Quilt.pm but I failed perl. I'll attach the tar.gz of a minimal source tree to reproduce the bug. Just call dpkg-source --before-build . && dpkg-source --after-build . Regards, Thomas Koch - -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-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 dpkg-dev depends on: ii base-files 6.9 ii binutils 2.22-6.1 ii bzip2 1.0.6-3 ii libdpkg-perl 1.16.8 ii make 3.81-8.2 ii patch 2.6.1-3 ii xz-utils 5.1.1alpha+20120614-1 Versions of packages dpkg-dev recommends: ii build-essential 11.5 ii fakeroot 1.18.4-2 ii gcc [c-compiler] 4:4.7.1-1 ii gcc-4.4 [c-compiler] 4.4.7-1 ii gcc-4.5 [c-compiler] 4.5.3-12 ii gcc-4.6 [c-compiler] 4.6.3-8 ii gcc-4.7 [c-compiler] 4.7.1-2 ii gnupg 1.4.12-4+b1 ii gpgv 1.4.12-4+b1 ii libalgorithm-merge-perl 0.08-2 Versions of packages dpkg-dev suggests: ii debian-keyring 2012.06.01 - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQGVN6AAoJEAf8SJEEK6ZaWHkP/0jQ/ZVu2e/dNyNj4PATe1Yj eJjzVz+PEoKvU8gmDqN1efy7tP0tpKs2HlHGHin3AbtKF9G1YBuLSVXPB47e4G6w H/jqRq2BmumDT2aRWjGl4whSCxjzFVC1Xgy8qGhh6uVWtxTUhLwsmjjcEFQJfvEA djCShu8q+o930rA0j7hWthih/9rZ+St2yMXk82rb++vD8N7vooZ/aY+Ic8uL+jpE B5c5NCTkKNNTNg1G2RKQut4OgWcnEO3ilOjwSR6jsNdIs7s4i/loq7j76IoqWgdj TwO6v6NCDl9VWMu5jtj+gtYaqBjywaDs3vTtjE6Tv/9TavHZnn7zXtFdlchlccy/ 9t/AF7iZJoSapTUFhWEWFyWBeJbq3PU+Lasjq7bL+QB12y1DybjWz7Rpys6ZX6H9 4x5Jz6IaF9UiNDtL9D4PgX0vMSFOx+7RQNvSuwf3xuyLDGPGPkfyYVvPwT3aJ2xp s0NnzOyd43/0DMMZOhxhs/FK6YJw7rzp/bMcq0EmNgrAkPr7x4Xg/DO0EO2S1lL8 tS3xjrlytk4JLFi/OD/9VWfN4/dOTNy7FjGR0m+F7xCsCckfyk7tAoTqrGhGw0JA OaoUjHhalQ73uhig8UEIZ+s3CdS1fjAzhZotw4qaVFxuU02aM21633rCbLznWynf F/fPdZqZd89CeGaEIHy0 =wkC0 -----END PGP SIGNATURE-----
dpkg-bug.tar.gz
Description: GNU Zip compressed data