Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #16898

Re: dpkg-buildpackage vs sbuild with python packaging

Path csiph.com!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: dpkg-buildpackage vs sbuild with python packaging
Date Wed, 11 Jun 2025 17:30:02 +0200
Message-ID <KWvyN-9Qc4-1@gated-at.bofh.it> (permalink)
References <KWu9H-9P7V-1@gated-at.bofh.it> <KWuW5-9PHr-5@gated-at.bofh.it> <KWvfr-9Q4b-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Jun 11 15:22:55 2025
Old-Return-Path <sanvila@debian.org>
X-Amavis-Spam-Status No, score=-112.416 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-2.907, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Debian-User sanvila
X-Mailing-List <debian-python@lists.debian.org> archive/latest/23030
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/b92595e6-7a21-4e7d-a58b-c23c21110641@debian.org
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python <debian-python@lists.debian.org>
X-Original-Date Wed, 11 Jun 2025 17:22:37 +0200
X-Original-Message-ID <b92595e6-7a21-4e7d-a58b-c23c21110641@debian.org>
X-Original-References <1779402678.132016719.1749649153102.JavaMail.zimbra@synchrotron-soleil.fr> <e0bd36c3-4e1a-432d-8fb9-a2bb110a82e2@debian.org> <1418771816.132111292.1749653531548.JavaMail.zimbra@synchrotron-soleil.fr>
Xref csiph.com linux.debian.maint.python:16898

Show key headers only | View raw


El 11/6/25 a las 16:52, PICCA Frederic-Emmanuel escribió:
>> When using dpkg-buildpackage, try at least using a chroot containing
>> only build-essential packages and the build-dependencies.
> 
> both are using the python -m build method...
> 
> so the setuptools build system has different behaviour depending on other installed  packages ?

That's what it seems, yes.

If you want to be sure, you could in theory start from a minimal chroot,
then try adding the packages that you have in your unstable system,
one by one, until the end result becomes different.

In fact, you have discovered a potential Build-Conflicts, but the number
of potential build-conflicts is so big that many people would
not consider worthy to know which one it is (unless you are curious).

In practice, we just take for granted that the build should
be done in a minimal chroot.

Thanks.

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-11 16:00 +0200
  Re: dpkg-buildpackage vs sbuild with python packaging Santiago Vila <sanvila@debian.org> - 2025-06-11 16:50 +0200
    Re: dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-11 17:10 +0200
      Re: dpkg-buildpackage vs sbuild with python packaging Santiago Vila <sanvila@debian.org> - 2025-06-11 17:30 +0200
    Re: dpkg-buildpackage vs sbuild with python packaging Santiago Vila <sanvila@debian.org> - 2025-06-11 17:30 +0200
      Re: dpkg-buildpackage vs sbuild with python packaging Santiago Vila <sanvila@debian.org> - 2025-06-11 17:30 +0200
      Re: dpkg-buildpackage vs sbuild with python packaging Santiago Vila <sanvila@debian.org> - 2025-06-11 17:40 +0200
        Re: dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-11 18:00 +0200
          Re: dpkg-buildpackage vs sbuild with python packaging Stefano Rivera <stefanor@debian.org> - 2025-06-11 18:30 +0200
      Re: dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-11 17:50 +0200
      Re: dpkg-buildpackage vs sbuild with python packaging Peter Pentchev <roam@ringlet.net> - 2025-06-11 17:50 +0200
        Re: dpkg-buildpackage vs sbuild with python packaging Peter Pentchev <roam@ringlet.net> - 2025-06-11 18:00 +0200
        Re: dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-11 18:10 +0200
    Re: dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-11 17:30 +0200
      Re: dpkg-buildpackage vs sbuild with python packaging Stefano Rivera <stefanor@debian.org> - 2025-06-11 17:50 +0200
        Re: dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-11 18:00 +0200
          Re: dpkg-buildpackage vs sbuild with python packaging thomas@goirand.fr - 2025-06-11 18:40 +0200
            Re: dpkg-buildpackage vs sbuild with python packaging Stefano Rivera <stefanor@debian.org> - 2025-06-11 18:40 +0200
              Re: dpkg-buildpackage vs sbuild with python packaging stefanor@debian.org - 2025-06-11 19:30 +0200
                Re: dpkg-buildpackage vs sbuild with python packaging stefanor@debian.org - 2025-06-12 11:30 +0200
                Re: dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-12 11:50 +0200
                Re: dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-12 11:40 +0200
              Re: dpkg-buildpackage vs sbuild with python packaging PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2025-06-11 19:40 +0200
              Re: dpkg-buildpackage vs sbuild with python packaging thomas@goirand.fr - 2025-06-11 20:50 +0200
        Re: dpkg-buildpackage vs sbuild with python packaging Peter Pentchev <roam@ringlet.net> - 2025-06-11 18:00 +0200

csiph-web