What is the correct naming convention for a patched package?
I am trying to put together a version of exiv2 with patch to add an extra schema.
here is what I have done so far:
$ sudo apt-get build-dep exiv2
$ cd src/exiv2
$ apt-get source exiv2
$ cd exiv2-0.23-1ubuntu2
... apply patch
$ dpkg-source --commit
$ dch -i
exiv2 (0.23-1ubuntu2-DwC1) trusty; urgency=medium
$ debuild -S -sd -k1230CB40
But I then get an error message:
This package has a Debian revision number but there does not seem to be an appropriate original tar file or .orig directory in the parent directory; (expected one of exiv2_0.23-1ubuntu2.orig.tar.gz, exiv2_0.23-1ubuntu2.orig.tar.bz2, exiv2_0.23-1ubuntu2.orig.tar.lzma, exiv2_0.23-1ubuntu2.orig.tar.xz or exiv2-0.23-1ubuntu2.orig) continue anyway? (y/n) y
dpkg-source -b exiv2-0.23-1ubuntu2 dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../exiv2_0.23-1ubuntu2.orig.tar.{bz2,gz,lzma,xz} dpkg-buildpackage: error: dpkg-source -b exiv2-0.23-1ubuntu2 gave error exit status 255 debuild: fatal error at line 1364: dpkg-buildpackage -rfakeroot -d -us -uc -S -sd failed
$ ls ..
exiv2-0.23-1ubuntu2 exiv2_0.23-1ubuntu2.debian.tar.gz exiv2_0.23-1ubuntu2.dsc exiv2_0.23-1ubuntu2-DwC1_source.build exiv2_0.23.orig.tar.gz
What do I need to do to allow debuild to recognize the original tar file?
0.23-1ubuntu3~DwC1
is working fine here. – Jason Conti Apr 19 '14 at 18:25-DwC1
then changed the version to~DwC1
dch will rename the directory back, but it shouldn't get you thedch warning: no orig tarball found for the new version.
warning. So it was probably okay. – Jason Conti Apr 19 '14 at 18:39