>From our production experience the cleanest way to build a package is gbp
(which heavily relies on git structure with source code). You can create
required git structure by importing src package (gbp supports this) and
building from this git.

It's pdbuilder underneath, which in turn uses dpkg-buildpackage, but gpb
controls the cleannes of the build area.

On Fri, Jan 22, 2021, 14:54 Vincent Lefevre <vinc...@vinc17.net> wrote:

> I'm surprised to see on
>
>   https://wiki.debian.org/SimpleBackportCreation
>
> that the recommended command to build a Debian package is
> dpkg-buildpackage. I had problems with it in the past as it
> doesn't clean up the environment (and some packages are very
> sensitive to some environment variables), and AFAIK, debuild
> (which I now use) is usually recommended, or even pdebuild.
>
> Has anything changed?
>
> --
> Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
>
>

Reply via email to