Hi!

On Fri, 2018-06-15 at 16:01:54 +0200, Drew Parsons wrote:
> Package: dpkg-dev
> Version: 1.19.0.5
> Severity: normal

> There seems to be an inconsistency in the handling of BUILD_OPTIONS by
> dpkg-buildpackage, in regards to the alternative DEB_BUILD_OPTIONS and
> DEB_BUILD_MAINT_OPTIONS handled by dpkg-buildflags.
> 
> lintian warning debian-rules-sets-DEB_BUILD_OPTIONS instructs us to
> use DEB_BUILD_MAINT_OPTIONS in debian/rules, not DEB_BUILD_OPTIONS
> (which can be set by the user).
> 
> But dpkg-buildpackage only uses DEB_BUILD_OPTIONS and ignores
> DEB_BUILD_MAINT_OPTIONS.  
> 
> Should dpkg-buildpackage be updated to use DEB_BUILD_MAINT_OPTIONS?

Perhaps I'm misunderstanding the request, but this is inside-out,
dpkg-buildpackage always calls debian/rules (and never the other way
around) so whatever is set from within that file will not be visible
to the outter process. dpkg-buildpckage does not (and cannot) really
care what you do with either of the variables in debian/rules. :)

Barring some misunderstanding from my part, I'm planning on closing
this report in a bit.

Thanks,
Guillem

Reply via email to