Closed
Bug 27457
Opened 26 years ago
Closed 25 years ago
Change Mozilla build system to pick up NSPR 4.0
Categories
(SeaMonkey :: Build Config, defect, P3)
SeaMonkey
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
M14
People
(Reporter: wtc, Assigned: cls)
References
Details
Attachments
(5 files)
1.96 KB,
patch
|
Details | Diff | Splinter Review | |
36.86 KB,
patch
|
Details | Diff | Splinter Review | |
8.66 KB,
patch
|
Details | Diff | Splinter Review | |
7.62 KB,
patch
|
Details | Diff | Splinter Review | |
3.10 KB,
patch
|
Details | Diff | Splinter Review |
We want to have Mozilla pick up NSPR 4.0.
The library name change from libnspr3 to
libnspr4 requires modifying the Unix and
Windows makefiles. On the Mac, NSPR
library's name hasn't changed for a long
time, so no change to the Mac build system
is required this time.
Another change is the NSPR cvs tag to pull.
Reporter | ||
Updated•26 years ago
|
Target Milestone: M14
Comment 1•26 years ago
|
||
Comment 2•26 years ago
|
||
I have a brute-force patch for Windows, I'm cleaning it up to use macros better
so this won't be such a pain next time.
Reporter | ||
Comment 3•26 years ago
|
||
You can define NSPR_VERSION=4 in mozilla/config/config.mak
and use $(NSPR_VERSION) in NSPR library names.
For Unix, r=cls. I'm assuming the nspr autoconf build has been updated with the
new version number as well? :-)
Status: NEW → ASSIGNED
Reporter | ||
Comment 5•26 years ago
|
||
cls: good catch. Do I just need to change NSPR_VERSION
in mozilla/nsprpub/configure.in and
mozilla/nsprpub/configure?
Comment 6•26 years ago
|
||
Strange...I've been building nspr's NSPR_RELEASE_4_0_BRANCH using autoconf,
starting from the mozilla directory. It's been working fine.
By default, Mozilla uses the classic build system under nsprpub rather than
autoconf. If we can verify that the nspr autoconf build works for more
platforms than just Linux & Solaris, we will change that.
Reporter | ||
Comment 9•26 years ago
|
||
cls, is it possible to change webshell/embed/gtk/lib/Makefile.in
so that it gets the value of NSPR_VERSION set by mozilla/configure?
Assignee | ||
Comment 10•26 years ago
|
||
Comment 11•26 years ago
|
||
Comment 12•25 years ago
|
||
Comment 13•25 years ago
|
||
Reporter | ||
Comment 14•25 years ago
|
||
I just checked in attachment 5269 [details] [diff] [review].
1. Pull new NSPR tag NSPRPUB_4_0_BETA_20000215:
mozilla/client.mk, rev 1.78
mozilla/client.mak, rev 3.63
mozilla/build/mac/NGLayoutBuildList.pm, rev 1.439
2. Bump NSPR_VERSION to 4:
mozilla/configure, rev 1.456
mozilla/configure.in, rev 1.574
mozilla/config/config.mak, rev 3.87
Comment 15•25 years ago
|
||
You should pull a tag of NSPR which includes revision 3.2.58.1 of
pr/src/md/mac/prcpucfg.h. Otherwise, you're going to have binary compatibility
problems on Mac.
Comment 16•25 years ago
|
||
compatibility problems with what?
Reporter | ||
Comment 17•25 years ago
|
||
The current tag (NSPRPUB_4_0_BETA_20000215) does
not contain the new version of pr/src/md/mac/prcpucfg.h.
However, when NSPR 4.0 is released, mozilla will be
changed to pull the formal 4.0 release tag, which
will contain the new revision of pr/src/md/mac/prcpucfg.h.
Comment 18•25 years ago
|
||
Compatibility problems with future versions of NSPR 4.x which include that
change.
Reporter | ||
Comment 19•25 years ago
|
||
My checkin (attachment 5269 [details] [diff] [review]) will need to be backed
out because it causes mozilla's bloaty test to hang
on exit.
Reporter | ||
Comment 20•25 years ago
|
||
My checkin (attachment 5269 [details] [diff] [review]) has been backed out
because it causes mozilla's bloaty test to hang
on exit.
I believe I found the problem: the 'depend' target
in mozilla/Makefile does not do a make depend in
the nsprpub directory, so the nspr files did
not get recompiled after they were updated. This
can be verified by the Tinderbox log file.
Comment 21•25 years ago
|
||
I had a similar dependency problem on windows--I had to do a clobber in order to
pick up the new definiton of PR_AF_INET6.
Reporter | ||
Comment 22•25 years ago
|
||
Right. I didn't add the "depend: clean" hack to
NSPR's Windows makefile until this morning.
The "depend: clean" hack causes make depend to
do a make clean in the tree, forcing a complete
rebuild. This hack is in NSPR's Unix makefile.
Unfortunately, mozilla's make depend does not
recurse into the nsprpub directory on Linux.
Reporter | ||
Comment 23•25 years ago
|
||
Second try. Approved by jar@netscape.com. Have mozilla
pull NSPRPUB_RELEASE_4_0_20000218 (NSPR 4.0 release candidate)
and change NSPR_VERSION to 4.
/cvsroot/mozilla/client.mak, revision 3.65
/cvsroot/mozilla/client.mk, revision 1.81
/cvsroot/mozilla/configure, revision 1.461
/cvsroot/mozilla/configure.in, revision 1.579
/cvsroot/mozilla/build/mac/NGLayoutBuildList.pm, revision 1.444
/cvsroot/mozilla/config/config.mak, revision 3.89
Reporter | ||
Comment 24•25 years ago
|
||
All tinderbox builds have cycled once without problems
since my checkin. Marked the bug fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•