[Pkg-rust-maintainers] Bug#908961: cargo: debian/rules overrides DEB_BUILD_PROFILES

Helmut Grohne helmut at subdivi.de
Sun Sep 16 20:00:10 BST 2018


Source: cargo
Version: 0.29.0-1

debian/rules sets DEB_BUILD_PROFILES. The variable is not meant to be
changed during build. Changing it can lead to inconsistency between
tools run by debian/rules and tools run outside debian/rules, but it
also overrides a user configuration. Please use a different variable for
skipping tests for certain architectures.

Note that you don't have to check for the nocheck profile. Checking the
nocheck option is sufficient, because the spec requires that nocheck is
added to DEB_BUILD_OPTIONS whenever it is present in DEB_BUILD_PROFILES.
Simply setting DEB_BUILD_PROFILES=nocheck without setting
DEB_BUILD_OPTIONS is a build profile specification violation.

Helmut



More information about the Pkg-rust-maintainers mailing list