[Pkg-rust-maintainers] Bug#908961: cargo: debian/rules overrides DEB_BUILD_PROFILES
Vasudev Kamath
vasudev at copyninja.info
Sun Oct 7 06:03:24 BST 2018
Hi Helmut,
Helmut Grohne <helmut at subdivi.de> writes:
> 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.
So setting nocheck to DEB_BUILD_OPTIONS should be the right approach
right?.
Cheers,
More information about the Pkg-rust-maintainers
mailing list