[Top][All Lists]

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

[bug #24251] Random error including rebuilt makefiles

From: anonymous
Subject: [bug #24251] Random error including rebuilt makefiles
Date: Fri, 12 Sep 2008 15:07:21 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080702 Firefox/


                 Summary: Random error including rebuilt makefiles
                 Project: make
            Submitted by: None
            Submitted on: Fri 12 Sep 2008 03:07:19 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: Any
           Fixed Release: None



I'm trying to automatically build (checkout from svn) an included makefile.
The build always succeeds, but the variables set in the included makefile
don't always get set.

I can make it work by building and including a file I don't care for, but
that doesn't seem like a proper solution. (see example)

The same problem occurs with both make 3.79.1 on a Linux machine and make
3.81 on Cygwin/XP machine.

Am I expecting more from make than I should be?

I'm attaching a log showing a trimmed down version of the makefile and the
included makefile along with results showing the inconsistent behaviour.
Unfortunately you won't be able to access my svn repository, but hopefully
you'll be able to recreate the problem some other way.

The $(SUB_CMD_PREFIX) variable defined in $(SUB_MAKE) is always set
successfully, but the $(ECOS_COMMAND_PREFIX) defined in $(ECOS_MAKE) is only
set if $(SUB_MAKE) also needs to be built.
i.e. there seems to be a race condition rather than waiting for the
dependency to complete.

Sorry that this is a duplicate of
http://savannah.gnu.org/support/index.php?106466, but I haven't received any
response there.


File Attachments:

Date: Fri 12 Sep 2008 03:07:19 PM UTC  Name: make.log  Size: 2kB   By: None
log of session showing makefile, usage results and version info


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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