Package: mozilla Version: 2:1.7.13-0.2 Your package fails to build with recent versions of the gcc-snapshot package, i.e. a pre-release of GCC 4.2. The problem is that external variables are defined both in a C and C++ context, as you can see in this simple example:
42059:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c t.cc t.cc:1: error: previous declaration of 'int i' with 'C++' linkage t.cc:4: error: conflicts with new declaration with 'C' linkage 42060:[EMAIL PROTECTED]: ~] cat t.cc extern int i; extern "C" { extern int i; } According to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27227#c8 this is not valid, so please investgate. > Automatic build of mozilla_2:1.7.13-0.2 on test.track.rz.uni-augsburg.de by > sbuild/powerpc 0.47 ... > g++ -o mimemult.o -c -DENABLE_SMIME -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" > -I../../../dist/include/xpcom -I../../../dist/include/xpcom_obsolete > -I../../../dist/include/string -I../../../dist/include/msgbase > -I../../../dist/include/msgbaseutil -I../../../dist/include/pref > -I../../../dist/include/js -I../../../dist/include/necko > -I../../../dist/include/uconv -I../../../dist/include/unicharutil > -I../../../dist/include/msgcompose -I../../../dist/include/dom > -I../../../dist/include/intl -I../../../dist/include/msgimap > -I../../../dist/include/exthandler -I../../../dist/include/mailnews > -I../../../dist/include/msgdb -I../../../dist/include/chardet > -I../../../dist/include/caps -I../../../dist/include/mimetype > -I../../../dist/include/uriloader -I../../../dist/include/xpconnect > -I../../../dist/include/nkcache -I../../../dist/include/pipnss > -I../../../dist/include/imglib2 -I../../../dist/include/content > -I../../../dist/include/htmlparser -I../../../dist/include/layout > -I../../../dist/include/msgsmime -I../../../dist/include/mime > -I../../../dist/include > -I/build/tbm/mozilla-1.7.13/build-tree/mozilla/dist/include/nspr -fPIC > -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align > -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor > -Wno-long-long -O -DDEBIAN -fno-strict-aliasing -fshort-wchar -pthread -pipe > -DNDEBUG -DTRIMMED -DMOZILLA_CLIENT -include ../../../mozilla-config.h > -Wp,-MD,.deps/mimemult.pp mimemult.cpp > mimemult.cpp:55: warning: missing braces around initializer for > 'MimeContainerClass' > mimemult.cpp:55: warning: missing braces around initializer for > 'MimeObjectClass' > mimeeobj.h:57: error: previous declaration of 'MimeExternalObjectClass > mimeExternalObjectClass' with 'C++' linkage > mimemult.cpp:76: error: conflicts with new declaration with 'C' linkage > make[5]: *** [mimemult.o] Error 1 > make[5]: Leaving directory > `/build/tbm/mozilla-1.7.13/build-tree/mozilla/mailnews/mime/src' > make[4]: *** [libs] Error 2 -- Martin Michlmayr http://www.cyrius.com/