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


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

Re: Generic Python packages which don’t work on all architectures

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Paul Wise <pabs@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Generic Python packages which don’t work on all architectures
Date Thu, 21 Jan 2021 02:50:01 +0100
Message-ID <BzxgJ-6DT-1@gated-at.bofh.it> (permalink)
References <BzrEm-35B-13@gated-at.bofh.it>
X-Original-To Stephen Kitt <skitt@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jan 21 01:44:55 2021
Old-Return-Path <paul.is.wise@gmail.com>
X-Amavis-Spam-Status No, score=-5.614 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SARE_HEAD_8BIT_SPAM=0.888] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=99p3CVK3RuZPSv83vOJhfAtMYuTepS/D4/X6d3sVUf0=; b=XdCcX24qE4WAIWUlvofhZs7ux1dtq1Z8j1zW+kzGprNbpByZd/qf5XvfMIVVMAlyTx oEKOdmcgHl3vAhP1VjKgFJ2ciWHhqtCZk/oJ5BM/8xanTwHfqLZX67cdRCmayopr7tFE yPxFCHdIpR7L8PHcDhhybAXU1TLGIMbjISMeBsAfr2CoGPmshvwuWcrIb5VTDCUr8M8N ErsGzEd6iaWEa3+SeHPiXxb7rRdXHoMoL86WFXMn3ovYbuzcrbx8SUR4FHrUO6ZmMlDL i+KNwWJdNlq/jeTCa0s9auBbymgrxI8Tb3Aj3xwArtlZVV0r2T1palTuAbej53rvFP9i 5eGA==
X-Gm-Message-State AOAM530bwt4EcSAHVt47iIksv4pAf4j6QL8mtcUTIagGjLZEZzh3aKYb AQYgk7eNuKo2AXG3H8bZPJB3XJRG3bem/WDTZR8=
X-Google-SMTP-Source ABdhPJx4IFzAchTCw5kYsO9yTiP4EUEjeZDt2rN6ZI7/hNmn8I7qMMOatttMlz4q2sZxD+QpSSnrn7yn56JnQBXjfDY=
X-Received by 2002:a1c:e1d4:: with SMTP id y203mr5327116wmg.50.1611193479377; Wed, 20 Jan 2021 17:44:39 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18896
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAKTje6GzMYjyQdyeiY81bG72hU9koSW9f1EZJeRdmAA7Z--yvw@mail.gmail.com
Approved robomod@news.nic.it
Lines 34
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Python <debian-python@lists.debian.org>
X-Original-Date Thu, 21 Jan 2021 01:44:28 +0000
X-Original-Message-ID <CAKTje6GzMYjyQdyeiY81bG72hU9koSW9f1EZJeRdmAA7Z--yvw@mail.gmail.com>
X-Original-References <20210120203941.1a41cc06@heffalump.sk2.org>
Xref csiph.com linux.debian.maint.python:13120

Show key headers only | View raw


On Wed, Jan 20, 2021 at 7:40 PM Stephen Kitt wrote:

> I’ve come across a situation which doesn’t seem to be addressed by existing
> policies: the python-ptrace source package only ships
> architecture-independent content, but it works on a small number of
> architectures (currently, 32/64-bit x86, 32-bit ARM, 32/64-bit PPC).

The iotop package is in a similar situation, it uses Linux kernel APIs
so does not work on Hurd or kFreeBSD.

> As a result, the packages it builds are installable everywhere, but that’s a
> false promise since they don’t work everywhere. Would it make sense to
> convert it to an architecture-dependent package, only on those architectures
> which are really supported?

This is what I eventually chose for iotop. At the time I wanted dpkg
and dak to support something like Architecture: linux-all, which would
build arch: all packages, but only put them in the Packages files for
the Linux architectures.

I am now thinking that a more generic solution than Architecture:
linux-all is needed, in order to cover your case as well. Perhaps
something like Available-Architecures or Runtime-Architectures or
Architecture-all-Architectures: or similar.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

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


Thread

Generic Python packages which don’t work on all  architectures Stephen Kitt <skitt@debian.org> - 2021-01-20 20:50 +0100
  Re: Generic Python packages which don’t work on all architectures Matthias Klose <doko@debian.org> - 2021-01-20 21:10 +0100
  Re: Generic Python packages which don’t work on all architectures Paul Wise <pabs@debian.org> - 2021-01-21 02:50 +0100
    Re: Generic Python packages which don’t work on all architectures Christian Kastner <ckk@debian.org> - 2021-01-21 08:10 +0100
    Re: Generic Python packages which don’t work on all architectures Ole Streicher <olebole@debian.org> - 2021-01-21 14:20 +0100
      Re: Generic Python packages which don’t work on all architectures Paul Wise <pabs@debian.org> - 2021-01-21 14:30 +0100
        Re: Generic Python packages which don’t work on all architectures Ole Streicher <olebole@debian.org> - 2021-01-21 16:50 +0100
          Re: Generic Python packages which don’t work on all architectures Paul Wise <pabs@debian.org> - 2021-01-22 00:40 +0100
            Re: Generic Python packages which don’t work on all architectures Paul Wise <pabs@debian.org> - 2021-01-22 00:50 +0100
            Re: Generic Python packages which don’t work on all architectures Ole Streicher <olebole@debian.org> - 2021-01-22 10:00 +0100
      Re: Generic Python packages which don’t work on  all architectures Ansgar <ansgar@43-1.org> - 2021-01-21 14:40 +0100
        Re: Generic Python packages which don’t work on all architectures Ole Streicher <olebole@debian.org> - 2021-01-21 16:20 +0100

csiph-web