Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141804 - www-client/mozilla-firefox-1.5.0.4 fails to compile
Summary: www-client/mozilla-firefox-1.5.0.4 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 141803 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-26 09:14 UTC by Asfand Yar Qazi
Modified: 2006-08-29 09:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (firefox-build-log.bz2,158.94 KB, application/octet-stream)
2006-07-26 09:15 UTC, Asfand Yar Qazi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Asfand Yar Qazi 2006-07-26 09:14:00 UTC
Firefox 1.5.0.4 seriously pukes up during compilation.  This problem is reproducible on both 32-bit and 64-bit.  I had to duplicate the firefox ebuild in my overlay directory, to avoid this bug:  http://bugs.gentoo.org/show_bug.cgi?id=141793.

Maybe that's the problem?

The build log is too long to list here, I'm attaching it.  Sorry if it's too long, but I thought you might need the info.

The important bit (as far as I can tell) is here:

<some bits before>

gmake[4]: Entering directory `/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/security/nss/lib/util'-e line 3, near "while"
syntax error at -e line 7, near "}"
Execution of -e aborted due to compilation errors.
i686-pc-linux-gnu-gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/quickder.o -c -O2 -fPIC -DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi  -pipe -DLINUX -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG -DNDEBUG -D_REENTRANT -I/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/dist/include  -I../../../../dist/public/nss -I../../../../dist/private/nss -I../../../../dist/include -I/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/dist/include/nspr -I/var/tmp/portage/mozilla-firefox-1.5.0.4/work/mozilla/dist/include/dbm -I../../../../dist/public/dbm  quickder.c
                 from secasn1.h:50,
                 from quickder.c:43:
secport.h:106:39: prlog.h: No such file or directory
secport.h:108:19: plstr.h: No such file or directory
In file included from seccomon.h:61,
                 from secasn1.h:50,
                 from quickder.c:43:

<some bits after>

Doing a search for 'plarena' wll get to this error message in the log file.

Here's my emerge --info (in my 32-bit chroot, where I'm trying to compile it anyway:)
Portage 2.1.1_pre3-r5 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Dual Core AMD Opteron(tm) Processor 165
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
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.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer notitles sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri eds emacs emboss encode esd foomaticdb gdbm gif glitz gs gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mailwrapper md5sum mikmod motif mp3 mpeg ncurses nls nptl offensive ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection rle samba sdl session smp spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis xinerama xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Asfand Yar Qazi 2006-07-26 09:15:24 UTC
Created attachment 92788 [details]
Build log

Bzip2'ed build log, in case anybody needs anything from it.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-26 09:22:30 UTC
*** Bug 141803 has been marked as a duplicate of this bug. ***
Comment 3 Giacomo Cariello 2006-08-01 07:14:49 UTC
Isn't your ACCEPT_KEYWORDS invalid?
Comment 4 Walter Meinl 2006-08-09 01:52:25 UTC
(In reply to comment #0)
> Firefox 1.5.0.4 seriously pukes up during compilation.  This problem is
> reproducible on both 32-bit and 64-bit.  I had to duplicate the firefox ebuild
> in my overlay directory, to avoid this bug: 
> http://bugs.gentoo.org/show_bug.cgi?id=141793.
> 
> Maybe that's the problem?
> 
Certainly not all required patches are applied. From your build log it can be deduced that at least the system-nss patch and others are missing, therefore it tries to build nss from the source and does not use system-nss leading to the error you posted. You should resync and try again (not from overlay), in the meantime firefox-1.5.0.6 was added to the portage tree.
Comment 5 Asfand Yar Qazi 2006-08-29 09:49:48 UTC
Obsolete version of firefox, so bug is now invalid.  Woohoo!  One less bug!