Closed
Bug 205912
Opened 21 years ago
Closed 21 years ago
NSS rebuilds too often
Categories
(SeaMonkey :: Build Config, defect)
SeaMonkey
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bryner, Assigned: bryner)
Details
Attachments
(1 file, 1 obsolete file)
|
3.18 KB,
patch
|
netscape
:
review+
brendan
:
approval1.4+
|
Details | Diff | Splinter Review |
The current system we have in place for detecting when we should 'make clean' in NSS greps cvsco.log for updates to NSS on each build. There are two problems with this: - rebuilding from the top will clean and rebuild NSS each time, if NSS was updated on your last checkout - if you update your tree again after pulling an NSS update, without building, you'll miss clobbering NSS entirely. I've got what I think is a better fix for this. This patch touches a file in the source directory after the checkout if any NSS files were updated. It then uses a dependency on this file to update a second timestamp file in the object directory after cleaning NSS.
| Assignee | ||
Comment 1•21 years ago
|
||
| Assignee | ||
Comment 2•21 years ago
|
||
didn't need the semicolons and continuations in security/manager/Makefile.in, since these are no longer inside an 'if'.
Attachment #123491 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•21 years ago
|
||
Comment on attachment 123492 [details] [diff] [review] slightly cleaner patch In case you're wondering, the rule in security/manager/Makefile.in that can create .nss.checkout exists so that people's depend builds don't break. It shouldn't be necessary in any other case -- .nss.checkout will be included with source tarballs.
Attachment #123492 -
Flags: review?(seawood)
Updated•21 years ago
|
Attachment #123492 -
Flags: review?(seawood) → review+
| Assignee | ||
Comment 4•21 years ago
|
||
Comment on attachment 123492 [details] [diff] [review] slightly cleaner patch Can we get this in for 1.4? Should be pretty safe (zero impact on a clean build, and we'll know right away if anything breaks).
Attachment #123492 -
Flags: approval1.4?
Comment 5•21 years ago
|
||
Comment on attachment 123492 [details] [diff] [review] slightly cleaner patch No need for egrep, just use '^[UC] mozilla/security/nss' as the regexp to grep. But wait, why not do one egrep (need the e here) that greps for '^[UC] mozilla/security/(nss|coreconf)' instead of two egreps? Fix that and a=brendan@mozilla.org for 1.4. /be
Attachment #123492 -
Flags: approval1.4? → approval1.4+
| Assignee | ||
Comment 6•21 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 7•21 years ago
|
||
this fix broke the NSS portion of the fast-update script: /bin/sh: -c: line 2: syntax error: unexpected end of file make[1]: *** [real_fast-update] Error 2 make[1]: Leaving directory `/home/dwitte/builds/trunk/mozilla' make: *** [fast-update] Error 2
| Assignee | ||
Comment 8•21 years ago
|
||
Checked in a fix for that (missing semicolon).
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•