Your message dated Mon, 15 Feb 2016 04:44:25 +0000
with message-id <20160214-224424.sv10516.44...@savannah.gnu.org>
has caused the   report #766140,
regarding make: -q fails for recursive makes
to be marked as having been forwarded to the upstream software
author(s) 

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
766140: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766140
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
URL:
  <http://savannah.gnu.org/bugs/?47151>

                 Summary: make: -q fails for recursive makes
                 Project: make
            Submitted by: srivasta
            Submitted on: Sun 14 Feb 2016 10:44:24 PM CST
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.1
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Hi, 

This was reported by a debian user. Please retain a CC to
766140-forwar...@bugs.debian.org so that the Debian BTS has a copy of your
input. 


Sample Makefile:

# --------------------------
foo: bar
        echo foo
bar:
        $(MAKE) baz
        echo "lala"
baz:
        echo baz
# --------------------------


$ make -q foo; echo $?
make baz
Makefile:4: recipe for target 'bar' failed
make: *** [bar] Error 1
2

The fine manual says

,----
| If the exit status is one, then some updating needs to be done. 
| If make encounters an error, the exit status is two, so you can
| distinguish an error from a target that is not up to date.
`----

This is technically kindof correct, although _why_ the error occurs is
mysterious. In particular, adding a comment before the recursive make, i.e.

bar:
        # lalala
        $(MAKE) baz
        echo "lala"

causes make -q bar to return 1. 

   Manoj




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47151>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/

--- End Message ---

Reply via email to