On 02/10/22 at 04:23 +0200, Adam Borowski wrote:
> Nǐmen hǎo!
> I did another _source_ rebuild of the archive -- checking if every package
> is capable of repacking its source.  Ie, if you can unpack it, (possibly
> modify), and pack again.
> 
> Putting aside packages that are broken in other ways as well (B-Depends
> non-installable, FTBFS or a RC bug), there seems to be no new fancy types
> of breakage that haven't been fixed in 2020.
> 
> This leaves one big set: packages that fail the clean step due to
> undeclared B-Depends.  According to the Policy:
> 
> # "clean"
> #    Only the "Build-Depends" and "Build-Conflicts" fields must be
> #    satisfied when this target is invoked.
> 
> ... which makes sense as you might be interested in only an arch:all or
> arch:any build, and we have no clean-indep/clean-arch targets.
> 
> For sbuild, the incantation is:
> alias sbuild-source='sbuild -s --source-only-changes --no-arch-all 
> --no-arch-any --no-run-autopkgtest'
> 
> As 291 packages fail this requirement, I'm posting here before (instead?)
> filing bugs.  There's also a question of severity.
> 
> Raw list and dd-list attached.

All those source packages are Architecture: all.

To make this easier to detect (and avoid regressions in the long term),
I wonder if sbuild should have an option that would make it do, for a
source+all build:
- install B-D
- run clean
- install B-D-I
- build the binary packages

Lucas

Reply via email to