Bug#378378: firefox - FTBFS: warning: libnspr4.so, needed by ../../../../dist/bin/libmozjs.so, not found

2006-07-16 Thread Mike Hommey
On Sat, Jul 15, 2006 at 09:00:08PM +0200, Bastian Blank <[EMAIL PROTECTED]> 
wrote:
> Package: firefox
> Version: 1.5.dfsg+1.5.0.4-2
> Severity: serious
> 
> There was an error while trying to autobuild your package:
> 
> > Automatic build of firefox_1.5.dfsg+1.5.0.4-2 on debian-31 by sbuild/s390 85
> [...]
> > c++ -o xpcshell.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API 
> > -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2006071518 
> > -DJS_THREADSAFE  -I../../../../dist/include/xpconnect 
> > -I../../../../dist/include/xpcom -I../../../../dist/include/js 
> > -I../../../../dist/include/caps -I../../../../dist/include/xpcshell 
> > -I../../../../dist/include -I../../../../dist/include/nspr -I/usr/include 
> > -I/usr/include -I/usr/include   -fno-rtti -fno-exceptions -Wall 
> > -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
> > -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar 
> > -pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   
> > -DMOZILLA_CLIENT -include ../../../../mozilla-config.h 
> > -Wp,-MD,.deps/xpcshell.pp xpcshell.cpp
> > c++   -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith 
> > -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
> > -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe  -DNDEBUG 
> > -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing -o xpcshell xpcshell.o  
> > -Wl,--as-needed   -L../../../../dist/bin -L../../../../dist/lib 
> > -L../../../../dist/bin -lmozjs -L../../../../dist/bin -lxpcom -lxpcom_core  
> > -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -ldl -lm 
> > /usr/bin/ld: warning: libnspr4.so, needed by 
> > ../../../../dist/bin/libmozjs.so, not found (try using -rpath or 
> > -rpath-link)
> > /usr/bin/ld: warning: libplds4.so, needed by 
> > ../../../../dist/bin/libxpcom_core.so, not found (try using -rpath or 
> > -rpath-link)
> > /usr/bin/ld: warning: libplc4.so, needed by 
> > ../../../../dist/bin/libxpcom_core.so, not found (try using -rpath or 
> > -rpath-link)
(...)

Earlier in the same buildd.log:
gcc -shared -Wl,-soname -Wl,libnspr4.so -o libnspr4.so ./prvrsion.o 
io/./prfdcach.o io/./prmwait.o io/./prmapopt.o io/./priometh.o io/./pripv6.o 
io/./prlayer.o io/./prlog.o io/./prmmap.o io/./prpolevt.o io/./prprf.o 
io/./prscanf.o io/./prstdio.o threads/./prcmon.o threads/./prrwlock.o 
threads/./prtpd.o linking/./prlink.o malloc/./prmem.o md/./prosdep.o 
memory/./prshm.o memory/./prshma.o memory/./prseg.o misc/./pralarm.o 
misc/./pratom.o misc/./prcountr.o misc/./prdtoa.o misc/./prenv.o misc/./prerr.o 
misc/./prerror.o misc/./prerrortable.o misc/./prinit.o misc/./prinrval.o 
misc/./pripc.o misc/./prlog2.o misc/./prlong.o misc/./prnetdb.o 
misc/./prolock.o misc/./prrng.o misc/./prsystem.o misc/./prthinfo.o 
misc/./prtpool.o misc/./prtrace.o misc/./prtime.o malloc/./prmalloc.o 
pthreads/./ptsynch.o pthreads/./ptio.o pthreads/./ptthread.o 
pthreads/./ptmisc.o md/unix/./unix.o md/unix/./unix_errors.o 
md/unix/./uxproces.o md/unix/./uxrng.o md/unix/./uxshm.o md/unix/./uxwrap.o 
md/unix/./linux.o   -lpthread -ldl
../../config/./nsinstall -R -m 444 ./libnspr4.a ./libnspr4.so 
/build/buildd/firefox-1.5.dfsg+1.5.0.4/dist/lib
(...)
gcc -shared -Wl,-soname -Wl,libplds4.so -o libplds4.so ./plarena.o ./plhash.o 
./plvrsion.o -L/build/buildd/firefox-1.5.dfsg+1.5.0.4/dist/lib -lnspr4
(...)
../../config/./nsinstall -R -m 444 ./libplds4.a ./libplds4.so 
/build/buildd/firefox-1.5.dfsg+1.5.0.4/dist/lib
(...)
gcc -shared -Wl,-soname -Wl,libplc4.so -o libplc4.so ./plvrsion.o ./strlen.o 
./strcpy.o ./strdup.o ./strcat.o ./strcmp.o ./strccmp.o ./strchr.o ./strpbrk.o 
./strstr.o ./strcstr.o ./strtok.o ./base64.o ./plerror.o ./plgetopt.o 
-L/build/buildd/firefox-1.5.dfsg+1.5.0.4/dist/lib -lnspr4
../../../config/./nsinstall -R -m 444 ./libplc4.a ./libplc4.so 
/build/buildd/firefox-1.5.dfsg+1.5.0.4/dist/lib

So... I really don't see what's wrong...

Mike



Bug#378378: firefox - FTBFS: warning: libnspr4.so, needed by ../../../../dist/bin/libmozjs.so, not found

2006-07-15 Thread Bastian Blank
Package: firefox
Version: 1.5.dfsg+1.5.0.4-2
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of firefox_1.5.dfsg+1.5.0.4-2 on debian-31 by sbuild/s390 85
[...]
> c++ -o xpcshell.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API 
> -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2006071518 
> -DJS_THREADSAFE  -I../../../../dist/include/xpconnect 
> -I../../../../dist/include/xpcom -I../../../../dist/include/js 
> -I../../../../dist/include/caps -I../../../../dist/include/xpcshell 
> -I../../../../dist/include -I../../../../dist/include/nspr -I/usr/include 
> -I/usr/include -I/usr/include   -fno-rtti -fno-exceptions -Wall 
> -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar 
> -pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   
> -DMOZILLA_CLIENT -include ../../../../mozilla-config.h 
> -Wp,-MD,.deps/xpcshell.pp xpcshell.cpp
> c++   -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith 
> -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
> -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe  -DNDEBUG 
> -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing -o xpcshell xpcshell.o  
> -Wl,--as-needed   -L../../../../dist/bin -L../../../../dist/lib 
> -L../../../../dist/bin -lmozjs -L../../../../dist/bin -lxpcom -lxpcom_core  
> -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -ldl -lm 
> /usr/bin/ld: warning: libnspr4.so, needed by 
> ../../../../dist/bin/libmozjs.so, not found (try using -rpath or -rpath-link)
> /usr/bin/ld: warning: libplds4.so, needed by 
> ../../../../dist/bin/libxpcom_core.so, not found (try using -rpath or 
> -rpath-link)
> /usr/bin/ld: warning: libplc4.so, needed by 
> ../../../../dist/bin/libxpcom_core.so, not found (try using -rpath or 
> -rpath-link)
> ../../../../dist/bin/libmozjs.so: undefined reference to `PR_NotifyAllCondVar'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_SetThreadPrivate'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_MillisecondsToInterval'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_smprintf_free'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PL_strnstr'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_AtomicSet'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PL_FinishArenaPool'
> ../../../../dist/bin/libmozjs.so: undefined reference to `PR_DestroyCondVar'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PL_strncpyz'
> ../../../../dist/bin/libmozjs.so: undefined reference to `PR_GetCurrentThread'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_Free'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_UnloadLibrary'
> ../../../../dist/bin/libmozjs.so: undefined reference to `PR_AtomicIncrement'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_Notify'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_Interrupt'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_FloorLog2'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_LoadLibrary'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_Malloc'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_SetEnv'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_LogFlush'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_GetThreadPriority'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PL_strdup'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_Now'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_GetThreadPrivate'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_Calloc'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PL_strlen'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_CreateThread'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_CExitMonitor'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_CreateProcess'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_GetErrorText'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_Close'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_CreateProcessDetached'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_GetFileInfo64'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PL_strfree'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_ExitMonitor'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to 
> `PR_NewLogModule'
> ../../../../dist/bin/libxpcom_core.so: undefined reference to `PR_JoinThread'
> ../../../../dist/bin/libmozjs.so: undefined reference t