Red Hat Bugzilla – Bug 4575
Make file not parsing correctly
Last modified: 2008-05-01 11:37:51 EDT
When make concats a variable defined in one makefile with a
variable defined in another makefile and the 2nd variable
starts with a / it parses incorrectly.
In file "Rules" this variable is defined
in makefile in directory "subdirs" this is defined
the makefile in the subdir directory has the line
in Rules there is this target
the expected output is
the actual output is
I have tar files which setup and demonstrate the minimal set
of files required to reproduce this bug. I can be reached
at firstname.lastname@example.org if you would like these files.
This bug has been tested with kernel 2.2.9 and 2.2.11
The 2.2.9 installation was from the Mandrake distribution of
Red Hat Linux 6.0. The 2.2.11 kernel was simply a download
form www.kernel.org and a recompile.
This bug is making it impossible for our make files to work
in a cross platform enviornment that includes Linux. We
have them working on NT running the Cygnus bash shell and on
Give me an e-mail if I can be of any help at all. Certainly
, I can at least give you the tar files that demonstrate
this bug. Just let me know and I'll help out in any way
except programming :-) I have too much of that to do here
Have a great day.
Found a hidden control character in our make files (a ^M) that is
causing the problem. Oddly enough the java editor we were using was
adding it consistently so all our test had the same problem.
Close it out