bug-cvs
[Top][All Lists]
Advanced

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

VC6 "Export Makefile..." Dependency Issue


From: Conrad T. Pino
Subject: VC6 "Export Makefile..." Dependency Issue
Date: Thu, 15 Apr 2004 11:22:09 -0700

Hi Derek,

VC6 isn't regenerating .dep information consistently and it's
operation sequence dependant.  VC6 project files have binary
components that we don't check into CVS since they're rebuilt
by VC6 IDE when needed.  Using "cvsnt.dsp" as example, it's
other files are:

        cvsnt.ncb       not in CVS
        cvsnt.opt       not in CVS
        cvsnt.plg       not in CVS

        cvsnt.dep       CVS maintained
        cvsnt.mak       CVS maintained

and let's not overlook "WinDebug" and "WinRel" directories.
====================
After running this script:

rm -rf *.dep *.mak *.ncb *.opt *.plg Debug Release WinDebug WinRel

pushd diff
rm -rf *.dep *.mak *.ncb *.opt *.plg Debug Release WinDebug WinRel
popd

pushd lib
rm -rf *.dep *.mak *.ncb *.opt *.plg Debug Release WinDebug WinRel
popd

pushd zlib
rm -rf *.dep *.mak *.ncb *.opt *.plg Debug Release WinDebug WinRel
popd
====================
Running "Export Makefile..." first time gives has these errors:

 1 each: Error scanning file H:\Conrad\Projects\ccvs 1.12\lib\alloca.h for 
dependencies.
37 each: Error scanning file H:\Conrad\Projects\ccvs 1.12\lib\fnmatch.h for 
dependencies.

but still creates .dep/.mak sets.
====================
Running "Export Makefile..." second time runs with no errors and
.dep/.mak sets contain same data as first run.
====================
At this point file "diff/libdiff.dep" differs from CVS version:

RCS file: /cvs/ccvs/diff/libdiff.dep,v
retrieving revision 1.5
diff -r1.5 libdiff.dep
30d29
<       "..\lib\fnmatch.h"\
====================
Running "Rebuild All" in VC6 IDE followed by "Export Makefile..."
gives different results in that "diff/libdiff.dep" now matches
CVS version but "cvsnt.dep" is very different (see end of message).
====================
Through some trial and error I've isolated the location of
dependency state information to somewhere in this file set:

        WinDebug/cvs.ilk
        WinDebug/cvs.pdb
        WinDebug/cvsnt.pch
        WinDebug/vc60.idb
        WinDebug/vc60.pdb

        diff/WinDebug/libdiff.pch
        diff/WinDebug/vc60.idb

        lib/WinDebug/LIB.pch
        lib/WinDebug/vc60.idb
        lib/WinDebug/vc60.pdb

        zlib/WinDebug/vc60.idb
        zlib/WinDebug/zlib.pch

Finding the file set to archive in CVS looks unattractive.
====================
I recommend restricting regeneration and commits of
.dep/.mak file sets to well educated team members.

As the CVS archive stands right now, I see you've done
a regeneration and commit after completing a compile.
I expect you've discovered this issue for yourself.

I'm sending this message for the benefit of others.
====================
Conrad

PS. Don't you just *love* Microsoft?
==========================================================
RCS file: /cvs/ccvs/cvsnt.dep,v
retrieving revision 1.6
diff -r1.6 cvsnt.dep
4a5
>       ".\lib\fnmatch.h"\
31a33
>       ".\lib\fnmatch.h"\
56a59
>       ".\lib\fnmatch.h"\
90a94
>       ".\lib\fnmatch.h"\
115a120
>       ".\lib\fnmatch.h"\
142a148
>       ".\lib\fnmatch.h"\
167a174
>       ".\lib\fnmatch.h"\
192a200
>       ".\lib\fnmatch.h"\
209d216
<       ".\src\gssapi-client.h"\
211d217
<       ".\src\kerberos4-client.h"\
227a234
>       ".\lib\fnmatch.h"\
256a264
>       ".\lib\fnmatch.h"\
281a290
>       ".\lib\fnmatch.h"\
307a317
>       ".\lib\fnmatch.h"\
332a343
>       ".\lib\fnmatch.h"\
361a373
>       ".\lib\fnmatch.h"\
387a400
>       ".\lib\fnmatch.h"\
412a426
>       ".\lib\fnmatch.h"\
437a452
>       ".\lib\fnmatch.h"\
462a478
>       ".\lib\fnmatch.h"\
489a506
>       ".\lib\fnmatch.h"\
514a532
>       ".\lib\fnmatch.h"\
548a567
>       ".\lib\fnmatch.h"\
562a582
>       ".\lib\fnmatch.h"\
587a608
>       ".\lib\fnmatch.h"\
614a636
>       ".\lib\fnmatch.h"\
640a663
>       ".\lib\fnmatch.h"\
666a690
>       ".\lib\fnmatch.h"\
675d698
<       ".\lib\xselect.h"\
692a716
>       ".\lib\fnmatch.h"\
717a742
>       ".\lib\fnmatch.h"\
742a768
>       ".\lib\fnmatch.h"\
768a795
>       ".\lib\fnmatch.h"\
794a822
>       ".\lib\fnmatch.h"\
824a853
>       ".\lib\fnmatch.h"\
849a879
>       ".\lib\fnmatch.h"\
877a908
>       ".\lib\fnmatch.h"\
903a935
>       ".\lib\fnmatch.h"\
933a966
>       ".\lib\fnmatch.h"\
958a992
>       ".\lib\fnmatch.h"\
984a1019
>       ".\lib\fnmatch.h"\
1014a1050
>       ".\lib\fnmatch.h"\
1040a1077
>       ".\lib\fnmatch.h"\
1042d1078
<       ".\lib\getpagesize.h"\
1069a1106
>       ".\lib\fnmatch.h"\
1094a1132
>       ".\lib\fnmatch.h"\
1122a1161
>       ".\lib\fnmatch.h"\
1149a1189
>       ".\lib\fnmatch.h"\
1174a1215
>       ".\lib\fnmatch.h"\
1200a1242
>       ".\lib\fnmatch.h"\
1226a1269
>       ".\lib\fnmatch.h"\
1252a1296
>       ".\lib\fnmatch.h"\
1282a1327
>       ".\lib\fnmatch.h"\
1307a1353
>       ".\lib\fnmatch.h"\
1318d1363
<       ".\lib\xselect.h"\
1324d1368
<       ".\src\gssapi-client.h"\
1330d1373
<       ".\src\socket-client.h"\
1348a1392,1394
> ".\windows-NT\sockerror.c" : \
>       
> 
1350a1397
>       ".\lib\fnmatch.h"\
1376a1424
>       ".\lib\fnmatch.h"\
1401a1450
>       ".\lib\fnmatch.h"\
1427a1477
>       ".\lib\fnmatch.h"\
1456a1507
>       ".\lib\fnmatch.h"\
1467d1517
<       ".\lib\xselect.h"\
1484a1535
>       ".\lib\fnmatch.h"\
1510a1562
>       ".\lib\fnmatch.h"\
1514d1565
<       ".\lib\md5.h"\
1552a1604
>       ".\lib\alloca.h"\
1561a1614
>       ".\lib\fnmatch.h"\
1586a1640
>       ".\lib\fnmatch.h"\
1615a1670
>       ".\lib\fnmatch.h"\
1643a1699
>       ".\lib\fnmatch.h"\
1668a1725
>       ".\lib\fnmatch.h"\
1721a1779
>       ".\lib\fnmatch.h"\
==========================================================




reply via email to

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