1. The ebuild claims to DEPEND on net-www/mozilla-launcher. That's not correct as far as I could tell. It seemed to build just fine without it. 2. The ebuild uses "make" in src_compile. I changed them all to "emake" and the build was successful. As you can imagine, with a large distcc host list, the time to build is dramatically reduced. Please use emake in the src_compile function.
ok, both issues fixed in mozilla-1.7-r1. I want this to go through an ~arch phase and 1.7 is already marked stable on x86 and amd64
Dies with the following error for me: gcc: Linux2.4_x86_glibc_PTH_OPT.OBJ/rsaperf.o: No such file or directory make[2]: *** [Linux2.4_x86_glibc_PTH_OPT.OBJ/rsaperf] Error 1 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.7-r1/work/mozilla/security/nss/cmd/rsaperf' make[1]: *** [libs] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.7-r1/work/mozilla/security/nss/cmd' make: *** [libs] Error 2 !!! ERROR: net-www/mozilla-1.7-r1 failed. !!! Function src_compile, Line 392, Exitcode 2 !!! make nss failed Here's my mozilla use flags: aconite mysql # emerge -upv mozilla These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-www/mozilla-1.7-r1 [1.7] +crypt -debug -debug +gnome +gtk2 -ipv6 +java +ldap -mozcalendar +moznocompose +moznoirc +moznomail -moznoxft +mozsvg +ssl +xinerama -xprint 415 kB and my emerge info: aconite portage # emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.4.26) ================================================================= System uname: 2.4.26 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib alsa apm arts berkdb cdr cjk crypt cups dga directfb dvd emacs encode esd f77 faad fbcon fftw flac gcj gdbm gif gimpprint ginac gnome gphoto2 gpm gstreamer gtk gtk2 imlib jack java jpeg ldap leim libg++ libwww lirc live mad matroska mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mule mysql nas ncurses nls objc oggvorbis opengl oss pam pdflib perl plotutils png ppds python qhull qt quicktime radeon readline scanner sdk sdl slang speex spell sse ssl svg tcltk tcpd tetex theora tiff truetype usb v4l video_cards_radeon wxwindows x86 xinerama xml xml2 xmms xosd xv xvid zlib" I will replay the emake with make and see if still fails there (will report in a few hours)
Darn. Just to compare, here are the USE flags that worked for me: [ebuild U ] net-www/mozilla-1.7 [1.6-r1] +crypt -debug -debug +gnome +gtk2 -ipv6 +java -ldap -mozcalendar +moznocompose +moznoirc +moznomail -moznoxft -mozsvg +ssl -xinerama -xprint 0 kB
Works fine for me if I put make back in instead of emake :( Nothing else has changed on my system from my results above.
might be just the security stuff that fails with emake. I have a distcc setup here so I'll experiment to see if I can find a working combination, then I'll ask Colin to re-test
There's a bug with a "!moznomail?" tag in ebuild file. ===> Original Code <=== DESCRIPTION="The Mozilla Application Suite - web browser, email, HTML editor, IRC" HOMEPAGE="http://www.mozilla.org" SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/${PN}${MY_PV}/src/${PN}-source-${MY_PV}.tar. crypt? ( !moznomail? ( http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz mirror://gentoo/enigmail-${EMVER}-r1.tar.gz ) )" ===> End Original Code <=== ===> Modified code <=== DESCRIPTION="The Mozilla Application Suite - web browser, email, HTML editor, IRC" HOMEPAGE="http://www.mozilla.org" SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/${PN}${MY_PV}/src/${PN}-source-${MY_PV}.tar. crypt? ( http://downloads.mozdev.org/enigmail/src/ipc-${IPCVER}.tar.gz mirror://gentoo/enigmail-${EMVER}-r1.tar.gz )" ===> End Modified Code <=== I've modified the code and works fine. Any comment?
Fabio - that's a bug in portage and there are already bugs filed about that. Should be fixed in the next version of portage. You should take "cvs" out of your FEATURES - that will work around the bug.
Ok I just did a compile of 1.7-r1 using emake and the use flags in Comment #3 instead of my own. It works. The three use flags that were different were: ldap mozsvg and xinerama (set when it didn't work and not set when it dit work). So there must be a problem with one of those. I will try try them one at a time and report back later.
Ok, works for me when I change the security stuff to build with -j1, so I've committed that. Please test and re-open if the problem persists.
The new ebuild works for me! Also my Comment #8 was mistaken (but doesn't really matter now I guess).