Comment 9 for bug 1416375

Revision history for this message
Anders Kaseorg (andersk) wrote :

Oh I see what you mean. It has nothing to do with the present patch—rebuilding the current source package with no changes results in a non-working source package.

$ dget -d https://launchpad.net/ubuntu/+archive/primary/+files/openafs_1.6.1-1+ubuntu0.4.dsc
$ dpkg-source -x openafs_1.6.1-1+ubuntu0.4.dsc
$ cd openafs-1.6.1
$ debuild -S
$ cd ..
$ dpkg-source -x openafs_1.6.1-1+ubuntu0.4.dsc
dpkg-source: info: extracting openafs in openafs-1.6.1
dpkg-source: info: unpacking openafs_1.6.1.orig.tar.gz
dpkg-source: info: unpacking openafs_1.6.1-1+ubuntu0.4.debian.tar.xz
dpkg-source: info: applying debian-changes
dpkg-source: info: applying openafs-sa-2013-001.patch
patching file src/libacl/aclprocs.c
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored
patching file src/libadmin/client/afs_clientAdmin.c
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored
patching file src/venus/fs.c
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
dpkg-source: info: if patch 'openafs-sa-2013-001.patch' is correctly applied by quilt, use 'quilt refresh' to update it
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b -B .pc/openafs-sa-2013-001.patch/ --reject-file=- < openafs-1.6.1/debian/patches/openafs-sa-2013-001.patch gave error exit status 1

Is this a dpkg bug?

A workaround is to delete debian/source/options (which contains ‘single-debian-patch’) after extracting the package.