Package: sbuild
Version: 0.90.2
Severity: wishlist

Dear Maintainer,

I've got caught a bit by surprise by #1115489 despite an
associated Salsa CI default pipeline normally aimed at capturing
the common regression of arch-all only build failures.  Having a
look at the build log[1], I noticed that the build command was
missing --no-arch-any flag in addition of the --arch-all.
Therefore, I have informed the Salsa CI team[2].

[1]: https://salsa.debian.org/med-team/altree/-/jobs/8300242
[2]: https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/499

Now to the sbuild point: when wrapping up messages, it occurred
to me that perhaps specifying --arch-all explicitly should imply
that an arch-any bulid is not wanted.  I feel that having both
binary-all and binary-any builds out of a plain --arch-all flag
is surprising.  Currently I see the following behavior when
passing --arch-all and --arch-any build options, without passing
any --no-arch-* option otherwise:

        none  --arch-all  --arch-any | implied outcome
        ----  ----------  ---------- + ---------------------
          *                          | --arch-all --arch-any
                   *                 | --arch-all --arch-any
                               *     | --arch-all --arch-any
                   *           *     | --arch-all --arch-any

Do you think it would make sense to have a behavior looking like
the following instead?

        none  --arch-all  --arch-any | implied outcome
        ----  ----------  ---------- + ----------------------------------
          *                          | --arch-all --arch-any (no changes)
                   *                 | --arch-all --no-arch-any
                               *     | --no-arch-all --arch-any
                   *           *     | --arch-all --arch-any (no changes)

I have not thought too much of the implications of such
behavioral change and I could be missing some big picture here,
thus the wishlist rating.

Have a nice day,  :)
Étienne.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.7+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sbuild depends on:
ii  adduser         3.153
ii  libsbuild-perl  0.90.2
ii  perl            5.40.1-6

Versions of packages sbuild recommends:
ii  autopkgtest  5.51
ii  debootstrap  1.0.141
ii  iproute2     6.16.0-1
ii  mmdebstrap   1.5.7-3
ii  uidmap       1:4.18.0-1

Versions of packages sbuild suggests:
ii  e2fsprogs  1.47.2-3+b3
ii  kmod       34.2-2
ii  schroot    1.6.13-7
ii  wget       1.25.0-2

-- no debconf information

-- 
  .''`.  Étienne Mollier <[email protected]>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/3, please excuse my verbosity
   `-    on air: Journey - Midnight Dreamer

Attachment: signature.asc
Description: PGP signature

Reply via email to