You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/09/16 22:35:09 UTC

DO NOT REPLY [Bug 12706] New: - test_char.h doesn't get created on fast build machine

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12706>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12706

test_char.h doesn't get created on fast build machine

           Summary: test_char.h doesn't get created on fast build machine
           Product: Apache httpd-1.3
           Version: 1.3.26
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Peter.H.Smith.84@Alum.Dartmouth.org


If your machine is fast enough, ApacheCore.mak won't build test_char.h causing
the build to break when it gets to trying to build utils.c:

	cl.exe /D "EAPI" /DMOD_SSL=208109 /nologo /MD /W3 /O2 /I ".\include" /I 
".\os\win32" /I ".\os\win32
\win9xconhook" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /Fo
".\Release\\" /Fd".\Release\ApacheCore" /FD /c .\os\win32\service.c
service.c
NMAKE : fatal error U1073: don't know how to make '".\main\test_char.h"'
Stop.
NMAKE : fatal error U1077: 'e:\sd_tools\VISUALC.60\bin\NMAKE.EXE' : return 
code '0x2'
Stop.
NMAKE : fatal error U1077: 'e:\sd_tools\VISUALC.60\bin\nmake.exe' : return 
code '0x2'
Stop.
make: *** [all] Error 2
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '2'
Stop.

I think this is because both gen_test_char.mak and gen_uri_delims.mak use
the tag file src/main/Release/postbld.dep, and it looks like when the CPU
gets fast enough, the postbld.dep created by gen_uri_delims.mak has the
same timestamp as the gen_test_char.exe created afterwards.  Here's a
snippet from my build log:

	cd ..\..
	cd main
	NMAKE -nologo -f gen_uri_delims.mak CFG="gen_uri_delims - Win32 
Release" RECURSE=0 
	if not exist ".\Release/nul" mkdir ".\Release"
	cl.exe @e:\TEMP\nma02268.
gen_uri_delims.c
	link.exe @e:\TEMP\nmb02268.
	.\gen_uri_delims > uri_delims.h
	echo Helper for Post-build step > ".\Release\postbld.dep"
	NMAKE -nologo -f gen_test_char.mak CFG="gen_test_char - Win32 Release" 
RECURSE=0 
	cl.exe @e:\TEMP\nma02176.
gen_test_char.c
	link.exe @e:\TEMP\nmb02176.
	cd ..
	del Release\buildmark.obj
The system cannot find the file specified.
	NMAKE -nologo -f ApacheCore.mak CFG="ApacheCore - Win32 Release" 
RECURSE=0 
	if not exist ".\Release/nul" mkdir ".\Release"
	cl.exe /D "EAPI" /DMOD_SSL=208109 /nologo /MD /W3 /O2 /I ".\include" /I 
".\os\win32" /I ".\os\win32
\win9xconhook" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /Fo
".\Release\\" /Fd".\Release\ApacheCore" /FD /c .\main\alloc.c
alloc.c

In previous builds, these lines appeared in the above log (one line of context):

gen_test_char.c
	link.exe @e:\TEMP\nmb00884.
	.\gen_test_char > test_char.h
	echo Helper for Post-build step > ".\Release\postbld.dep"
	cd ..

The way to fix this is to choose different INTDIR values for the Visual C++
projects gen_uri_delims and gen_test_char.  Or make sure you build on a
laptop with speedstep and unplug before you start the build (I think I've
been building in my car since I got the new laptop :-)

I tried to find a note about this in Bugzilla, but I wasn't smart enough
to get a hit.  If it's already there, my apologies; send me the search
string and I'll learn from it.  This is a very minor issue but could cause
stupid people like myself consternation when they upgrade their equipment.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org