• Clean-room build of deb package?

    From Barry Scott@21:1/5 to All on Thu Dec 29 14:10:01 2022
    On Fedora/RHEL I would use mock to build a RPM from source to ensure
    that I have the RPM spec file correctly written.

    Mock ensures that no packages in my dev machine are used to build the RPM.

    What is the debian version of that tool?

    Barry

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Reinhard Tartler@21:1/5 to barry@barrys-emacs.org on Thu Dec 29 14:10:01 2022
    https://wiki.debian.org/sbuild

    On Thu, Dec 29, 2022 at 8:02 AM Barry Scott <barry@barrys-emacs.org> wrote:

    On Fedora/RHEL I would use mock to build a RPM from source to ensure
    that I have the RPM spec file correctly written.

    Mock ensures that no packages in my dev machine are used to build the RPM.

    What is the debian version of that tool?

    Barry




    --
    regards,
    Reinhard

    <div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace"><a href="https://wiki.debian.org/sbuild">https://wiki.debian.org/sbuild</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 29,
    2022 at 8:02 AM Barry Scott &lt;<a href="mailto:barry@barrys-emacs.org">barry@barrys-emacs.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fedora/RHEL
    I would use mock to build a RPM from source to ensure <br>
    that I have the RPM spec file correctly written.<br>

    Mock ensures that no packages in my dev machine are used to build the RPM.<br>

    What is the debian version of that tool?<br>

    Barry<br>


    </blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">regards,<br>    Reinhard</div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Hilmar_Preu=c3=9fe?=@21:1/5 to All on Thu Dec 29 14:10:01 2022
    Am 29.12.2022 um 14:02 teilte Barry Scott mit:

    Hi,

    On Fedora/RHEL I would use mock to build a RPM from source to ensure
    that I have the RPM spec file correctly written. Mock ensures that
    no packages in my dev machine are used to build the RPM.

    What is the debian version of that tool?


    https://wiki.debian.org/sbuild could be a good starter.

    H.
    --
    sigfault

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sebastian Kuzminsky@21:1/5 to Barry Scott on Thu Dec 29 17:30:01 2022
    On 12/29/22 06:02, Barry Scott wrote:
    On Fedora/RHEL I would use mock to build a RPM from source to ensure
    that I have the RPM spec file correctly written.

    Mock ensures that no packages in my dev machine are used to build the RPM.

    What is the debian version of that tool?

    I use `pbuilder` for this purpose: <https://pbuilder-team.pages.debian.net/pbuilder/>


    --
    Sebastian Kuzminsky

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Soren Stoutner@21:1/5 to All on Thu Dec 29 09:39:20 2022
    Both pbuilder and sbuild have been suggested. Packagers use either, but, if
    it is of interest, sbuild is what the Debian architecture uses to build your package after you upload it.

    On Thursday, December 29, 2022 9:21:39 AM MST Sebastian Kuzminsky wrote:
    On 12/29/22 06:02, Barry Scott wrote:
    On Fedora/RHEL I would use mock to build a RPM from source to ensure
    that I have the RPM spec file correctly written.

    Mock ensures that no packages in my dev machine are used to build the RPM.

    What is the debian version of that tool?

    I use `pbuilder` for this purpose: <https://pbuilder-team.pages.debian.net/pbuilder/>


    --
    Soren Stoutner
    soren@stoutner.com
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmOtwrgACgkQwufLJ66w tgPJaRAAqJHyStpkLVN/8j+B81Euq1/In+dFTNn1TqiTH37NsD/ucemHde6PguLt sTsqXl4l4X3255ZRUmk4PQWpP6XBBj4E4e2tXe8Xtdg9DNgcVMTPXsHmwGX7PnTa iL88EPp2uJuL+/FkrbjqwQKv6hpl4pxjS0JSzgEkqOOxy+rXwEyevptFn5vKkZ6U C/3Q0tpCwF5lO+M9ltUIb+rgKGXVcgyPRedtUcXao4Fk/sVE7fOu0PveuwCmzdcs tvG7jyBcsbHo4d5hewbpDnwxTdNkzpzKxgGgxbhhzIkeK2gL2VkTGaoEstbiMXH5 yBUyO2RnVUbolEjzZ7D88ToZtqrlxgZpJLJ0Rr9I8DBmZVRnEf9WEj6t+tTh2nP4 e41NbZWdC9gJ8E+qA3jZgoULkWXsqJ0+2i8Tyrz38BUalQukcsAuLEUP6bqn7DAb w097fu8akBaMVXeCshF+0CJReNzmg1qFxVsRVPyo+yau+jj3lho3Ec7nnlBTwwXs VMa8ZjW6uBicrAe7+/S3VGGoLUYrpLKfefAqKL3vs8LG1tgqjiXSD/sNE/euAtIU bSp3bygdv8kUBLBZ8mlMJRmb+noDuC8zvHv/hjePRW402NXA1Sg2iAR2tXebzAwL HGJomj7ZGB4MjZitN3oQZJKn4rEE5G7AXlvXpIMIIAdlr27ZwF8=
    =Nu41
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ryan Pavlik@21:1/5 to soren@stoutner.com on Thu Dec 29 18:40:01 2022
    For completeness, in addition to pbuilder/cowbuilder and sbuild, there is
    also whalebuilder which uses Docker.

    On Thu, Dec 29, 2022, 10:39 AM Soren Stoutner <soren@stoutner.com> wrote:

    Both pbuilder and sbuild have been suggested. Packagers use either, but,
    if
    it is of interest, sbuild is what the Debian architecture uses to build
    your
    package after you upload it.

    On Thursday, December 29, 2022 9:21:39 AM MST Sebastian Kuzminsky wrote:
    On 12/29/22 06:02, Barry Scott wrote:
    On Fedora/RHEL I would use mock to build a RPM from source to ensure
    that I have the RPM spec file correctly written.

    Mock ensures that no packages in my dev machine are used to build the
    RPM.

    What is the debian version of that tool?

    I use `pbuilder` for this purpose: <https://pbuilder-team.pages.debian.net/pbuilder/>


    --
    Soren Stoutner
    soren@stoutner.com

    <div dir="auto">For completeness, in addition to pbuilder/cowbuilder and sbuild, there is also whalebuilder which uses Docker.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 29, 2022, 10:39 AM Soren Stoutner &lt;<a href="
    mailto:soren@stoutner.com">soren@stoutner.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Both pbuilder and sbuild have been suggested.  Packagers use either, but, if <br>
    it is of interest, sbuild is what the Debian architecture uses to build your <br>
    package after you upload it.<br>

    On Thursday, December 29, 2022 9:21:39 AM MST Sebastian Kuzminsky wrote:<br> &gt; On 12/29/22 06:02, Barry Scott wrote:<br>
    &gt; &gt; On Fedora/RHEL I would use mock to build a RPM from source to ensure<br>
    &gt; &gt; that I have the RPM spec file correctly written.<br>
    &gt; &gt; <br>
    &gt; &gt; Mock ensures that no packages in my dev machine are used to build the RPM.<br>
    &gt; &gt; <br>
    &gt; &gt; What is the debian version of that tool?<br>
    &gt; <br>
    &gt; I use `pbuilder` for this purpose:<br>
    &gt; &lt;<a href="https://pbuilder-team.pages.debian.net/pbuilder/" rel="noreferrer noreferrer" target="_blank">https://pbuilder-team.pages.debian.net/pbuilder/</a>&gt;<br>


    -- <br>
    Soren Stoutner<br>
    <a href="mailto:soren@stoutner.com" target="_blank" rel="noreferrer">soren@stoutner.com</a></blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Ryan Pavlik on Thu Dec 29 21:00:02 2022
    On Thu, Dec 29, 2022 at 11:37:00AM -0600, Ryan Pavlik wrote:
    For completeness, in addition to pbuilder/cowbuilder and sbuild, there is also whalebuilder which uses Docker.
    If going for completeness, https://wiki.debian.org/SystemBuildTools#Package_build_tools lists more
    than these three (notably it lists 8 docker-based ones, and I'm sure there
    are more).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Barry Scott@21:1/5 to Soren Stoutner on Fri Dec 30 13:10:01 2022
    On 29/12/2022 16:39, Soren Stoutner wrote:
    Both pbuilder and sbuild have been suggested. Packagers use either, but, if it is of interest, sbuild is what the Debian architecture uses to build your package after you upload it.

    sbuild sound like it matches mock, which is used to build in the Fedora
    infra.

    I'll try and get it working.

    Barry


    On Thursday, December 29, 2022 9:21:39 AM MST Sebastian Kuzminsky wrote:
    On 12/29/22 06:02, Barry Scott wrote:
    On Fedora/RHEL I would use mock to build a RPM from source to ensure
    that I have the RPM spec file correctly written.

    Mock ensures that no packages in my dev machine are used to build the RPM. >>>
    What is the debian version of that tool?
    I use `pbuilder` for this purpose:
    <https://pbuilder-team.pages.debian.net/pbuilder/>


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)