Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102670 - Mozilla 1.7.11 build fails while trying to take a lock
Summary: Mozilla 1.7.11 build fails while trying to take a lock
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-15 20:24 UTC by Fred Frigerio
Modified: 2005-08-28 21:35 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 Fred Frigerio 2005-08-15 20:24:07 UTC
I tried to remove the lock file and restart, remove the whole temporary
directory and restart, and even lower to -j=1 in the event of a race condition.
However this is very repeatable.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
x86_64-pc-linux-gnu-g++ -o nsWebBrowserModule.o -c -DOSTYPE=\"Linux2.6\"
-DOSARCH=\"Linux\" -DHAVE_DEPENDENT_LIBS  -I../../../dist/include/xpcom
-I../../../dist/include/string -I../../../dist/include/docshell
-I../../../dist/include/dom -I../../../dist/include/widget
-I../../../dist/include/gfx -I../../../dist/include/layout
-I../../../dist/include/content -I../../../dist/include/necko
-I../../../dist/include/uriloader -I../../../dist/include/shistory
-I../../../dist/include/windowwatcher -I../../../dist/include/webbrowserpersist
-I../../../dist/include/webbrwsr -I../../../dist/include
-I/var/tmp/portage/mozilla-1.7.11/work/mozilla/dist/include/nspr     -I. -I.
-I./../webBrowser -I./../setup     -fPIC 
-DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti
-fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -march=k8 -pipe -fPIC -Wno-deprecated -Wno-return-type -w
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O1 
-DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" 
-DMOZILLA_CLIENT -include ../../../mozilla-config.h
-Wp,-MD,.deps/nsWebBrowserModule.pp nsWebBrowserModule.cpp
rm -f libwebbrwsr.so
x86_64-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti
-fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -march=k8 -pipe -fPIC -Wno-deprecated -Wno-return-type -w
-fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O1 -fPIC
-shared -Wl,-h -Wl,libwebbrwsr.so -o libwebbrwsr.so  nsWebBrowserModule.o      
-Wl,--whole-archive ../../../dist/lib/libnsWebBrowser_s.a 
-Wl,--no-whole-archive -L../../../dist/bin -L../../../dist/lib 
../../../dist/lib/libunicharutil_s.a -L../../../dist/bin -lxpcom 
-L../../../dist/bin -L/var/tmp/portage/mozilla-1.7.11/work/mozilla/dist/lib
-lplds4 -lplc4 -lnspr4 -lpthread -ldl   -Wl,--version-script
-Wl,../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic
-ldl -lm
chmod +x libwebbrwsr.so
strip libwebbrwsr.so
/var/tmp/portage/mozilla-1.7.11/work/mozilla/config/nsinstall -R -m 755
libwebbrwsr.so ../../../dist/gre/components
: ../../../dist/gre/components/libwebbrwsr.so
/var/tmp/portage/mozilla-1.7.11/work/mozilla/config/nsinstall -R -m 755
libwebbrwsr.so ../../../dist/lib/components
: ../../../dist/lib/components/libwebbrwsr.so
/var/tmp/portage/mozilla-1.7.11/work/mozilla/config/nsinstall -R -m 755
libwebbrwsr.so ../../../dist/bin/components
: ../../../dist/bin/components/libwebbrwsr.so
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-1.7.11/work/mozilla/embedding/browser/build'
gmake[4]: Entering directory
`/var/tmp/portage/mozilla-1.7.11/work/mozilla/embedding/browser/chrome'
+++ making chrome
/var/tmp/portage/mozilla-1.7.11/work/mozilla/embedding/browser/chrome  =>
../../../dist/bin/chrome/embed-sample.jar
+++ adding chrome ../../../dist/bin/chrome/installed-chrome.txt
+++     content,install,url,jar:resource:/chrome/embed-sample.jar!/content/embed/
+++ adding chrome ../../../dist/bin/chrome/installed-chrome.txt
+++    
locale,install,url,jar:resource:/chrome/embed-sample.jar!/locale/en-US/embed/
dist/bin/chrome/installed-chrome.txt.lck: No such file or directory
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-1.7.11/work/mozilla/embedding/browser/chrome'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-1.7.11/work/mozilla/embedding/browser'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-1.7.11/work/mozilla/embedding'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.11/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-1.7.11 failed.
!!! Function src_compile, Line 217, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

belvedere portage # emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3now X X11 aac acl acpi alsa amd64 audiofile avi bash-completion bcmath
berkdb bitmap-fonts bmp bonobo bzlib calendar cdb cddb cdr cpflib crypt cscope
ctype cups curl dbus dga dio directfb doc dvb dvd eds encode esd evo exif fam
fbcon flac flash foomaticdb fortran ftp gb gd gdbm ggi gif gmp gnome gnutls
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl icq imap imlib jabber jack
java jikes jpeg junit ladcca ldap libwww lm_sensors lzw lzw-tiff mad mikmod mime
ming mng motif mp3 mpeg msn mysql ncurses nls nptl offensive ofx ogg oggvorbis
openal opengl oscar pam pcre pdflib perl pic pie plotutils png portaudio posix
prelude python qt quicktime readline real samba sasl scanner sdl session shared
sndfile soap sockers speex spell ssl sysvipc szip tcpd tetex theora tidy tiff
truetype truetype-fonts type1-fonts unicode usb uselocales userlocales videos
vorbis xine xml xml2 xmms xosd xpm xv xvid yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fred Frigerio 2005-08-28 21:35:47 UTC
If anyone from the Mozilla Gentoo Team sees a problem by all means change the
bug status. However, it was resolved by doing a reiserfsck of the file system.
It seems there is a bug with the kernel with my hardware setup. However this one
would be really hard to track and I am not sure where I could start to get the
kernel people interested. It is reiser on a dual opteron setup with LVM2 and MD
(RAID 1) both at the same time. For whatever reason /dev/vg/var keeps getting
corrupted. I am tempted to go to ext3 and see what happens.