Can't build NSS/PSM on Solaris



18 years ago
18 years ago


(Reporter: gyles, Assigned: wtc)


Firefox Tracking Flags

(Not tracked)




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
c++ -o nsNSSCallbacks.o -c -DBUILD_OFFICIAL -DOSTYPE=\"SunOS5\"
-DOSARCH=\"SunOS\" -DOJI   -I../../../../dist/include -I../../../../dist/include
-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
make[2]: *** [install] Error 2
make[2]: Leaving directory
make[1]: *** [install] Error 2
make[1]: Leaving directory
make: *** [install] Error 2

Any ideas?

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. 

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

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


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

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.
Last Resolved: 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.