Build with DEB_BUILD_OPTIONS="nocheck" when testing for reproducibility?
Otto Kekäläinen
otto at debian.org
Sat Mar 22 22:55:50 GMT 2025
> Maybe it would be worth adding DEB_BUILD_OPTIONS=nocheck on the second
> build for https://tests.reproducible-builds.org/debian ? It might save
> some build time and find some issues that would probably be worth
> fixing...
This sounds like a good idea!
> > Is there some general technique to run specific packages with
> > DEB_BUILD_OPTIONS="nocheck" in reproducible builds?
>
> Well, you can use salsa-ci reprotest job or run reprotest locally with
> DEB_BUILD_OPTIONS=nocheck or run reprotest where
> DEB_BUILD_OPTIONS=nocheck is in one of the builds but not the others
> (e.g. passing a custom environment variation).
I was raising this in the context of actual
https://tests.reproducible-builds.org/debian, not Salsa CI. But if you
have lots of hardware then I guess running the post-build tests is not
an issue from resource point of view, and if you start running the
second build with "nocheck" the cases where tests indeed affect the
build artifacts will be caught.
More information about the Reproducible-builds
mailing list