After emerging mozilla 1.4.1 (with GTK2 support), Galeon 1.3.10 will not install. Compilation fails whilst trying to link galeon-bin. Reproducible: Always Steps to Reproduce: 1. USE="gtk2" emerge mozilla 2. ACCEPT_KEYWORDS="~x86" emerge galeon Actual Results: Compile of galeon fails with the following output: g++ -fno-rtti -g -g -g -Wall -Wmissing-prototypes -Wsign-compare -Wno-deprecated -fshort-wchar -o galeon-bin galeon-nautilus-view.o toolbar.o statusbar.o galeon-main.o galeon-automation.o galeon-language-editor.o galeon-prefs-dialog.o galeon-shell.o galeon-tab.o galeon-window.o galeon-window-bookmark-activated-proxy.o galeon-favicon-cache.o galeon-favicon.o galeon-embed-favicon.o window-commands.o popup-commands.o history-dialog.o galeon-spinner.o ppview-toolbar.o session.o pdm-dialog.o galeon-bookmarks-icon-provider.o window-recent-history.o window-recent-history-menu.o galeon-embed-autoscroller.o galeon-embed-manual-scroller.o galeon-tbi.o galeon-navigation-button.o galeon-reload-button.o galeon-new-button.o galeon-go-button.o galeon-fullscreen-button.o galeon-stop-button.o galeon-home-button.o galeon-css-menu.o gcc2abi.o GaleonAutomation-common.o GaleonAutomation-stubs.o GaleonAutomation-skels.o -Wl,--export-dynamic -pthread ../embed/.libs/libembed.al ../mozilla/.libs/libmozillaembed.al -L/usr/lib/mozilla -lgtkembedmoz -lxpcom -lplds4 -lplc4 -lnspr4 ../bookmarks/.libs/libbookmarks.al ../utils/.libs/libutils.al -L/usr/X11R6/lib /usr/lib/libnautilus.so -L/usr/lib /usr/lib/libeel-2.so -lXrender -lXext /usr/lib/libgnomeui-2.so /usr/lib/libjpeg.so /usr/lib/libgailutil.so /usr/lib/libglade-2.0.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxml2.so -lz -lssl -lcrypto -lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so ../mozilla/.libs/libmozillaembed.al(GlobalHistory.lo)(.gnu.linkonce.d._ZTV16MozGlobalHistory+0x3c):/var/tmp/portage/galeon-1.3.10/work/galeon-1.3.10/mozilla/GlobalHistory.cpp:35: undefined reference to `MozGlobalHistory::SetLastPageVisited(char const*)' ../mozilla/.libs/libmozillaembed.al(GlobalHistory.lo)(.gnu.linkonce.d._ZTV16MozGlobalHistory+0x74):/usr/lib/mozilla/include/string/nsString.h:441: undefined reference to `non-virtual thunk [nv:-4] to MozGlobalHistory::SetLastPageVisited(char const*)' collect2: ld returned 1 exit status make[3]: *** [galeon-bin] Error 1 make[3]: Leaving directory `/var/tmp/portage/galeon-1.3.10/work/galeon-1.3.10/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/galeon-1.3.10/work/galeon-1.3.10/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/galeon-1.3.10/work/galeon-1.3.10' make: *** [all] Error 2 !!! ERROR: net-www/galeon-1.3.10 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! compile failed Expected Results: Successful installation Occurs with both my default CFLAGS (-mcpu=k6-2 -O2 -pipe) and with CFLAGS="" CXXFLAGS="". $ emerge --info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline svga tcltk java X sdl tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif opengl mozilla doc emacs gtkhtml mbox -arts -kde -qt -tetex"
Created attachment 20949 [details, diff] Patch to galeon-1.3.10.ebuild The ebuild file truncates the mozilla version number to x.x before passing it to ./configure, so if the version is 1.4.1 galeon will be configured for v1.4. This patch should fix that, and will hopefully fix the entire bug.
The patch I submitted earlier fixes this bug on my system; but it could probably do with wider testing.
i dont like that version hack much anyway. I'm not sure it's a good idea to use 3 digits by default, that might give trouble with other combo's ( moz <-> moz. based browser) . Think we should write some generic function to handle this properly in all cases.
Newer versions of galeon/mozilla are in portage