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

Bug 6236

Summary: mozilla 1.0-r4 (and r3) build fails, "directory already exists"
Product: Gentoo Linux Reporter: Dave Andruczyk <djandruczyk>
Component: New packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: 1.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dave Andruczyk 2002-08-08 21:59:41 UTC
The mozilla build fails (both mozilla-1.0-r3.ebuild and r4)

Tail part of compilation folllows:
make[1]: Leaving directory 
`/scratch/tmp/portage/mozilla-1.0-r4/work/mozilla/security/coreconf/nsinstall'
Thu Aug  8 00:12:51 EDT 2002
cd nsinstall; emake libs
make[1]: Entering directory 
`/scratch/tmp/portage/mozilla-1.0-r4/work/mozilla/security/coreconf/nsinstall'
gcc -o Linux2.4_x86_glibc_PTH_OPT.OBJ/nsinstall.o -c -O2 -fPIC 
-DLINUX1_2 -Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX 
-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG 
-DNDEBUG -D_REENTRANT 
-I../../../dist/Linux2.4_x86_glibc_PTH_OPT.OBJ/include  
-I../../../dist/public/coreconf -I../../../dist/private/coreconf 
-I../../../dist/Linux2.4_x86_glibc_PTH_OPT.OBJ/include/nspr 
-I../../../dist/Linux2.4_x86_glibc_PTH_OPT.OBJ/include/dbm  nsinstall.c
mkdir: cannot create directory `Linux2.4_x86_glibc_PTH_OPT.OBJ': File 
exists
make[1]: *** [Linux2.4_x86_glibc_PTH_OPT.OBJ/pathsub.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory 
`/scratch/tmp/portage/mozilla-1.0-r4/work/mozilla/security/coreconf/nsinstall'
Thu Aug  8 00:12:51 EDT 2002
../coreconf/nsinstall/Linux2.4_x86_glibc_PTH_OPT.OBJ/nsinstall -L 
../../dist include ../../dist/Linux2.4_x86_glibc_PTH_OPT.OBJ
make: ../coreconf/nsinstall/Linux2.4_x86_glibc_PTH_OPT.OBJ/nsinstall: 
Command not found
make: *** [moz_import] Error 127

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 3960, Exitcode 2
!!! (no error message)

!!! emerge aborting on  
/usr/portage/net-www/mozilla/mozilla-1.0-r4.ebuild .
shrapnel mozilla $ 


Because of this I cannot build galeon, or any other browser based on 
the mozilla core.  

any suggestions?
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-11 17:14:27 UTC
Try commenting the line:

  export MAKE="emake"

in src_compile().