Your message dated Mon, 15 Feb 2016 04:35:51 +0000
with message-id <20160214-223550.sv10516.28...@savannah.gnu.org>
has caused the   report #774681,
regarding make: Unhelpful behavior with undefined functions
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.)


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

                 Summary: Silently fails on mistyped function names
                 Project: make
            Submitted by: srivasta
            Submitted on: Sun 14 Feb 2016 10:35:50 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: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

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

make ignores it when an undefined function is used in a makefile, and just
substitutes the empty string for the function call.  Instead, it really,
really should fail and report a faulty makefile.  Especially because there are
no user-defined functions so this unfriendly behavior doesn't even buy
anything in flexibility.

I have just spent an hour or so debugging a 20 line makefile.  I used the
dirname function in one of my rules, only I forgot that for make it is spelled
just $(dir ...) and not ($dirname ...) .  I was at the point of throwing
something at my computer, and I'm exaggerating only a tiny little bit.

Exemplar
########################################
all:
        @echo $(dirname $(shell pwd))
########################################
Selently returns nothing.


Manoj




    _______________________________________________________

Reply to this item at:

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

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

--- End Message ---

Reply via email to