emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20077: closed (automake / silent-rules / $(V) when V= not set to ''


From: GNU bug Tracking System
Subject: bug#20077: closed (automake / silent-rules / $(V) when V= not set to '' or 1 or 2 (e.g. V=1234))
Date: Wed, 28 Jun 2023 21:55:02 +0000

Your message dated Wed, 28 Jun 2023 15:54:55 -0600
with message-id <202306282154.35SLstbJ010259@freefriends.org>
and subject line 
has caused the debbugs.gnu.org bug report #20077,
regarding automake / silent-rules / $(V) when V= not set to '' or 1 or 2 (e.g. 
V=1234)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
20077: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20077
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: automake / silent-rules / $(V) Date: Wed, 11 Mar 2015 02:06:40 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
I just stumbled across an issue where a project fails to compile using
automake and silent-rules with $V being set to sth. else other than '1'
or '0'.

This is because of the following resulting Makefile code when using
silent rules:

AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :

This breaks builds in environments such as e.g. the cross-compiling
framework OpenWrt - which also uses $(V), however with values other than
1/0 (e.g. V=99, V={c,w,s}, etc.).

The way automake behaves here it claims that variable for its exclusive
use. I don't mind automake using $(V), however if using such generic
variable names, please don't make projects fail when $(V) is set to
something other than 1 or 0.

My proposal would be to enable verbose output, if $(V) is set to
anything but '0' and to disable otherwise ($V is unset / set to '0').

Cheers

  mirko



--- End Message ---
--- Begin Message --- Subject: Date: Wed, 28 Jun 2023 15:54:55 -0600

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]