Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52698 - Mozilla failes to emerge, but is required for GNOME
Summary: Mozilla failes to emerge, but is required for GNOME
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 09:57 UTC by Bill C. Riemers
Modified: 2004-06-02 14:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill C. Riemers 2004-06-01 09:57:12 UTC
Whenever, I try to 'emerge gnome', it tries to emerge mozilla as a depedancy.  However, I always get the following error when trying to emerge mozilla:

gcc -o jsobj.o -c -DOSTYPE=\"Linux2.4.26-co-0.6\" -DOSARCH=\"Linux\" -DEXPORT_JS_API  -DJS_USE_SAFE_ARENA   -I../../dist/include/js -I../../dist/include -I/var/tmp/portage/mozilla-firefox-0.8-r2/work/mozilla/dist/include/nspr     -I. -I/usr/X11R6/include   -fPIC -I/usr/X11R6/include  -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=athlon-xp -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsobj.pp jsobj.c
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
gmake[3]: *** [jsinterp.o] Error 1
gmake[3]: *** Deleting file `jsinterp.o'
gmake[3]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:1865: Warning: end of file not at end of a line; newline inserted
{standard input}:2475: Error: suffix or operands invalid for `mov'

I have tried instead emerge of mozilla-firefox, but I get the same type of error.  I tried to use 'emerge --getbinpkgonly mozilla', but it complains I need to define PORTAGE_BINHOST.  I tried defining PORTAGE_BINHOST, but every gentoo mirror I've tried just has 'placeholder' as the only content in the grp directory...

So I can not build Mozilla, and I can not download a prebuild package.  I also tried putting in a stub Mozilla package to bypass the dependancies, but then the other builds fail complaining Mozilla-1.4 or greater are required.

Any suggestions?  Perhaps a set of USE flags known to work on an athlon-xp for a successfull emerge of gnome and dependancies.

                        Bill


Reproducible: Always
Steps to Reproduce:
1. emerge gnome
2. -or- emerge mozilla
3. -or- emerge mozilla-firefox

Actual Results:  
The build end with the an error, mozilla is not emerged, gnome is not emerged.


Expected Results:  
Build the package, or allow me to bypass the dependancy completely.

$ emerge info
System uname: 2.4.26-co-0.6.1 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="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/share/config /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="ftp://ftp.ndlug.nd.edu/pub/gentoo/ 
http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm 
gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla 
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime 
readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-06-01 10:06:54 UTC
getting low on memory?
Comment 2 Bill C. Riemers 2004-06-01 10:42:26 UTC
No, plenty of memory and disk space is left:

$ free
             total       used       free     shared    buffers     cached
Mem:         37884      27092      10792          0        720       8080
-/+ buffers/cache:      18292      19592
Swap:      2097136      17776    2079360

$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root              4194108   1535840   2658268  37% /
/dev/shm               2097152       528   2096624   1% /tmp
none                   2097152       224   2096928   1% /dev/shm
/dev/shm               2097152       224   2096928   1% /var/tmp
Comment 3 Evert 2004-06-02 04:02:32 UTC
37 meg total memory, 27 meg used, 10 meg free, do u call that plenty of memory???

My plenty of memory looks like this:
$ free
             total       used       free     shared    buffers     cached
Mem:       1033828    1004668      29160          0     145488     471536
-/+ buffers/cache:     387644     646184
Swap:            0          0          0
Comment 4 Bill C. Riemers 2004-06-02 12:14:39 UTC
2 GB of swap should be adiquate for any compiling application.  

However, after the tip to check memory, I tried moving my swap partition to a different drive.  That seems to have solved the problem.  My guess is there were hard drive errors reading and writting data to the swap.  The /var/log/messages shows the errors.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-06-02 14:38:18 UTC
Glad you got it figured out, Bill.