pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39670: www/firefox3 depends on databases/sqlite3 but build its own version



>Number:         39670
>Category:       pkg
>Synopsis:       www/firefox3 depends on databases/sqlite3 but build its own 
>version
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 02 09:35:00 +0000 2008
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc

>Description:
I have the same problem as mentioned in pr 39085:


gcc -shared -h libsoftokn3.so -z combreloc -z defs -z ignore 
-R/usr/local/pkgsrc/pkgsrc-cvs/lib/firefox3 
-Wl,-M,SunOS5.10_i86pc_OPT.OBJ/softokn.def -R '$ORIGIN' -o 
SunOS5.10_i86pc_OPT.OBJ/libsoftokn3.so SunOS5.10_i86pc_OPT.OBJ/ecdecode.o 
SunOS5.10_i86pc_OPT.OBJ/fipsaudt.o SunOS5.10_i86pc_OPT.OBJ/fipstest.o 
SunOS5.10_i86pc_OPT.OBJ/fipstokn.o SunOS5.10_i86pc_OPT.OBJ/lgglue.o 
SunOS5.10_i86pc_OPT.OBJ/lowkey.o SunOS5.10_i86pc_OPT.OBJ/lowpbe.o 
SunOS5.10_i86pc_OPT.OBJ/padbuf.o SunOS5.10_i86pc_OPT.OBJ/pkcs11.o 
SunOS5.10_i86pc_OPT.OBJ/pkcs11c.o SunOS5.10_i86pc_OPT.OBJ/pkcs11u.o 
SunOS5.10_i86pc_OPT.OBJ/rsawrapr.o SunOS5.10_i86pc_OPT.OBJ/sdb.o 
SunOS5.10_i86pc_OPT.OBJ/sftkdb.o SunOS5.10_i86pc_OPT.OBJ/sftkmod.o 
SunOS5.10_i86pc_OPT.OBJ/sftkpars.o SunOS5.10_i86pc_OPT.OBJ/sftkpwd.o 
SunOS5.10_i86pc_OPT.OBJ/softkver.o SunOS5.10_i86pc_OPT.OBJ/tlsprf.o   
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib/libfreebl.a
  -L/software/local/pkgsrc/source/pkgsr
 c-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib -lnssutil3 -lsqlite3 
-L/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib
 -lplc4 -lplds4 -lnspr4  -lthread -lnsl -lsocket -lposix4 -ldl -lc -lbsm 
Undefined                       first referenced
 symbol                             in file
main                                
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib/libsqlite3.so
ld: fatal: Symbol referencing errors. No output written to 
SunOS5.10_i86pc_OPT.OBJ/libsoftokn3.so
collect2: ld returned 1 exit status
make[5]: *** [SunOS5.10_i86pc_OPT.OBJ/libsoftokn3.so] Error 1
make[5]: Leaving directory 
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/lib/softoken'
make[4]: *** [libs] Error 2
make[4]: Leaving directory 
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/lib'
make[3]: *** [libs] Error 2
make[3]: Leaving directory 
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/manager'
make[2]: *** [libs_tier_toolkit] Error 2
make[2]: Leaving directory 
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla'
make[1]: *** [tier_toolkit] Error 2
make[1]: Leaving directory 
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop.
bmake: stopped in /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3
*** Error code 1

Stop.


Although www/firefox3 has a dependency on database/sqlite3 and compiles a 
working version of that package, it uses its private version in 
work/mozilla/db/sqlite3/src/ nonetheless, which fails with the error seen above.

Starting the build with

CONFIGURE_ARGS='--enable-system-sqlite'

fails with


cd SunOS5.10_i86pc_OPT.OBJ ; sh 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/cmd/shlibsign/./sign.sh
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist
 \
        
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/cmd/shlibsign/SunOS5.10_i86pc_OPT.OBJ
 SunOS \
        
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib
 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib/libsoftokn3.so
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/cmd/shlibsign/SunOS5.10_i86pc_OPT.OBJ/shlibsign
 -v -i 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib/libsoftokn3.so
NSS_Init failed: Failure to load dynamic library.
make[4]: *** 
[/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib/libsoftokn3.chk]
 Error 1
make[4]: Leaving directory 
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/cmd/shlibsign'
make[3]: *** [libs] Error 2
make[3]: Leaving directory 
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/manager'
make[2]: *** [libs_tier_toolkit] Error 2
make[2]: Leaving directory 
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla'
make[1]: *** [tier_toolkit] Error 2
make[1]: Leaving directory 
`/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop.
bmake: stopped in /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3
*** Error code 1

Stop.
>How-To-Repeat:

>Fix:
Tell configure to actually use the libraries installed as separate packages. A 
fix for the second error is not clear to me.



Home | Main Index | Thread Index | Old Index