Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114065 - Failed to build mozilla-firefox 1.5
Summary: Failed to build mozilla-firefox 1.5
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-30 13:10 UTC by Christoph Fürstaller
Modified: 2005-12-11 08:56 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 Christoph Fürstaller 2005-11-30 13:10:42 UTC
I tried to emerge www-client/mozilla-firefox-1.5, but it stops (after bout an
hour of compiling) with following error msg:

../../../dist/bin/xpidl -m typelib -w -I ../../../dist/idl -I. -o
_xpidlgen/nsIHTTPIndex nsIHTTPIndex.idl
../../../dist/bin/xpt_link _xpidlgen/directory.xpt _xpidlgen/nsIHTTPIndex.xpt 
In file included from nsDirectoryViewer.cpp:54:
nsDirectoryViewer.h:47:26: nsIHTTPIndex.h: No such file or directory
In file included from nsDirectoryViewer.cpp:54:
nsDirectoryViewer.h:70: error: expected class-name before ',' token
nsDirectoryViewer.h:131: error: `nsIHTTPIndex' has not been declared
nsDirectoryViewer.h:131: error: ISO C++ forbids declaration of `aResult' with no
type
nsDirectoryViewer.h:137: error: ISO C++ forbids declaration of
`NS_DECL_NSIHTTPINDEX' with no type
nsDirectoryViewer.h:137: error: expected `;' before "virtual"
nsDirectoryViewer.cpp: In member function `virtual nsresult
nsHTTPIndex::QueryInterface(const nsIID&, void**)':
nsDirectoryViewer.cpp:113: error: `nsIHTTPIndex' undeclared (first use this
function)
nsDirectoryViewer.cpp:113: error: (Each undeclared identifier is reported only
once for each function it appears in.)
nsDirectoryViewer.cpp:113: error: template argument 1 is invalid
nsDirectoryViewer.cpp:113: error: `GetIID' is not a member of `<declaration error>'
nsDirectoryViewer.cpp:113: error: `nsIHTTPIndex' has not been declared
nsDirectoryViewer.cpp:113: error: expected `>' before '*' token
nsDirectoryViewer.cpp:113: error: expected `(' before '*' token
nsDirectoryViewer.cpp:113: error: expected primary-expression before '>' token
nsDirectoryViewer.cpp:113: error: expected `)' before ';' token
nsDirectoryViewer.cpp:113: error: `nsIHTTPIndex' has not been declared
nsDirectoryViewer.cpp:113: error: expected `>' before '*' token
nsDirectoryViewer.cpp:113: error: expected `(' before '*' token
nsDirectoryViewer.cpp:113: error: expected primary-expression before '>' token
nsDirectoryViewer.cpp:113: error: expected `)' before ';' token
nsDirectoryViewer.cpp: At global scope:
nsDirectoryViewer.cpp:220: error: no `nsresult nsHTTPIndex::SetEncoding(const
char*)' member function declared in class `nsHTTPIndex'
nsDirectoryViewer.cpp:227: error: no `nsresult nsHTTPIndex::GetEncoding(char**)'
member function declared in class `nsHTTPIndex'
nsDirectoryViewer.cpp: In member function `virtual nsresult
nsHTTPIndex::OnStartRequest(nsIRequest*, nsISupports*)':
nsDirectoryViewer.cpp:281: error: `nsIHTTPIndex' has not been declared
nsDirectoryViewer.cpp:281: error: expected `>' before '*' token
nsDirectoryViewer.cpp:281: error: expected `(' before '*' token
nsDirectoryViewer.cpp:281: error: expected primary-expression before '>' token
nsDirectoryViewer.cpp:282: error: `nsIHTTPIndex' undeclared (first use this
function)
nsDirectoryViewer.cpp:282: error: template argument 1 is invalid
nsDirectoryViewer.cpp:282: error: `GetIID' is not a member of `<declaration error>'
nsDirectoryViewer.cpp: At global scope:
nsDirectoryViewer.cpp:701: error: `nsIHTTPIndex' has not been declared
nsDirectoryViewer.cpp:702: error: ISO C++ forbids declaration of `aResult' with
no type
nsDirectoryViewer.cpp: In static member function `static nsresult
nsHTTPIndex::Create(nsIURI*, nsIInterfaceRequestor*, int**)':
nsDirectoryViewer.cpp:705: error: cannot allocate an object of type `nsHTTPIndex'
nsDirectoryViewer.cpp:705: error:   because the following virtual functions are
abstract:
../../../dist/include/rdf/nsIRDFDataSource.h:55: error:  virtual nsresult
nsIRDFDataSource::GetURI(char**)
nsDirectoryViewer.cpp:713: error: cannot convert `nsHTTPIndex*' to `int*' in
assignment
nsDirectoryViewer.cpp:717: confused by earlier errors, bailing out
gmake[4]: *** [nsDirectoryViewer.o] Error 1
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.5/work/mozilla/xpfe/components/directory'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-firefox-1.5/work/mozilla/xpfe/components'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5/work/mozilla/xpfe'
gmake[1]: *** [tier_50] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5/work/mozilla'
make: *** [default] Error 2

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

the nsIHTTPIndex.h file is in the nsDirectoryViewer.h included, but the file
does'nt exist.

emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r3 i686)
=================================================================
System uname: 2.6.14-gentoo-r3 i686 AMD Athlon(TM)Processor
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.14
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss
encode expat foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib ipv6 jpeg lcms
libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss
pam pdflib perl png python quicktime readline sdl spell ssl tcpd truetype
truetype-fonts type1-fonts udev usb vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jory A. Pratt 2005-11-30 13:36:12 UTC
please try to re-emerge it seems your cache is getting a bit confused.
Comment 2 Christoph Fürstaller 2005-11-30 13:38:20 UTC
just started it. tell u if it was successfull
Comment 3 Christoph Fürstaller 2005-12-01 09:01:05 UTC
k, i merged it again and it worked. dunno what happened the first time.
--> think it was a prob with my setup, no bug
Comment 4 Jory A. Pratt 2005-12-11 08:56:54 UTC
already one bug open on same issue and this particular user has already gotten
it fixed on his setup