Package: sbuild
Version: 0.76.0-1
Severity: wishlist

Greetings,

I was reading the man page for sbuild and noticed the BUILD ARTIFACTS truth
table:

BUILD_ARCH_ANY   BUILD_ARCH_ALL   BUILD_SOURCE   dpkg-buildpackage flag
────────────────────────────────────────────────────────────────────────
false            false            false          invalid
false            false            true           -S
false            true             false          -A
false            true             true           -g
true             false            false          -B
true             false            true           -G
true             true             false          -b
true             true             true           no option

The final entry states "no option" for dpkg-buildpackage flag.

Since dpkg 1.15.8, the options -F does suffice for build any/all/source. From
dpkg-buildpackage's man page:

-F     Equivalent to --build=full, --build=source,binary or
--build=source,any,all (since dpkg 1.15.8).

Perhaps consider using -F in sbuild or updating documentation.

Thanks!

-m


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sbuild depends on:
ii  adduser         3.117
ii  libsbuild-perl  0.76.0-1
ii  perl            5.26.2-6

Versions of packages sbuild recommends:
ii  autopkgtest  5.3.1
iu  debootstrap  1.0.103
ii  schroot      1.6.10-5

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  kmod       25-1
ii  wget       1.19.5-1

-- no debconf information

Reply via email to