bzr bd -S, get-orig-source, and quilt patches

Barry Warsaw barry at python.org
Tue Jan 22 22:55:30 UTC 2013


I'm working on a extending the existing python-whoosh packaging to include
Python 3 support.  The current released upstream tarball isn't Python 3.3
compatible, but its Mercurial repository is.  I've written a
get-{packaged-}orig-source target in my d/rules that does the right thing and
with some very inconvenient testing[1], am fairly certain my new rules work.

Now I've pushed my branch to lp:~barry/ubuntu/raring/python-whoosh/py3 but
`bzr bd -S` doesn't work, because I've modified d/patches/*.patch to fix a
problem in the hg trunk, and this doesn't apply to the unpacked source tree in
the raring branch.

Maybe what I'm trying to do is too stupid to succeed, but I thought I'd at
least ask to see if anybody has suggestions.  Is it possible to modify an
existing source branch with a new tarball containing a quilt patch that
doesn't apply to the source branch?

Cheers,
-Barry


[1] Involving unpacking the hg tarball and `cp -a`ing the debian directory
into there.  No, symlinking didn't work because of:

$ debuild -S
 dpkg-buildpackage -rfakeroot -d -us -uc -S
dpkg-buildpackage: source package python-whoosh
dpkg-buildpackage: source version 2.4.1+hg1423-0ubuntu1
dpkg-buildpackage: source changed by Barry Warsaw <barry at ubuntu.com>
[...]
dpkg-source: info: building python-whoosh in python-whoosh_2.4.1+hg1423-0ubuntu1.debian.tar.gz
dpkg-source: internal error: add_directory() only handles directories
dpkg-buildpackage: error: dpkg-source -b python-whoosh-2.4.1+hg1423.orig gave error exit status 29
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -d -us -uc -S failed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20130122/07abe1ee/attachment.pgp>


More information about the bazaar mailing list