bug-make
[Top][All Lists]
Advanced

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

[bug #18617] Better debugging facilities: tracing rule invocation.


From: Stefano Sabatini
Subject: [bug #18617] Better debugging facilities: tracing rule invocation.
Date: Wed, 17 Sep 2008 11:01:08 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.1) Gecko/20080528 Epiphany/2.22

Follow-up Comment #4, bug #18617 (project make):

I was looking for the same feature, especially I'd like to trace the
invokation of implicit rules, it would be really usueful to see the implicit
rule invoked and the file where it is defined.

As an use case I'm currently debugging this (make -d):

         Trying implicit prerequisite `assert.cxx'.
         Found an implicit rule for
`/home/stefano/src/reilabs/flash2sip/contrib/src/ptlib_2.2.1/lib/obj_linux_x86_r/assert.o'.
           File `/home/stefano/include/ptlib.h' does not exist.
           Looking for an implicit rule for `/home/stefano/include/ptlib.h'.
           Trying pattern rule with stem `ptlib.h'.
           Trying implicit prerequisite `/home/stefano/include/ptlib.h,v'.
           Trying pattern rule with stem `ptlib.h'.
           Trying implicit prerequisite
`/home/stefano/include/RCS/ptlib.h,v'.
           Trying pattern rule with stem `ptlib.h'.
           Trying implicit prerequisite `/home/stefano/include/RCS/ptlib.h'.
           Trying pattern rule with stem `ptlib.h'.
           Trying implicit prerequisite `/home/stefano/include/s.ptlib.h'.
           Trying pattern rule with stem `ptlib.h'.
           Trying implicit prerequisite
`/home/stefano/include/SCCS/s.ptlib.h'.
           No implicit rule found for `/home/stefano/include/ptlib.h'.
          Must remake target `/home/stefano/include/ptlib.h'.
make[2]: Entering directory
`/home/stefano/src/reilabs/flash2sip/contrib/src/ptlib_2.2.1/src/ptlib/unix'
make[2]: *** No rule to make target `/home/stefano/include/ptlib.h', needed
by
`/home/stefano/src/reilabs/flash2sip/contrib/src/ptlib_2.2.1/lib/obj_linux_x86_r/assert.o'.
 Stop.

and I don't know where to hit my head.

It doesn't tell which the implicit rule is and where the rule is defined, so
it isn't that useful, with that information I wouldn't have to figure out
which is the rule applied of all the possible implicit rules.

Regards and thanks for your attention.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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