Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #230970 > unrolled thread
| Started by | Vincent Lefevre <vincent@vinc17.net> |
|---|---|
| First post | 2021-01-22 14:00 +0100 |
| Last post | 2021-01-22 18:10 +0100 |
| Articles | 4 — 4 participants |
Back to article view | Back to linux.debian.user
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
| From | Vincent Lefevre <vincent@vinc17.net> |
|---|---|
| Date | 2021-01-22 14:00 +0100 |
| Subject | command to build a Debian package |
| Message-ID | <BA4cF-14T-9@gated-at.bofh.it> |
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)
[toc] | [next] | [standalone]
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Date | 2021-01-22 14:20 +0100 |
| Message-ID | <BA4w2-1r4-17@gated-at.bofh.it> |
| In reply to | #230970 |
[Multipart message — attachments visible in raw view] — view raw
On Vi, 22 ian 21, 14:00:42, Alex Mestiashvili wrote: > > On 1/22/21 1:53 PM, Vincent Lefevre 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? > > > > Look on the URL, it is the SimpleBackport. > Ideally you should use a clean chroot. > But any tool resulting in a .deb package is fine. > There are different ways to build a package for sure. Besides, it's a wiki, feel free to edit it ;) (though in this particular case I would rather mention the other tools in addition, together with reasons to use them, instead of just rewriting the page for debuild or pdebuild) Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
[toc] | [prev] | [next] | [standalone]
| From | Alex Mestiashvili <amestia@rsh2.donotuse.de> |
|---|---|
| Date | 2021-01-22 14:20 +0100 |
| Message-ID | <BA4w2-1r4-19@gated-at.bofh.it> |
| In reply to | #230970 |
On 1/22/21 1:53 PM, Vincent Lefevre 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? > Look on the URL, it is the SimpleBackport. Ideally you should use a clean chroot. But any tool resulting in a .deb package is fine. There are different ways to build a package for sure. Best, Alex
[toc] | [prev] | [next] | [standalone]
| From | George Shuklin <george.shuklin@gmail.com> |
|---|---|
| Date | 2021-01-22 18:10 +0100 |
| Message-ID | <BA86C-3yI-5@gated-at.bofh.it> |
| In reply to | #230970 |
[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) > >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web