← Back to team overview

launchpad-users team mailing list archive

Re: Are packages orig.tar.gz and debian.tar.xz necessary? Can they be empty?


On Tue, May 29, 2018 at 10:24:40AM -0300, Gustavo Benedito Costa wrote:
>  The problem is that, if I remove these compressed files and run debuild-S,
> it asked like:
> 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 suru-plus-pack_1.3.4.orig.tar.gz,
> suru-plus-pack_1.3.4.orig.tar.bz2,
> suru-plus-pack_1.3.4.orig.tar.lzma,  suru-plus-pack_1.3.4.orig.tar.xz or
> suru-plus-pack.orig)
> continue anyway? (y/n)

You do need to have the .orig.tar.* present in the parent directory -
debuild -S won't create it, because it's assumed to come from upstream.

My point wasn't that you should remove .orig.tar.*, but that you
shouldn't need to compress .debian.tar.* by hand.

> It is why I depend on compressing files, but it must because of
> debian/source/format. Maybe here is the text in the file format:
> 3.0 (quilt)
> .orig.tar.gz
> .debian.tar.xz
> Is it correct?

It should only have a single line (just the "3.0 (quilt)" one).  The
extra lines are weird though probably harmless.

Colin Watson                                    [cjwatson@xxxxxxxxxxxxx]