Closed Bug 85960 Opened 24 years ago Closed 24 years ago

--enable-crypto no longer builds

Categories

(NSS :: Build, defect, P1)

3.2.1
x86
BSDI

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lidl, Assigned: wtc)

References

Details

Attachments

(2 files)

Yesterday evening, I did a CVS update of the tip of the Mozilla tree and did the equivilent of a 'clobber' build of the sources. With the updates in the NSS component that got sucked over, my tree no longer successfully builds. I think you could replicate this failure on the tinderbox machine 'muerte' by uncommenting the --enable-crypto flag in the .mozconfig file (or equivilent). For reference, this is on a BSD/OS 4.2 machine (x86). I'm going to attach a full build log so you can see exactly how and where it fails.
Please let me know the build procedure you used. Thanks.
For some reason, bugzilla will not accept my (2.6MB) attachement. Here's the .mozconfig file that I have been using... mk_add_options MOZ_OBJDIR=/mnt/proj/obj/mozilla ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --enable-optimize="-O2 -mcpu=pentiumpro -march=pentium" ac_add_options --with-libIDL-prefix=/usr/contrib/gnome ac_add_options --with-libIDL-exec_prefix=/usr/contrib/gnome/bin ac_add_options --with-gdk-pixbuf-prefix=/usr/contrib/gnome ac_add_options --with-gdk-pixbuf-exec_prefix=/usr/contrib/gnome/bin ac_add_options --disable-mailnews ac_add_options --enable-strip-libs ac_add_options --enable-crypto ac_add_options --disable-pedantic ac_add_options --with-gtk ac_add_options --with-pthreads ac_add_options --with-jpeg ac_add_options --with-png ac_add_options --with-zlib ac_add_options --enable-nspr-autoconf Here's the script that I actually run that builds the beast: #! /bin/sh PROJ=mozilla SRCDIR=/scratch/proj/src/${PROJ} OBJDIR=/mnt/proj/obj/${PROJ} LOG=mmake.log cd $OBJDIR || exit 1 \rm -rf * || exit 2 # attempt to flush out a bunch of the dirty blocks from # the soft-dep code sync; sync; sync; sync date > ${LOG} sync ${SRCDIR}/configure >> ${LOG} 2>&1 gmake export >> ${LOG} 2>&1 && gmake install >> ${LOG} 2>&1 date >> ${LOG} sync exit 0
Thanks for the builg log. I extracted the relevant part below. I can reproduce it on muerte. I'm looking at it now. -------------------------------------------------------------------------- gmake[1]: Entering directory `/mnt/proj/obj/mozilla/security/manager' gmake -C /scratch/proj/src/mozilla/security/coreconf MAKE="gmake -j1" -j1 MOZILL A_INCLUDES="-I/mnt/proj/obj/mozilla/dist/include/nspr -I/mnt/proj/obj/mozilla/di st/include/dbm" SOURCE_MD_DIR=/mnt/proj/obj/mozilla/dist DIST=/mnt/proj/obj/mozi lla/dist MOZILLA_CLIENT=1 NO_MDUPDATE=1 BUILD_TREE=/mnt/proj/obj/mozilla BUILD_O PT=1 NS_USE_GCC=1 NS_USE_NATIVE= gmake[2]: Entering directory `/scratch/proj/src/mozilla/security/coreconf' cd nsinstall; gmake -j1 export gmake[3]: Entering directory `/scratch/proj/src/mozilla/security/coreconf/nsinst all' gmake[3]: Nothing to be done for `export'. gmake[3]: Leaving directory `/scratch/proj/src/mozilla/security/coreconf/nsinsta ll' Thu Jun 14 13:29:31 EDT 2001 Skipping non-directory mkdepend... Thu Jun 14 13:29:31 EDT 2001 Skipping non-directory md... Thu Jun 14 13:29:31 EDT 2001 cd nsinstall; gmake -j1 libs gmake[3]: Entering directory `/scratch/proj/src/mozilla/security/coreconf/nsinst all' mkdir: /mnt/proj/obj/mozilla/nss/: No such file or directory gmake[3]: *** [/mnt/proj/obj/mozilla/nss//nsinstall.o] Error 1
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OK. The problem is that the 'mkdir' command on BSD/OS 4.2 does not like a directory pathname with a trailing /. So this is okay: % mkdir foo But this is not okay: % mkdir bar/ I will attach a patch for you to test.
Attached patch Proposed patch.Splinter Review
Priority: -- → P1
Hardware: Other → PC
Target Milestone: --- → 3.2.2
Version: unspecified → 3.2.1
With the proposed patch, the nss system builds once again. As far as I am concerned this bug can be closed out. (I'm submitting this update on the problem from the browser that I just built.) Thanks for your speedy attention to this problem!
Blocks: 83989
r=javi
a=blizzard on behalf of drivers for the trunk
I checked in the patch on the NSS_3_2_BRANCH and moved the NSS_CLIENT_TAG to include it. I also checked in the patch on the trunk of NSS.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
The fix is not in 3.2.2 but is in 3.3 and the 3.2 branch. Since we are not planning to make any new 3.2.x releases, I am setting the target milestone to 3.3.
Component: Libraries → Build
Target Milestone: 3.2.2 → 3.3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: