Subject: pkg/31363: firefox-gtk1 build failure on Solaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <neil.hoggarth@physiol.ox.ac.uk>
List: pkgsrc-bugs
Date: 09/21/2005 10:30:00
>Number:         31363
>Category:       pkg
>Synopsis:       firefox-gtk1 build failure on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 21 10:30:00 +0000 2005
>Originator:     Neil Hoggarth
>Release:        Solaris 9
>Organization:
Univ Lab of Physiology
>Environment:
SunOS saros 5.9 Generic_118558-10 sun4u sparc SUNW,Ultra-30


>Description:
I'm trying to build firefox-gtk1-1.0.6nb2, in response to an
audit-packages warning against firefox-gtk1-1.0.5.

The build phase fails, with unresolved symbols in the link of
one of the shared objects:

gcc -shared -h libfreebl_pure32_3.so -R/usr/pkg/lib/firefox-gtk1 -R '$ORIGIN' -Wl,-B,symbolic,-z,defs,-z,now,-z,text,-M,mapfile.Solaris -o SunOS5.9_OPT.OBJ/libfreebl_pure32_3.so SunOS5.9_OPT.OBJ/ldvector.o SunOS5.9_OPT.OBJ/prng_fips1861.o SunOS5.9_OPT.OBJ/sysrand.o SunOS5.9_OPT.OBJ/sha_fast.o SunOS5.9_OPT.OBJ/md2.o SunOS5.9_OPT.OBJ/md5.o SunOS5.9_OPT.OBJ/sha512.o SunOS5.9_OPT.OBJ/alg2268.o SunOS5.9_OPT.OBJ/arcfour.o SunOS5.9_OPT.OBJ/arcfive.o SunOS5.9_OPT.OBJ/desblapi.o SunOS5.9_OPT.OBJ/des.o SunOS5.9_OPT.OBJ/rijndael.o SunOS5.9_OPT.OBJ/aeskeywrap.o SunOS5.9_OPT.OBJ/dh.o SunOS5.9_OPT.OBJ/ec.o SunOS5.9_OPT.OBJ/pqg.o SunOS5.9_OPT.OBJ/dsa.o SunOS5.9_OPT.OBJ/rsa.o SunOS5.9_OPT.OBJ/shvfy.o SunOS5.9_OPT.OBJ/mpprime.o SunOS5.9_OPT.OBJ/mpmontg.o SunOS5.9_OPT.OBJ/mplogic.o SunOS5.9_OPT.OBJ/mpi.o SunOS5.9_OPT.OBJ/mp_gf2m.o   /export/scratch/pkgsrc/www/firefox-gtk1/work/mozilla/dist/lib/libsecutil.a  -L/export/scratch/pkgsrc/www/firefox-gtk1/work/mozilla/dist/lib/ -lplc4 -lplds4 -lnspr4
  -lc
Undefined                       first referenced
 symbol                             in file
mont_mulf_noconv                    SunOS5.9_OPT.OBJ/mpmontg.o
conv_i32_to_d32                     SunOS5.9_OPT.OBJ/mpmontg.o
conv_i32_to_d16                     SunOS5.9_OPT.OBJ/mpmontg.o
s_mpv_mul_d_add_prop                SunOS5.9_OPT.OBJ/mpmontg.o
s_mpv_mul_d_add                     SunOS5.9_OPT.OBJ/mpi.o
conv_i32_to_d32_and_d16             SunOS5.9_OPT.OBJ/mpmontg.o
s_mpv_mul_d                         SunOS5.9_OPT.OBJ/mpmontg.o
ld: fatal: Symbol referencing errors. No output written to SunOS5.9_OPT.OBJ/libfreebl_pure32_3.so
collect2: ld returned 1 exit status
make[5]: *** [SunOS5.9_OPT.OBJ/libfreebl_pure32_3.so] Error 1
make[5]: Leaving directory `/export/scratch/pkgsrc/www/firefox-gtk1/work/mozilla/security/nss/lib/freebl/SunOS5.9_OPT.OBJ/SunOSpure32'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/export/scratch/pkgsrc/www/firefox-gtk1/work/mozilla/security/nss/lib/freebl'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/export/scratch/pkgsrc/www/firefox-gtk1/work/mozilla/security/nss/lib'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/export/scratch/pkgsrc/www/firefox-gtk1/work/mozilla/security/manager'
make[1]: *** [tier_40] Error 2
make[1]: Leaving directory `/export/scratch/pkgsrc/www/firefox-gtk1/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop.

>How-To-Repeat:

>Fix: