|
2012-09-17
| ||
| 19:23 | • Closed ticket [3555001fff]: Possibly hazardous 'rm -Rf pkgs' in unix/con... artifact: 7101d573d0 user: dgp | |
|
2012-09-13
| ||
| 23:50 | • Ticket [3555001fff]: 4 changes artifact: 449299e949 user: ferrieux | |
| 23:19 | • Ticket [3555001fff]: 4 changes artifact: b4dd99880e user: dgp | |
| 22:03 | • Ticket [3555001fff]: 4 changes artifact: d4f1e16f0d user: dgp | |
|
2012-08-07
| ||
| 22:11 | • Ticket [3555001fff]: 4 changes artifact: 8024337d5b user: stwo | |
| 19:24 | • Ticket [3555001fff]: 4 changes artifact: 095ec89162 user: dkf | |
| 16:35 | • Ticket [3555001fff]: 5 changes artifact: 779345235d user: ferrieux | |
| 05:06 | • New ticket [3555001fff]. artifact: d5346b1288 user: stwo | |
Possibly hazardous 'rm -Rf pkgs' in unix/configure(.in)?
Closed / Accepted3555001fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2012-08-07 05:06:35
If unix/configure is run from the top level source dir then Tcl's own pkgs dir will be removed. Not everyone may find this convenient.
ferrieuxplain2012-08-07 16:35:53
Yes, this is the result of commit de38d43a1e , fixing bug 2812981 . This seemingly harsh move was deemed a "lesser evil" wrt effects of (hard to diagnose) stale config issues. If you find a milder way of blending oil and water, be my guest ;)
dkfplain2012-08-07 19:24:19
Why is this considered to be a problem worth spending effort on at all? If you're not doing the build in the correct platform directory, do it in a new directory outside the source tree. Problem solved.
stwoplain2012-08-07 22:11:05
It is considered a problem because it is surprise behaviour. Why is it considered a problem not to always start in an empty directory? A note in the docs might be helpful.
dgpplain2012-09-13 22:03:01
How about this as a different solution? Instead of having the line rm -Rf pkgs in Tcl's unix/configure.in, we could have instead a test for whether the file "Makefile" exists in the current directory, and if it does, then attempt `make distclean-packages`. I think that would be a way to solve the "stale config" issue, but in a way that's less likely to be unintentionally destructive.
dgpplain2012-09-13 23:19:47
Branch bug-3555001 is what I have in mind.
ferrieuxplain2012-09-13 23:50:44
Sure. The initial commit was really a quick, approximate one. Thanks for doing it Right.
dgpplain2012-09-17 19:23:48
allow_comments - 1
Log in (anonymous is fine) to add a comment.