Proposal for making Multi-Arch:same binNMU-safe

Adrian Bunk bunk at debian.org
Wed Apr 15 23:29:46 BST 2026


On Wed, Apr 15, 2026 at 11:49:42AM +0200, Helmut Grohne wrote:
>...
> Proposed solution
> =================
> 
> Use the timestamp of when the binNMU was requested in the binNMU
> changelog.
> 
> When running wanna-build --binNMU (e.g. via wb wrapper), a row is
> inserted into the transactions table for each architecture setting the
> action to --binNMU. The first change here is using the same timestamp
> for all those rows. The time column already is not unique and this would
> coalesce a few more timestamps to the same values.
>...

"wb nmu <package> . ANY" creates (up to) 18 wanna-build commands, one 
per architecture. Depending on locking, there might be several seconds 
between the first and last command executed.

Other architectures are not binNMU'ed when a Multi-Arch: same package 
needs a binNMU only on a ports architecture, there might already be
a several years old timestamp for this binNMU number on an architecture 
when a "wb nmu <number> <package> . ANY" is issued.

> Helmut

cu
Adrian



More information about the Reproducible-builds mailing list