Package: mozilla-thunderbird
Version: 1.0.7-3

Your package may fail to build because it cannot find ssl3 during
linking.  This seems to be related to #302657 which you closed because
you couldn't reproduce it.

I'm building on mips (to be exact: mips64).  However, as you can see
in the logs below, it thinks it's building for x86: it puts stuff in
Linux2.6_x86_glibc and defines -Di386.  I guess linking fails because
of that bogus directory.  Looking at the build logs from October on
mips you can see that it recognizes the system properly
(Linux2.4_mips_glibc).

It seems that the build system falls back to x86 when it cannot figure
out what system it is and then fails... When I build with mips64
(64-bit kernel, 32-bit userland, uname -m says mips64) I get
"Linux2.6_x86_glibc" and the build failure from below.  However,
running the build with linux32 (i.e. my machine shows up as 32-bit,
unmae -m says mips) makes it work.

So I guess this bug is: please make the build system more robust and
fail if you don't know what architecture you're building for.

I guess this is what happened for Harald a few months ago.  I just
compiled the package on AMD64 and it seems fine now.

Logs from some architectures are available from
http://people.debian.org/~tbm/logs/mozilla-thunderbird_1.0.7-3/

Please also look out for the following syntax errors and investiate
what's going on there (I see them on every arch):
| syntax error at -e line 3, near "while"
| syntax error at -e line 7, near "}"

Thanks.

(Funny, I just got the same problem when compiling xulrunner... just
with horrible i386 assembler errors on a mips machine.  Must be bug in
the Mozilla build system.  I'll tell you the bug number once I've
filed the bug.)


> Automatic build of mozilla-thunderbird_1.0.7-3 on bigsur by sbuild/mips 1.94
> ....
> make[4]: Entering directory 
> `/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/security/coreconf'
> syntax error at -e line 3, near "while"
> syntax error at -e line 7, near "}"
> Execution of -e aborted due to compilation errors.
> rm -rf     Linux2.6_x86_glibc_PTH_OPT.OBJ LOGS TAGS 
> Linux2.6_x86_glibc_PTH_OPT.OBJ/.md core           so_locations _gen _jmc _jri 
> _jni _stubs  
> cd nsinstall; /usr/bin/make -j1 clean
> make[5]: Entering directory 
> `/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/security/coreconf/nsinstall'
> syntax error at -e line 3, near "while"
> syntax error at -e line 7, near "}"
> Execution of -e aborted due to compilation errors.
> rm -rf   Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall 
> Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o 
> Linux2.6_x86_glibc_PTH_OPT.OBJ/pathsub.o Linux2.6_x86_glibc_PTH_OPT.OBJ LOGS 
> TAGS Linux2.6_x86_glibc_PTH_OPT.OBJ/.md core           so_locations _gen _jmc 
> _jri _jni _stubs  
> make[5]: Leaving directory 
> `/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/security/coreconf/nsinstall'

....

> gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o -c -O2 -fPIC -DLINUX1_2 
> -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux 
> -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG 
> -D_REENTRANT 
> -I/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/include  
> -I../../../dist/public/coreconf -I../../../dist/private/coreconf 
> -I../../../dist/include 
> -I/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/include/nspr 
> -I/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/include/dbm  
> nsinstall.c
> gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/pathsub.o -c -O2 -fPIC -DLINUX1_2 
> -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux 
> -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG 
> -D_REENTRANT 
> -I/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/include  
> -I../../../dist/public/coreconf -I../../../dist/private/coreconf 
> -I../../../dist/include 
> -I/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/include/nspr 
> -I/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/include/dbm  
> pathsub.c

...


> gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/shlibsign -O2 -fPIC -DLINUX1_2 -Di386 
> -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux -D_POSIX_SOURCE 
> -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" 
> -DSHLIB_PREFIX=\"lib\" -UDEBUG -DNDEBUG -D_REENTRANT 
> -I/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/include  
> -I../../../../dist/public/nss -I../../../../dist/private/nss 
> -I../../../../dist/include 
> -I/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/include/nspr 
> -I/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/include/dbm 
> -I../../../../dist/public/dbm -I../../../../dist/public/seccmd  
> Linux2.6_x86_glibc_PTH_OPT.OBJ/shlibsign.o  
> /build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/lib/libsectool.a  
> -Wl,-rpath-link,/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/lib
>  -L/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/dist/lib -lssl3 
> -lsmime3 -lnss3 -lplc4 -lplds4 -lnspr4  -L/lib -lpthread  -ldl -lc
> /usr/bin/ld: cannot find -lssl3
> collect2: ld returned 1 exit status
> make[4]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/shlibsign] Error 1
> make[4]: Leaving directory 
> `/build/tbm/mozilla-thunderbird-1.0.7/build-dir/mozilla/security/nss/cmd/shlibsign'
> make[3]: *** [libs] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to