I build a lot of package in RHEL ecosystem with mock so I am pretty experienced with packaging. Recently I started creating Debian packages and building them doesn't make any sense. When I am building a source package .dsc is created which contains some metadata, build dependency and file hashes for the src and tarred debian folder.
- Running debuild -S -us -uc should not complain about dependency as I am only creating .dsc file for which values are taken from control file and the file hashes of sources
dpkg-checkbuilddeps: error: unmet build dependencies: dovecot-dev (>= 1:2.2.13-4)
I am using pbuilder which should be sufficient for downloading dependency automatically.
Even if when I am not using it I should only need build dependency when I am building
the actual package.
2. If I am on my sources folder why should debian ask for a tar.gz? This is pointless.
Rather there should be only debian folder and in parent directory there should be source tar.