Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41459

Summary: mozilla-1.6 failed with missing file or directory errors
Product: Gentoo Linux Reporter: Dean Ostergaard <dean>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dean Ostergaard 2004-02-13 05:50:14 UTC
When performing an 'emerge -up world' the mozilla-1.6 step failed with GCC errors complaining about missing files or directories. Retried with a new 'emerge sync' and 'emerge -u mozilla' with the same results.

Reproducible: Always
Steps to Reproduce:
1. emerge -u mozilla

Actual Results:  
nsAccessProxyRegistration.cpp
nsAccessProxy.cpp
g++ -o nsAccessProxyRegistration.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" 
-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/uriloader -I../../../dist/include/pref
-I../../../dist/include/embedcomponents -I../../../dist/include/accessproxy
-I../../../dist/include
-I/var/tmp/portage/mozilla-1.6/work/mozilla/dist/include/nspr    
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-long-long -mcpu=i686 -pipe -s -fforce-addr
-Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED
-ffunction-sections -O2  -I/usr/X11R6/include -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/nsAccessProxyRegistration.pp
nsAccessProxyRegistration.cpp
g++ -o nsAccessProxy.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" 
-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/uriloader -I../../../dist/include/pref
-I../../../dist/include/embedcomponents -I../../../dist/include/accessproxy
-I../../../dist/include
-I/var/tmp/portage/mozilla-1.6/work/mozilla/dist/include/nspr    
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-long-long -mcpu=i686 -pipe -s -fforce-addr
-Wno-deprecated -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED
-ffunction-sections -O2  -I/usr/X11R6/include -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/nsAccessProxy.pp nsAccessProxy.cpp
In file included from nsAccessProxyRegistration.cpp:31:
nsAccessProxy.h:35:28: nsIAccessProxy.h: No such file or directory
nsAccessProxy.cpp:46:25: nsIRegistry.h: No such file or directory
In file included from nsAccessProxyRegistration.cpp:31:
nsAccessProxy.h: In static member function `static const nsID&
   nsAccessProxy::GetCID()':
nsAccessProxy.h:64: error: `NS_ACCESSPROXY_CID' undeclared (first use this
   function)
nsAccessProxy.h:64: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
nsAccessProxyRegistration.cpp:33:25: nsIRegistry.h: No such file or directory
In file included from nsAccessProxy.cpp:52:
../../../dist/include/content/nsIDocument.h:48:20: nsIURI.h: No such file or
directory
../../../dist/include/content/nsIDocument.h:53:26: nsILoadGroup.h: No such file
or directory
nsAccessProxyRegistration.cpp: In function `nsresult
   nsAccessProxyRegistrationProc(nsIComponentManager*, nsIFile*, const char*,
   const char*, const nsModuleComponentInfo*)':
nsAccessProxyRegistration.cpp:60: error: parse error before `,' token
nsAccessProxyRegistration.cpp: At global scope:
nsAccessProxyRegistration.cpp:74: error: `NS_ACCESSPROXY_CONTRACTID' was not
   declared in this scope
nsAccessProxyRegistration.cpp:78: error: invalid conversion from `nsresult
   (*)(nsISupports*, const nsIID&, void**)' to `short unsigned int'
nsAccessProxyRegistration.cpp:78: error: invalid conversion from `nsresult
   (*)(nsIComponentManager*, nsIFile*, const char*, const char*, const
   nsModuleComponentInfo*)' to `unsigned char'
make[4]: *** [nsAccessProxyRegistration.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from nsAccessProxy.cpp:52:
../../../dist/include/content/nsIDocument.h: In instantiation of
`nsDerivedSafe<nsIURI>':
../../../dist/include/content/nsIDocument.h:135:   instantiated from here
../../../dist/include/content/nsIDocument.h:135: error: base class `nsIURI' has
   incomplete type
../../../dist/include/content/nsIDocument.h: In member function `nsIURI*
   nsIDocument::GetDocumentURL() const':
../../../dist/include/content/nsIDocument.h:135: error: cannot convert `const
   nsCOMPtr<nsIURI>' to `nsIURI*' in return
../../../dist/include/content/nsIDocument.h: In member function `nsIURI*
   nsIDocument::GetBaseURL() const':
../../../dist/include/content/nsIDocument.h:163: error: cannot convert `const
   nsCOMPtr<nsIURI>' to `nsIURI*' in return
In file included from nsAccessProxy.cpp:58:
nsAccessProxy.h:35:28: nsIAccessProxy.h: No such file or directory
In file included from nsAccessProxy.cpp:58:
nsAccessProxy.h: In static member function `static const nsID&
   nsAccessProxy::GetCID()':
nsAccessProxy.h:64: error: `NS_ACCESSPROXY_CID' undeclared (first use this
   function)
nsAccessProxy.h:64: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
nsAccessProxy.cpp: In member function `virtual nsresult
   nsAccessProxy::HandleEvent(nsIDOMEvent*)':
nsAccessProxy.cpp:102: error: `GetType' undeclared (first use this function)
nsAccessProxy.cpp:113: error: cannot convert `nsIDOMEvent*' to `nsISupports*'
   for argument `1' to `const nsQueryInterface do_QueryInterface(nsISupports*,
   nsresult*)'
../../../dist/include/xpcom/nsCOMPtr.h: In member function `nsCOMPtr<T>&
   nsCOMPtr<T>::operator=(T*) [with T = nsIURI]':
../../../dist/include/content/nsIDocument.h:136:   instantiated from here
../../../dist/include/xpcom/nsCOMPtr.h:570: error: no matching function for
   call to `nsCOMPtr<nsIURI>::assign_with_AddRef(nsIURI*&)'
../../../dist/include/xpcom/nsCOMPtr.h:407: error: candidates are: void
   nsCOMPtr_base::assign_with_AddRef(nsISupports*)
../../../dist/include/xpcom/nsISupportsUtils.h: In static member function `
   static const nsIID& nsCOMTypeInfo<T>::GetIID() [with T = nsILoadGroup]':
../../../dist/include/xpcom/nsIWeakReferenceUtils.h:62:   instantiated from
`nsresult CallQueryReferent(T*, DestinationType**) [with T =
nsDerivedSafe<nsIWeakReference>, DestinationType = nsILoadGroup]'
../../../dist/include/content/nsIDocument.h:154:   instantiated from here
../../../dist/include/xpcom/nsISupportsUtils.h:202: error: incomplete type '
   nsILoadGroup' cannot be used to name a scope
make[4]: *** [nsAccessProxy.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/mozilla-1.6/work/mozilla/extensions/access-builtin/accessproxy'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/var/tmp/portage/mozilla-1.6/work/mozilla/extensions/access-builtin'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/tmp/portage/mozilla-1.6/work/mozilla/extensions'
make[1]: *** [tier_94] Error 2
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.6/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-1.6 failed.
!!! Function src_compile, Line 371, Exitcode 2
!!! (no error message)

Expected Results:  
Successful emerge

 emerge --info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 Pentium II (Klamath)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -funroll-loops -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -fomit-frame-pointer -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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d alsa apache2 apm arts avi berkdb bindist bonobo crypt cups curl dga
doc emacs encode esd firebird flash foomaticdb gb gd gdbm gif gnome gnomedb gpm
gtk gtk2 gtkhtml imagemagick imap imlib innodb java jpeg junit kde libg++ libwww
mad maildir mikmod motif mozaccess mozcalendar mozctl mozilla mozinterfaceinfo
mozxmlterm mpeg mule mysql ncurses nls oav odbc oggvorbis opengl oss pam pda
pdflib perl png postgres ppds python qt quicktime readline sdl slang slp spell
ssl svga tcpd tetex truetype vhosts videos wmf wxwindows x86 xface xml2 xmms xv
zao zlib"
Comment 1 Felix Kurth 2004-02-14 04:59:56 UTC
i can confirm this here.
Removing "mozaccess" vom USE solves it.
Comment 2 Dean Ostergaard 2004-02-15 04:34:10 UTC
I followed Felix' advice and removed mozaccess from USE and it worked.

Thank you.
Comment 3 Brad Laue (RETIRED) gentoo-dev 2004-02-15 08:44:31 UTC

*** This bug has been marked as a duplicate of 41640 ***