URL: <http://savannah.gnu.org/bugs/?24251>
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 _______________________________________________________ Details: 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 <http://savannah.gnu.org/bugs/download.php?file_id=16470> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?24251> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make