Revision: | 1.1.2.2 |
Committed: | Wed Dec 1 15:56:46 1999 UTC (25 years, 5 months ago) by williamc |
Content type: | text/html |
Branch: | V0_9branch |
CVS Tags: | BuildSystemProto1, V0_18_0, V0_18_0model, V0_17_1, V0_18_0alpha, V0_17_0, V0_16_4, V0_16_3, V0_16_2, V0_16_1, V0_16_0, V0_15_1, V0_15_0, V0_15_0beta, V0_14_0, V0_12_12_4, V0_12_12_3, V0_13_3, V0_13_2, V0_12_12_2, V0_12_12_1, V0_12_12_0, PlayGround_0, V0_13_1, V0_12_12, V0_13_0, V0_12_11, V0_12_9b, V0_12_10, V0_12_9, V0_12_8, V0_12_7, V0_12_6, V0_12_5, V0_12_4, V0_12_3, V0_12_2, V0_12_1, V0_12_0, V0_11_4, V0_11_3, V0_11_2, V0_11_1, V0_11_0, V0_10_19, V0_10_18, V0_10_17, V0_10_16, V0_10_15, V0_10_14, V0_10_13, V0_10_12, V0_10_11, V0_10_10, V0_10_0, V0_10_9, V0_10_8, V0_10_7, V0_10_6 |
Branch point for: | V0_17branch, V0_16branch, V0_15branch, HPWbranch |
Changes since 1.1.2.1: | +3 -1 lines |
Log Message: | scram/make problem update |
# | User | Rev | Content |
---|---|---|---|
1 | williamc | 1.1.2.1 | <! Style Sheet Header> |
2 | <html> | ||
3 | <head> | ||
4 | <title>gotcha.html</title> | ||
5 | <body bgcolor="beige"> | ||
6 | <! End Style Sheet Header -----------Insert Text Here ---------------------> | ||
7 | <center> | ||
8 | <H1>SCRAM Gotchas</H1> | ||
9 | <font color=red>S</font>oftware <font color=red>C</font>onfiguration, | ||
10 | <font color=red>R</font>elease <font color=red>A</font>nd | ||
11 | <font color=red>M</font>anagement | ||
12 | </center> | ||
13 | <hr> | ||
14 | williamc | 1.1.2.2 | <h2>CVS/make incompatabilties - versions up to V0_10_5 </h2> |
15 | <b>V0_10_6 and greater has a workaround that removes this problem</b> | ||
16 | <p> | ||
17 | williamc | 1.1.2.1 | SCRAM is based on the UNIX <em>make</em> utility and as such will only rebuild |
18 | when the date of the source files is newer than the build products. This | ||
19 | can cause some serious problems when using CVS. When you check out with CVS | ||
20 | the files are date stamped with the times they were checked in to the repository | ||
21 | and not the time of the checkout. Thus if this time is older than the time the libraries etc. were built then the build system will not update the libraries to reflect the change in the source files. | ||
22 | <p> You should also be aware of a subtle CVS bug (from | ||
23 | <a href=http://www.cyclic.com:80/cvs/dev-bugs.html>Cyclic</a>) : | ||
24 | <em> | ||
25 | Timestamps | ||
26 | |||
27 | CVS will set the timestamp of a file which is being newly checked out to the time of the revision which is being checked out (test case "stamps" in | ||
28 | sanity.sh). To cope with make, if one is updating an existing file, the timestamp is the time of the update. However, if one removes the file and then | ||
29 | runs cvs update, CVS's behavior will be that of the former case, and it should be that of the latter case (based on whether the file is mentioned in | ||
30 | CVS/Entries, or perhaps even something stranger like whether the directory existed previously). | ||
31 | </em> | ||
32 | |||
33 | <h2>SCRAM suddenly stops working</h2> | ||
34 | This is a common problem where people work in scratch or other temporary areas. | ||
35 | Some important configuration files get deleted by the cleaning mechainsm | ||
36 | yet on the surface all seems well. Be careful as your important code | ||
37 | changes could get cleaned next! | ||
38 | |||
39 | <! Style Sheet Footer ---------------Do not change anything after this line--> | ||
40 | <hr> | ||
41 | <table border=1 width=100%> | ||
42 | <td align=left> | ||
43 | <a href=mailto:Christopher.Williams@cern.ch | ||
44 | >Chris Williams</a> | ||
45 | </td> | ||
46 | <td align=center> | ||
47 | Last Updated Thu Nov 25 15:40:10 1999 | ||
48 | </td> | ||
49 | <td align=right><a href=/cgi-cmc/pagestat>Show Stats</a> | ||
50 | </td> | ||
51 | </table> | ||
52 | </body> </html> | ||
53 | <! End Style Sheet Footer> |