Closed Bug 205912 Opened 22 years ago Closed 22 years ago

NSS rebuilds too often

Categories

(SeaMonkey :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bryner, Assigned: bryner)

Details

Attachments

(1 file, 1 obsolete file)

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.
Attached patch patch (obsolete) — Splinter Review
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
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)
Attachment #123492 - Flags: review?(seawood) → review+
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 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+
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
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
Checked in a fix for that (missing semicolon).
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: