Can't build NSS/PSM on Solaris

RESOLVED WONTFIX

Status

--
blocker
RESOLVED WONTFIX
18 years ago
18 years ago

People

(Reporter: gyles, Assigned: wtc)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
As is now ususal, I can't build NSS/PSM. I have the same failure for nightly
20010508 and 0.9 release, building from source taken from tarballs on the
mozilla ftp site.

My current failure is:

make[3]: Entering directory
`/work/gyles/apps/mozilla/DISTRIBUTION/0.9/mozilla/security/manager/ssl/src'
nsNSSCallbacks.cpp
c++ -o nsNSSCallbacks.o -c -DBUILD_OFFICIAL -DOSTYPE=\"SunOS5\"
-DOSARCH=\"SunOS\" -DOJI   -I../../../../dist/include -I../../../../dist/include
-I/work/gyles/apps/mozilla/DISTRIBUTION/0.9/mozilla/dist/include/nspr 
-I/u/gyles/bin/include   -I/u/gyles/bin/include
-I../../../../dist/public/security -I../../../../dist/private/security     -fPIC
  -fno-rtti -fno-exceptions -pedantic -Wno-long-long -pthreads -O
-Wa,-xarch=v8plus,-DULTRA_SPARC,-P,-L,-D_ASM,-D__STDC__=0,-K,PIC  -DNDEBUG
-DTRIMMED  -DMOZILLA_CLIENT -include ../../../../config-defs.h
-Wp,-MD,.deps/nsNSSCallbacks.pp nsNSSCallbacks.cpp
In file included from nsNSSComponent.h:40,
                 from nsNSSCallbacks.cpp:23:
nsNSSHelper.h:40: pk11func.h: No such file or directory
In file included from nsNSSCallbacks.cpp:24:
nsNSSCallbacks.h:27: pk11func.h: No such file or directory
nsNSSCallbacks.cpp:36: ssl.h: No such file or directory
nsNSSCallbacks.cpp:37: cert.h: No such file or directory
make[3]: *** [nsNSSCallbacks.o] Error 1
make[3]: Leaving directory
`/work/gyles/apps/mozilla/DISTRIBUTION/0.9/mozilla/security/manager/ssl/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory
`/work/gyles/apps/mozilla/DISTRIBUTION/0.9/mozilla/security/manager/ssl'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/work/gyles/apps/mozilla/DISTRIBUTION/0.9/mozilla/security/manager'
make: *** [install] Error 2

Any ideas?
(Assignee)

Comment 1

18 years ago
I have no idea what went wrong.

Comment 2

18 years ago
I think this should be assigned to PSM, since here NSS is being build as part of
PSM, which is different from the way we build it. Solaris build works fine for
us, tip build on Saturday, 3.2 build middle of last week, build on 2.6 32 bit,
2.8 64 bit. 
(Reporter)

Comment 3

18 years ago
The problem persists in 20010514.

How would I build NSS other that as part of PSM?

Comment 4

18 years ago
build instructions to build NSS like we do are on
http://mozilla.org/projects/security/pki/nss/buildnss_32.html

recently there was another bug filed on the Solaris build, see 
"bug# PSM2: non-debug freebl build fails on Solaris" bug #77788

(Assignee)

Comment 5

18 years ago
It is best to use the mozilla.crypto newsgroup for such
build problems.  You are more likely to get help there
because there are more people reading that newsgroup than
this bug report.

The build fails in a PSM directory, so this is arguably a
PSM build problem because it can't locate the NSS header
files.  Can you find out where the NSS headers are?

Rather than changing the product to PSM, I am going
to mark the bug WONTFIX and suggest that you post it to
the newsgroup or even ask around on the #mozilla channel
on irc.mozilla.org.

There are Tinderbox builds on Solaris with gcc but it appears
that they are not really building NSS and PSM according to the
build logs.  Sun also has engineers porting Mozilla to Solaris
but they are probably using the Forte6 compilers these days.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.