On Thu, Nov 07, 2024 at 04:13:41PM +0000, Aidan wrote:
> I am developing a Debian package and I've had feedback from multiple people
> online informing me I should be using source format 3.0 (quilt) instead of
> 3.0 (native) even though I don't have quilt patches.

Correct.

> ```
> dpkg-source: error: can't build with source format '3.0 (quilt)': no
> upstream tarball found at ../debpic_1.0.0.orig.tar.{bz2,gz,lzma,xz}
> ```
> 
> I can fix this by creating the tarball using
> ```
> tar -czf ../debpic_1.0.0.orig.tar.gz .
> ```

This is wrong.

Both these questions are among the biggest reasons I always recommend:
- to not package your own software unless you are already familiar with
  Debian packaging and are able to clearly distinguish roles and tasks of
  an upstream author and a package maintainer
- and to not package your own software if it's not a properly managed and
  published upstream project that uses at least the basic best practices.

> Whenever I make a change to my program am I meant to run the tar command
> before running dpkg-buildpackage. I'm not sure if I'm misunderstanding the
> workflow.

The workflow implies downloading a properly published upstream tarball
from the upstream website and making your packaging on top of it. All
guides assume this.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature

Reply via email to