Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #230977
| From | George Shuklin <george.shuklin@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: command to build a Debian package |
| Date | 2021-01-22 18:10 +0100 |
| Message-ID | <BA86C-3yI-5@gated-at.bofh.it> (permalink) |
| References | <BA4cF-14T-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
>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 <vincent@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 <vincent@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) > >
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
command to build a Debian package Vincent Lefevre <vincent@vinc17.net> - 2021-01-22 14:00 +0100 Re: command to build a Debian package Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-22 14:20 +0100 Re: command to build a Debian package Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2021-01-22 14:20 +0100 Re: command to build a Debian package George Shuklin <george.shuklin@gmail.com> - 2021-01-22 18:10 +0100
csiph-web