Package: iceweasel
Version: 2.0.0.3-2
Severity: important
Justification: fails to build from source

build fails with

....
make[5]: Leaving directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/reporter/locales'
Creating ../../dist/bin/defaults/pref
set -e;   \
        for i in ./resources/content/prefs/reporter.js; \
        do /usr/bin/perl ../../config/preprocessor.pl  -DOSTYPE=\"Linux2.6.21\" 
-DOSARCH=\"Linux\" -DBUILD_ID=2007031002 -DMOZILLA_VERSION=\"1.8.1.3\" 
-DMOZILLA_VERSION_U=1.8.1.3 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 
-DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 
-DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 
-DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 
-DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 
-DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 
-DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 
-DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 
-DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 
-DHAVE_RINT=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_FLOCKFILE=1 
-DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_RES_NINIT=1 
-DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy 
-DHAVE_VA_COPY=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk2\" 
-DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_PHOENIX=1 
-DMOZ_BUILD_APP=browser -DMOZ_XUL_APP=1 -DMOZ_ENABLE_CANVAS=1 
-DMOZ_DISTRIBUTION_ID=\"org.debian\" -DMOZ_ENABLE_XFT=1 -DMOZ_ENABLE_PANGO=1 
-DMOZ_ENABLE_GNOMEUI=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 
-DMOZ_ENABLE_XINERAMA=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 
-DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 
-DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_SVG=1 -DMOZ_SVG_RENDERER_CAIRO=1 
-DMOZ_UPDATE_CHANNEL=default -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 
-DMOZ_SAFE_BROWSING=1 -DMOZ_URL_CLASSIFIER=1 -DMOZ_LOGGING=1 
-DMOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS=1 -DHAVE___CXA_DEMANGLE=1 
-DMOZ_DEFAULT_MOZILLA_FIVE_HOME=\"/usr/lib/iceweasel\" 
-DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_MORK=1 
-DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 
-DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_1_8_BRANCH=1 
-DMOZILLA_LOCALE_VERSION=\"1.8.1\" -DMOZILLA_REGION_VERSION=\"1.8.1\" 
-DMOZILLA_SKIN_VERSION=\"1.8\"  $i > ../../dist/bin/defaults/pref/`basename 
$i`; \
        done
+++ making chrome /var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/reporter  
=> ../../dist/bin/chrome/reporter.jar
+++ updating chrome ../../dist/bin/chrome/reporter.manifest
make[4]: Leaving directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/reporter'
make[4]: Entering directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck'
make[5]: Entering directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/src'
mozSpellCheckerFactory.cpp
c++ -o mozSpellCheckerFactory.o -c -I../../../dist/include/system_wrappers 
-include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6.21\" -DOSARCH=\"Linux\" -DBUILD_ID=2007031002  
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/editor -I../../../dist/include/content 
-I../../../dist/include/dom -I../../../dist/include/necko 
-I../../../dist/include/widget -I../../../dist/include/pref 
-I../../../dist/include/txtsvc -I../../../dist/include/uconv 
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker 
-I../../../dist/include -I../../../dist/include/nspr -I/usr/include 
-I/usr/include -I/usr/include    -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 -fshort-wchar 
-pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   
-DMOZILLA_CLIENT -include ../../../mozilla-config.h 
-Wp,-MD,.deps/mozSpellCheckerFactory.pp mozSpellCheckerFactory.cpp
mozSpellChecker.cpp
c++ -o mozSpellChecker.o -c -I../../../dist/include/system_wrappers -include 
../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6.21\" 
-DOSARCH=\"Linux\" -DBUILD_ID=2007031002  -I../../../dist/include/xpcom 
-I../../../dist/include/string -I../../../dist/include/editor 
-I../../../dist/include/content -I../../../dist/include/dom 
-I../../../dist/include/necko -I../../../dist/include/widget 
-I../../../dist/include/pref -I../../../dist/include/txtsvc 
-I../../../dist/include/uconv -I../../../dist/include/unicharutil 
-I../../../dist/include/spellchecker -I../../../dist/include 
-I../../../dist/include/nspr -I/usr/include -I/usr/include -I/usr/include    
-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 -fshort-wchar -pthread -pipe  -DNDEBUG 
-DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   -DMOZILLA_CLIENT -include 
../../../mozilla-config.h -Wp,-MD,.deps/mozSpellChecker.pp mozSpellChecker.cpp
mozPersonalDictionary.cpp
c++ -o mozPersonalDictionary.o -c -I../../../dist/include/system_wrappers 
-include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6.21\" -DOSARCH=\"Linux\" -DBUILD_ID=2007031002  
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/editor -I../../../dist/include/content 
-I../../../dist/include/dom -I../../../dist/include/necko 
-I../../../dist/include/widget -I../../../dist/include/pref 
-I../../../dist/include/txtsvc -I../../../dist/include/uconv 
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker 
-I../../../dist/include -I../../../dist/include/nspr -I/usr/include 
-I/usr/include -I/usr/include    -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 -fshort-wchar 
-pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   
-DMOZILLA_CLIENT -include ../../../mozilla-config.h 
-Wp,-MD,.deps/mozPersonalDictionary.pp mozPersonalDictionary.cpp
mozEnglishWordUtils.cpp
c++ -o mozEnglishWordUtils.o -c -I../../../dist/include/system_wrappers 
-include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6.21\" -DOSARCH=\"Linux\" -DBUILD_ID=2007031002  
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/editor -I../../../dist/include/content 
-I../../../dist/include/dom -I../../../dist/include/necko 
-I../../../dist/include/widget -I../../../dist/include/pref 
-I../../../dist/include/txtsvc -I../../../dist/include/uconv 
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker 
-I../../../dist/include -I../../../dist/include/nspr -I/usr/include 
-I/usr/include -I/usr/include    -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 -fshort-wchar 
-pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   
-DMOZILLA_CLIENT -include ../../../mozilla-config.h 
-Wp,-MD,.deps/mozEnglishWordUtils.pp mozEnglishWordUtils.cpp
mozGenericWordUtils.cpp
c++ -o mozGenericWordUtils.o -c -I../../../dist/include/system_wrappers 
-include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6.21\" -DOSARCH=\"Linux\" -DBUILD_ID=2007031002  
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/editor -I../../../dist/include/content 
-I../../../dist/include/dom -I../../../dist/include/necko 
-I../../../dist/include/widget -I../../../dist/include/pref 
-I../../../dist/include/txtsvc -I../../../dist/include/uconv 
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker 
-I../../../dist/include -I../../../dist/include/nspr -I/usr/include 
-I/usr/include -I/usr/include    -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 -fshort-wchar 
-pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   
-DMOZILLA_CLIENT -include ../../../mozilla-config.h 
-Wp,-MD,.deps/mozGenericWordUtils.pp mozGenericWordUtils.cpp
mozSpellI18NManager.cpp
c++ -o mozSpellI18NManager.o -c -I../../../dist/include/system_wrappers 
-include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6.21\" -DOSARCH=\"Linux\" -DBUILD_ID=2007031002  
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/editor -I../../../dist/include/content 
-I../../../dist/include/dom -I../../../dist/include/necko 
-I../../../dist/include/widget -I../../../dist/include/pref 
-I../../../dist/include/txtsvc -I../../../dist/include/uconv 
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker 
-I../../../dist/include -I../../../dist/include/nspr -I/usr/include 
-I/usr/include -I/usr/include    -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 -fshort-wchar 
-pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   
-DMOZILLA_CLIENT -include ../../../mozilla-config.h 
-Wp,-MD,.deps/mozSpellI18NManager.pp mozSpellI18NManager.cpp
mozInlineSpellChecker.cpp
c++ -o mozInlineSpellChecker.o -c -I../../../dist/include/system_wrappers 
-include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6.21\" -DOSARCH=\"Linux\" -DBUILD_ID=2007031002  
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/editor -I../../../dist/include/content 
-I../../../dist/include/dom -I../../../dist/include/necko 
-I../../../dist/include/widget -I../../../dist/include/pref 
-I../../../dist/include/txtsvc -I../../../dist/include/uconv 
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker 
-I../../../dist/include -I../../../dist/include/nspr -I/usr/include 
-I/usr/include -I/usr/include    -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 -fshort-wchar 
-pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   
-DMOZILLA_CLIENT -include ../../../mozilla-config.h 
-Wp,-MD,.deps/mozInlineSpellChecker.pp mozInlineSpellChecker.cpp
mozInlineSpellWordUtil.cpp
c++ -o mozInlineSpellWordUtil.o -c -I../../../dist/include/system_wrappers 
-include ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6.21\" -DOSARCH=\"Linux\" -DBUILD_ID=2007031002  
-I../../../dist/include/xpcom -I../../../dist/include/string 
-I../../../dist/include/editor -I../../../dist/include/content 
-I../../../dist/include/dom -I../../../dist/include/necko 
-I../../../dist/include/widget -I../../../dist/include/pref 
-I../../../dist/include/txtsvc -I../../../dist/include/uconv 
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker 
-I../../../dist/include -I../../../dist/include/nspr -I/usr/include 
-I/usr/include -I/usr/include    -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 -fshort-wchar 
-pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing   
-DMOZILLA_CLIENT -include ../../../mozilla-config.h 
-Wp,-MD,.deps/mozInlineSpellWordUtil.pp mozInlineSpellWordUtil.cpp
rm -f libspellchecker.so
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 -fPIC -shared -Wl,-z,defs -Wl,-h,libspellchecker.so -o 
libspellchecker.so  mozSpellCheckerFactory.o mozSpellChecker.o 
mozPersonalDictionary.o mozEnglishWordUtils.o mozGenericWordUtils.o 
mozSpellI18NManager.o mozInlineSpellChecker.o mozInlineSpellWordUtil.o    
-Wl,--as-needed   -L../../../dist/bin -L../../../dist/lib -L../../../dist/bin 
-lxpcom -lxpcom_core  -L../../../dist/bin -L../../../dist/lib -lplds4 -lplc4 
-lnspr4 -lpthread -ldl ../../../dist/lib/libunicharutil_s.a  
-Wl,--version-script 
-Wl,../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic 
-ldl -lm    
chmod +x libspellchecker.so
/var/tmp/build/stuff/iceweasel-2.0.0.3/config/nsinstall -R -m 755 
libspellchecker.so ../../../dist/bin/components
: ../../../dist/bin/components/libspellchecker.so
make[5]: Leaving directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/src'
make[5]: Entering directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/idl'
mozIPersonalDictionary.idl
.../../../dist/bin/xpidl -m typelib -w -I ../../../dist/idl -I. -o 
_xpidlgen/mozIPersonalDictionary mozIPersonalDictionary.idl
mozISpellCheckingEngine.idl
.../../../dist/bin/xpidl -m typelib -w -I ../../../dist/idl -I. -o 
_xpidlgen/mozISpellCheckingEngine mozISpellCheckingEngine.idl
mozISpellI18NUtil.idl
.../../../dist/bin/xpidl -m typelib -w -I ../../../dist/idl -I. -o 
_xpidlgen/mozISpellI18NUtil mozISpellI18NUtil.idl
mozISpellI18NManager.idl
.../../../dist/bin/xpidl -m typelib -w -I ../../../dist/idl -I. -o 
_xpidlgen/mozISpellI18NManager mozISpellI18NManager.idl
.../../../dist/bin/xpt_link _xpidlgen/spellchecker.xpt 
_xpidlgen/mozIPersonalDictionary.xpt _xpidlgen/mozISpellCheckingEngine.xpt 
_xpidlgen/mozISpellI18NUtil.xpt _xpidlgen/mozISpellI18NManager.xpt 
/var/tmp/build/stuff/iceweasel-2.0.0.3/config/nsinstall -R -m 644 
_xpidlgen/spellchecker.xpt ../../../dist/bin/components
make[5]: Leaving directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/idl'
make[5]: Entering directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/locales'
/var/tmp/build/stuff/iceweasel-2.0.0.3/config/nsinstall -R  
../../../extensions/spellcheck/locales/en-US/myspell/en-US.dic 
../../../extensions/spellcheck/locales/en-US/myspell/en-US.aff 
../../../dist/bin/dictionaries
make[5]: Leaving directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/locales'
make[5]: Entering directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell'
make[6]: Entering directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src'
mozMySpell.cpp
c++ -o mozMySpell.o -c -I../../../../dist/include/system_wrappers -include 
../../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6.21\" 
-DOSARCH=\"Linux\" -DBUILD_ID=2007031002  -I../../../../dist/include/xpcom 
-I../../../../dist/include/string -I../../../../dist/include/uconv 
-I../../../../dist/include/unicharutil -I../../../../dist/include/spellchecker 
-I../../../../dist/include/xulapp -I../../../../dist/include/myspell 
-I../../../../dist/include -I../../../../dist/include/nspr -I/usr/include 
-I/usr/include -I/usr/include    -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 -fshort-wchar 
-pthread -pipe  -DNDEBUG -DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing 
-I/usr/include/hunspell   -DMOZ_NATIVE_HUNSPELL   -DMOZILLA_CLIENT -include 
../../../../mozilla-config.h -Wp,-MD,.deps/mozMySpell.pp mozMySpell.cpp
mozMySpellFactory.cpp
c++ -o mozMySpellFactory.o -c -I../../../../dist/include/system_wrappers 
-include ../../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6.21\" -DOSARCH=\"Linux\" -DBUILD_ID=2007031002  
-I../../../../dist/include/xpcom -I../../../../dist/include/string 
-I../../../../dist/include/uconv -I../../../../dist/include/unicharutil 
-I../../../../dist/include/spellchecker -I../../../../dist/include/xulapp 
-I../../../../dist/include/myspell -I../../../../dist/include 
-I../../../../dist/include/nspr -I/usr/include -I/usr/include -I/usr/include    
-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 -fshort-wchar -pthread -pipe  -DNDEBUG 
-DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing -I/usr/include/hunspell   
-DMOZ_NATIVE_HUNSPELL   -DMOZILLA_CLIENT -include ../../../../mozilla-config.h 
-Wp,-MD,.deps/mozMySpellFactory.pp mozMySpellFactory.cpp
mozMySpellDirProvider.cpp
c++ -o mozMySpellDirProvider.o -c -I../../../../dist/include/system_wrappers 
-include ../../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API 
-DOSTYPE=\"Linux2.6.21\" -DOSARCH=\"Linux\" -DBUILD_ID=2007031002  
-I../../../../dist/include/xpcom -I../../../../dist/include/string 
-I../../../../dist/include/uconv -I../../../../dist/include/unicharutil 
-I../../../../dist/include/spellchecker -I../../../../dist/include/xulapp 
-I../../../../dist/include/myspell -I../../../../dist/include 
-I../../../../dist/include/nspr -I/usr/include -I/usr/include -I/usr/include    
-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 -fshort-wchar -pthread -pipe  -DNDEBUG 
-DTRIMMED -pipe -w -O2 -g -fno-strict-aliasing -I/usr/include/hunspell   
-DMOZ_NATIVE_HUNSPELL   -DMOZILLA_CLIENT -include ../../../../mozilla-config.h 
-Wp,-MD,.deps/mozMySpellDirProvider.pp mozMySpellDirProvider.cpp
rm -f libmyspell.so
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 -I/usr/include/hunspell   -DMOZ_NATIVE_HUNSPELL -fPIC 
-shared -Wl,-z,defs -Wl,-h,libmyspell.so -o libmyspell.so  mozMySpell.o 
mozMySpellFactory.o mozMySpellDirProvider.o    -Wl,--as-needed   
-L../../../../dist/bin -L../../../../dist/lib -L../../../../dist/bin -lxpcom 
-lxpcom_core  -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl 
../../../../dist/lib/libunicharutil_s.a -lhunspell-1.1    -Wl,--version-script 
-Wl,../../../../build/unix/gnu-ld-scripts/components-version-script 
-Wl,-Bsymbolic -ldl -lm    
mozMySpell.o: In function `mozMySpell::Check(unsigned short const*, int*)':
/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src/mozMySpell.cpp:422:
 undefined reference to `Hunspell::spell(char const*, int*, char**)'
mozMySpell.o: In function `~mozMySpell':
/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src/mozMySpell.cpp:104:
 undefined reference to `Hunspell::~Hunspell()'
/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src/mozMySpell.cpp:104:
 undefined reference to `Hunspell::~Hunspell()'
/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src/mozMySpell.cpp:104:
 undefined reference to `Hunspell::~Hunspell()'
mozMySpell.o: In function `mozMySpell::SetDictionary(unsigned short const*)':
/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src/mozMySpell.cpp:153:
 undefined reference to `Hunspell::~Hunspell()'
/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src/mozMySpell.cpp:158:
 undefined reference to `Hunspell::Hunspell(char const*, char const*)'
/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src/mozMySpell.cpp:167:
 undefined reference to `Hunspell::get_dic_encoding()'
/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src/mozMySpell.cpp:171:
 undefined reference to `Hunspell::get_dic_encoding()'
mozMySpell.o: In function `mozMySpell::Suggest(unsigned short const*, unsigned 
short***, unsigned int*)':
/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src/mozMySpell.cpp:446:
 undefined reference to `Hunspell::suggest(char***, char const*)'
/usr/bin/ld: libmyspell.so: hidden symbol `Hunspell::get_dic_encoding()' isn't 
defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[6]: *** [libmyspell.so] Error 1
make[6]: Leaving directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell/src'
make[5]: *** [libs] Error 2
make[5]: Leaving directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck/myspell'
make[4]: *** [libs] Error 2
make[4]: Leaving directory 
`/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions/spellcheck'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/var/tmp/build/stuff/iceweasel-2.0.0.3/extensions'
make[2]: *** [tier_99] Error 2
make[2]: Leaving directory `/var/tmp/build/stuff/iceweasel-2.0.0.3'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/tmp/build/stuff/iceweasel-2.0.0.3'
make: *** [build-stamp] Error 2


Same happens for iceweasel 2.0.0.4-1.

Note that the "undefined references" *are* defined in one of the *.o
on the link command line, but they have visibility "hidden"
(note -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE).
I can fix this problemi by adding two lines to
../extensions/spellcheck/myspell/src/mozMySpell.h

 #if MOZ_NATIVE_HUNSPELL
+#pragma GCC visibility push(default)
 #include "hunspell.hxx"
+#pragma GCC visibility pop
 #define MySpell Hunspell
 #else
 #include "myspell.hxx"
 #endif

(probably a better way is to add hunspell.hxx to the list of
system headers wrapped in config/system_wrappers).
But then the real fun comes with the final link of firefox-bin
which also fails with undefined references to hidden functions.

Cheers, Roderich


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.3 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iceweasel depends on:
ii  g++                     4:4.2.0-0        The GNU C++ compiler
ii  gcc                     4:4.2.0-0        The GNU C compiler
ii  g++-4.2                 4.2-20070609-1   The GNU C++ compiler
ii  gcc-4.2                 4.2-20070609-1   The GNU C compiler
ii  binutils                2.17cvs2007042   The GNU assembler, linker and bina
ii  debianutils             2.20.1           Miscellaneous utilities specific t
ii  fontconfig              2.4.2-1.2        generic font configuration library
ii  libatk1.0-0             1.18.0-2         The ATK accessibility toolkit
ii  libc6                   2.5-8            GNU C Library: Shared libraries
ii  libcairo2               1.4.6-1.1        The Cairo 2D vector graphics libra
ii  libfontconfig1          2.4.2-1.2        generic font configuration library
ii  libfreetype6            2.2.1-6          FreeType 2 font engine, shared lib
ii  libgcc1                 1:4.2-20070609-1 GCC support library
ii  libglib2.0-0            2.12.12-1        The GLib library of C routines
ii  libgtk2.0-0             2.10.12-3        The GTK+ graphical user interface 
ii  libhunspell-1.1-0       1.1.5-6          spell checker and morphological an
ii  libjpeg62               6b-13            The Independent JPEG Group's JPEG 
ii  libpango1.0-0           1.16.4-1         Layout and rendering of internatio
ii  libpng14-1              1.4.0~beta16-0   PNG library - runtime
ii  libstdc++6              4.2-20070609-1   The GNU Standard C++ Library v3
ii  libx11-6                2:1.1.2-1        X11 client-side library
ii  libxft2                 2.1.12-2         FreeType-based font drawing librar
ii  libxinerama1            1:1.0.2-1        X11 Xinerama extension library
ii  libxp6                  1:1.0.0.xsf1-1   X Printing Extension (Xprint) clie
ii  libxrender1             1:0.9.2-1        X Rendering Extension client libra
ii  libxt6                  1:1.0.5-3        X11 toolkit intrinsics library
ii  psmisc                  22.5-1           Utilities that use the proc filesy
ii  zlib1g                  1:1.2.3-15       compression library - runtime

iceweasel recommends no packages.

-- no debconf information


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

Reply via email to