After updating xorg-x11 (on a headless machine, therefore only libraries installed) Thunderbird mails to compile. ... * Parsing Makefiles ... cat: ./config/build_number: No such file or directory cat: ./config/build_number: No such file or directory rm -f -rf ./dist/sdk rm -f -rf ./dist/include /usr/bin/gmake -C config export cat: ../config/build_number: No such file or directory gmake[1]: Entering directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.4/work/mozilla/config' nsinstall.c i586-pc-linux-gnu-gcc -o host_nsinstall.o -c -march=i586 -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions -DXP_UNIX -O2 -I../dist/include -I../dist/include -I/usr/include/nspr -I../dist/sdk/include -I/usr/include/nspr nsinstall.c pathsub.c i586-pc-linux-gnu-gcc -o host_pathsub.o -c -march=i586 -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions -DXP_UNIX -O2 -I../dist/include -I../dist/include -I/usr/include/nspr -I../dist/sdk/include -I/usr/include/nspr pathsub.c rm -f nfspwd cp nfspwd.pl nfspwd rm -f revdepth chmod +x nfspwd cp revdepth.pl revdepth chmod +x revdepth /usr/bin/perl -I. ./bdate.pl build_number 1 i586-pc-linux-gnu-gcc -DOSTYPE=\"Linux2.6.16\" -DOSARCH=\"Linux\" -DBUILD_ID= -I../dist/include -I../dist/include -I/usr/include/nspr -I../dist/sdk/include -fPIC -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=i586 -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -include ../mozilla-config.h -DMOZILLA_CLIENT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o elf-dynstr-gc elf-dynstr-gc.c -Wl,-rpath,'$ORIGIN' -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 i586-pc-linux-gnu-gcc -o nsinstall -march=i586 -pipe -Wno-return-type -w -freorder-blocks -fno-reorder-functions -DXP_UNIX -O2 host_nsinstall.o host_pathsub.o rm -f nsBuildID.h /usr/bin/perl -I. ./aboutime.pl -m ./milestone.txt nsBuildID.h build_number ./nsBuildID.h.in /usr/lib/gcc/i586-pc-linux-gnu/3.4.6/../../../libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_create_for_bitmap' /usr/lib/gcc/i586-pc-linux-gnu/3.4.6/../../../libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_create' /usr/lib/gcc/i586-pc-linux-gnu/3.4.6/../../../libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_set_size' collect2: ld returned 1 exit status gmake[1]: *** [elf-dynstr-gc] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.4/work/mozilla/config' make: *** [default] Error 2 !!! ERROR: mail-client/mozilla-thunderbird-1.5.0.4 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mozilla-thunderbird-1.5.0.4.ebuild, line 117: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info: Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.19 i686) ================================================================= System uname: 2.6.16.19 i686 VIA Samuel 2 Gentoo Base System version 1.6.15 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=i586 -m3dnow -Os -pipe -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i586 -m3dnow -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo http://mirror.pudas.net/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://www.gigaload.org/gentoo.org/" LINGUAS="da en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://dyrup.dsa-net.dk/gentoo-portage" USE="x86 3dnow apache2 apm avi berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gdbm gif gtk gtk2 imagemagick imlib isdnlog jpeg libg++ libwww mad mbox mikmod mp3 mpeg mysql ncurses nls nptl ogg oggvorbis oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vhosts vorbis xml2 xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_da linguas_en userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Uhm, tried to run revdep-rebuild?
Thanks for your quick reply! :) Yes, I've run revdep-rebuild - no luck. :( I've also tried to recompile cairo (the error seems to be related to this library?). My system is 'up-to-date' (emerge -puD world) - also regarding to USE-flags (emerge -uD --newuse world). I've tried ldconfig'ing and "env-update && source /etc/profile" woodoo magic stuff (including rebooting before compiling)... I suspect som missing dependency - since I don't have the full xorg installation.
Created attachment 91982 [details] Installed packages "epm -qa" output attached...
for me compilation failed too, but with an other error: gmake[4]: Entering directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.4/work/mozilla/xpfe/components/build2' nsModule.cpp i686-pc-linux-gnu-g++ -o nsModule.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2006072017 -I./../windowds -I./../../browser/src -I./../download-manager/src -I./../autocomplete/src -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/content -I../../../dist/include/rdf -I../../../dist/include/necko -I../../../dist/include/necko2 -I../../../dist/include/nkcache -I../../../dist/include/intl -I../../../dist/include/locale -I../../../dist/include/mork -I../../../dist/include/widget -I../../../dist/include/dom -I../../../dist/include/uriloader -I../../../dist/include/mimetype -I../../../dist/include/webbrowserpersist -I../../../dist/include/progressDlg -I../../../dist/include/pref -I../../../dist/include/docshell -I../../../dist/include/webshell -I../../../dist/include/appshell -I../../../dist/include/downloadmanager -I../../../dist/include/appcomps -I../../../dist/include -I/usr/include/nspr -fPIC -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=pentium4 -pipe -Wno-deprecated -Wno-return-type -w -freorder-blocks -fno-reorder-functions -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsModule.pp nsModule.cpp nsModule.cpp:45:27: nsCharsetMenu.h: Datei oder Verzeichnis nicht gefunden nsModule.cpp:46:34: nsFontPackageHandler.h: Datei oder Verzeichnis nicht gefunden nsModule.cpp: In function `nsresult nsFontPackageHandlerConstructor(nsISupports*, const nsIID&, void**)': nsModule.cpp:68: Fehler:
for me compilation failed too, but with an other error: gmake[4]: Entering directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.4/work/mozilla/xpfe/components/build2' nsModule.cpp i686-pc-linux-gnu-g++ -o nsModule.o -c -fvisibility=hidden -fvisibility-inlines-hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2006072017 -I./../windowds -I./../../browser/src -I./../download-manager/src -I./../autocomplete/src -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/content -I../../../dist/include/rdf -I../../../dist/include/necko -I../../../dist/include/necko2 -I../../../dist/include/nkcache -I../../../dist/include/intl -I../../../dist/include/locale -I../../../dist/include/mork -I../../../dist/include/widget -I../../../dist/include/dom -I../../../dist/include/uriloader -I../../../dist/include/mimetype -I../../../dist/include/webbrowserpersist -I../../../dist/include/progressDlg -I../../../dist/include/pref -I../../../dist/include/docshell -I../../../dist/include/webshell -I../../../dist/include/appshell -I../../../dist/include/downloadmanager -I../../../dist/include/appcomps -I../../../dist/include -I/usr/include/nspr -fPIC -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=pentium4 -pipe -Wno-deprecated -Wno-return-type -w -freorder-blocks -fno-reorder-functions -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsModule.pp nsModule.cpp nsModule.cpp:45:27: nsCharsetMenu.h: Datei oder Verzeichnis nicht gefunden nsModule.cpp:46:34: nsFontPackageHandler.h: Datei oder Verzeichnis nicht gefunden nsModule.cpp: In function `nsresult nsFontPackageHandlerConstructor(nsISupports*, const nsIID&, void**)': nsModule.cpp:68: Fehler: »nsFontPackageHandler« wurde in diesem Gültigkeitsbereich nicht definiert nsModule.cpp:68: Fehler: »inst« wurde in diesem Gültigkeitsbereich nicht definiert nsModule.cpp:68: Fehler: »nsFontPackageHandler« is not a type nsModule.cpp: At global scope: nsModule.cpp:112: Fehler: »NS_CHARSETMENU_CID« wurde in diesem Gültigkeitsbereich nicht definiert nsModule.cpp:113: Fehler: expected `}' vor "NS_CHARSETMENU_PID" nsModule.cpp:113: Fehler: expected `}' vor "NS_CHARSETMENU_PID" nsModule.cpp:113: Fehler: Ungültige Umformung von »const char*« in »PRUint16« nsModule.cpp:113: Fehler: expected `,' or `;' vor "NS_CHARSETMENU_PID" nsModule.cpp:114: Fehler: expected declaration vor »}«-Zeichen gmake[4]: *** [nsModule.o] Fehler 1 gmake[4]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.4/work/mozilla/xpfe/components/build2' gmake[3]: *** [libs] Fehler 2 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.4/work/mozilla/xpfe/components' gmake[2]: *** [libs] Fehler 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.4/work/mozilla/xpfe' gmake[1]: *** [tier_50] Fehler 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-1.5.0.4/work/mozilla' make: *** [default] Fehler 2 !!! ERROR: mail-client/mozilla-thunderbird-1.5.0.4 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mozilla-thunderbird-1.5.0.4.ebuild, line 117: Called die [ebuild N ] mail-client/mozilla-thunderbird-1.5.0.4 USE="crypt gnome ipv6 -debug -ldap -xinerama -xprint" 0 kB [ebuild R ] virtual/x11-7.0-r2 USE="dri%" 0 kB Portage 2.1-r1 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686) ================================================================= System uname: 2.6.16-gentoo-r13 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd eds emboss encode fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts userlocales vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
sorry, my last on the wrong bug... in Bug#135495 compile of thunderbird failes too.
Both the new Thunderbird 1.5.0.5 and Firefox 1.5.0.5 fails with the same error as well. I've tried to install both Cairo 1.0.2 and 1.2.0 without any luck.
If the cairo package is compiled with the "X" USE flag everything seems to work. echo "x11-libs/cairo X" >> /etc/portage/package.keywords emerge --oneshot cairo emerge --oneshot mozilla-firefox mozilla-thunderbird completes without failures. I do not want to add "X" to the global USE (in /etc/make.conf) as I'm running a headless machine, and don't want all the X-apps and servers etc. I just need the core to display the apps remotely. I'm not sure how the problem should be solved? Perhaps should cairo compile the needed stuff even without the X flag? At least the mozilla packages should put out a warning if it detects that the X-flag is missing for cairo...
Fixed in 1.5.0.9, warning is issued like with firefox.