You are not logged in.
Hello everybody,
I'm trying to build Thunderbird with debug enabled but it fails in build process. I'm using abs source and have only modified mozconfig with this options:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb-debug
ac_add_options --enable-debug
ac_add_options --disable-optimize
This is what recommend in Mozilla developer center https://developer.mozilla.org/en/Config … ld_Options
makepkg fails with this message:
c++ -o nsMsgOfflineImapOperation.o -c -I../../../../mozilla/dist/include/system_wrappers -include /var/abs/extra/thunderbird/src/comm-1.9.1/mozilla/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -I/var/abs/extra/thunderbird/src/comm-1.9.1/mailnews/db/msgdb/src -I. -I../../../../mozilla/dist/include/xpcom -I../../../../mozilla/dist/include/string -I../../../../mozilla/dist/include/mork -I../../../../mozilla/dist/include/msgbase -I../../../../mozilla/dist/include/msgbaseutil -I../../../../mozilla/dist/include/locale -I../../../../mozilla/dist/include/mime -I../../../../mozilla/dist/include/necko -I../../../../mozilla/dist/include/pref -I../../../../mozilla/dist/include -I../../../../mozilla/dist/include/msgdb -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -DMOZILLA_CLIENT -include ../../../../comm-config.h -Wp,-MD,.deps/nsMsgOfflineImapOperation.pp /var/abs/extra/thunderbird/src/comm-1.9.1/mailnews/db/msgdb/src/nsMsgOfflineImapOperation.cpp
rm -f libmsgdb_s.a
ar cr libmsgdb_s.a nsMsgDatabase.o nsDBFolderInfo.o nsMsgHdr.o nsNewsDatabase.o nsMailDatabase.o nsImapMailDatabase.o nsMsgThread.o nsMsgOfflineImapOperation.o
ranlib libmsgdb_s.a
make[6]: se sale del directorio `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews/db/msgdb/src'
make[6]: se ingresa al directorio `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews/db/msgdb/build'
nsMsgDBFactory.cpp
c++ -o nsMsgDBFactory.o -c -I../../../../mozilla/dist/include/system_wrappers -include /var/abs/extra/thunderbird/src/comm-1.9.1/mozilla/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -I/var/abs/extra/thunderbird/src/comm-1.9.1/mailnews/db/msgdb/build -I. -I../../../../mozilla/dist/include/xpcom -I../../../../mozilla/dist/include/string -I../../../../mozilla/dist/include/locale -I../../../../mozilla/dist/include/mork -I../../../../mozilla/dist/include/mime -I../../../../mozilla/dist/include/msgbase -I../../../../mozilla/dist/include/msgbaseutil -I../../../../mozilla/dist/include/necko -I../../../../mozilla/dist/include -I../../../../mozilla/dist/include/msgdb -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -DMOZILLA_CLIENT -include ../../../../comm-config.h -Wp,-MD,.deps/nsMsgDBFactory.pp /var/abs/extra/thunderbird/src/comm-1.9.1/mailnews/db/msgdb/build/nsMsgDBFactory.cpp
make[6]: *** No hay ninguna regla para construir el objetivo `-lmsgbsutl', necesario para `libmsgdb.so'. Alto.
make[6]: se sale del directorio `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews/db/msgdb/build'
make[5]: *** [libs] Error 2
make[5]: se sale del directorio `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews/db/msgdb'
make[4]: *** [db/msgdb_libs] Error 2
make[4]: se sale del directorio `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews'
make[3]: *** [libs_tier_app] Error 2
make[3]: se sale del directorio `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug'
make[2]: *** [tier_app] Error 2
make[2]: se sale del directorio `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug'
make[1]: *** [default] Error 2
make[1]: se sale del directorio `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug'
make: *** [build] Error 2
==> ERROR: Falló la compilación.
Abortando...
I'm running x86_64 with [testing] and up-to-date packages, have gdb installed too. Any ideas?
Cheers!
Offline
is better to post any output in the forum in english language. i don't have any clue right now since i don't understand it.
Give what you have. To someone, it may be better than you dare to think.
Offline
Ok, sorry:
c++ -o nsMsgOfflineImapOperation.o -c -I../../../../mozilla/dist/include/system_wrappers -include /var/abs/extra/thunderbird/src/comm-1.9.1/mozilla/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -I/var/abs/extra/thunderbird/src/comm-1.9.1/mailnews/db/msgdb/src -I. -I../../../../mozilla/dist/include/xpcom -I../../../../mozilla/dist/include/string -I../../../../mozilla/dist/include/mork -I../../../../mozilla/dist/include/msgbase -I../../../../mozilla/dist/include/msgbaseutil -I../../../../mozilla/dist/include/locale -I../../../../mozilla/dist/include/mime -I../../../../mozilla/dist/include/necko -I../../../../mozilla/dist/include/pref -I../../../../mozilla/dist/include -I../../../../mozilla/dist/include/msgdb -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -DMOZILLA_CLIENT -include ../../../../comm-config.h -Wp,-MD,.deps/nsMsgOfflineImapOperation.pp /var/abs/extra/thunderbird/src/comm-1.9.1/mailnews/db/msgdb/src/nsMsgOfflineImapOperation.cpp
rm -f libmsgdb_s.a
ar cr libmsgdb_s.a nsMsgDatabase.o nsDBFolderInfo.o nsMsgHdr.o nsNewsDatabase.o nsMailDatabase.o nsImapMailDatabase.o nsMsgThread.o nsMsgOfflineImapOperation.o
ranlib libmsgdb_s.a
make[6]: Leaving directory `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews/db/msgdb/src'
make[6]: Entering directory `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews/db/msgdb/build'
nsMsgDBFactory.cpp
c++ -o nsMsgDBFactory.o -c -I../../../../mozilla/dist/include/system_wrappers -include /var/abs/extra/thunderbird/src/comm-1.9.1/mozilla/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -I/var/abs/extra/thunderbird/src/comm-1.9.1/mailnews/db/msgdb/build -I. -I../../../../mozilla/dist/include/xpcom -I../../../../mozilla/dist/include/string -I../../../../mozilla/dist/include/locale -I../../../../mozilla/dist/include/mork -I../../../../mozilla/dist/include/mime -I../../../../mozilla/dist/include/msgbase -I../../../../mozilla/dist/include/msgbaseutil -I../../../../mozilla/dist/include/necko -I../../../../mozilla/dist/include -I../../../../mozilla/dist/include/msgdb -I/usr/include/nspr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root -DTRACING -g -fno-inline -DMOZILLA_CLIENT -include ../../../../comm-config.h -Wp,-MD,.deps/nsMsgDBFactory.pp /var/abs/extra/thunderbird/src/comm-1.9.1/mailnews/db/msgdb/build/nsMsgDBFactory.cpp
make[6]: *** No rule to make target `-lmsgbsutl', needed by `libmsgdb.so'. Stop.
make[6]: Leaving directory `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews/db/msgdb/build'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews/db/msgdb'
make[4]: *** [db/msgdb_libs] Error 2
make[4]: Leaving directory `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug/mailnews'
make[3]: *** [libs_tier_app] Error 2
make[3]: Leaving directory `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug'
make[2]: *** [tier_app] Error 2
make[2]: Leaving directory `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/abs/extra/thunderbird/src/comm-1.9.1/objdir-tb-debug'
make: *** [build] Error 2
==> ERROR: Build Failed.
Aborting...
Offline
Any ideas please?
Offline