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

Bug 5779

Summary: emerge fails when fetching and compiling at the same time
Product: Portage Development Reporter: Bastian Fuchs <bastiaf>
Component: UnclassifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bastian Fuchs 2002-07-30 11:31:01 UTC
I don't know exactly when this bug appears, sometimes everything works  
correctly.  
  
If I fetch packages with emerge -u world -f and compiling at the same time  
kdemultimedia with emerge kdemultidia for example, than kdemultimedia aborts:  
  
--------------------------------------------------------  
../../../../libtool: line 5670: 10456 Segmentation fault      cat >>${libobj}T   
<<EOF  
# Name of the non-PIC object.  
non_pic_object=none  
  
EOF  
  
mv: cannot stat `libutilrender_la.all_cpp.loT': No such file or directory  
/bin/sh ../../../../libtool --mode=link --tag=CXX i686-pc-linux-gnu-g++   
-DNDEBUG -DNO_DEBUG -O2 -march=i686 -O2 -pipe -fno-exceptions -fno-check-new  
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST    -o libutilrender.la    
libutilrender_la.all_cpp.lo  dither/libdither.la  
dither2YUV/libdivxutil_dither.la x11/libutilx11.la -L/usr/lib -lesd  
-laudiofile -lm  
shell-init: could not get current directory: getcwd: cannot access parent  
directories: No such file or directory  
make[6]: *** [libutilrender.la] Segmentation fault  
make[6]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.0.2/work/kdemultimedia-3.0.2/mpeglib/lib/util/render'  
make[5]: *** [all-recursive] Error 1  
make[5]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.0.2/work/kdemultimedia-3.0.2/mpeglib/lib/util/render'  
make[4]: *** [all-recursive] Error 1  
make[4]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.0.2/work/kdemultimedia-3.0.2/mpeglib/lib/util'  
make[3]: *** [all-recursive] Error 1  
make[3]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.0.2/work/kdemultimedia-3.0.2/mpeglib/lib'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.0.2/work/kdemultimedia-3.0.2/mpeglib'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory  
`/var/tmp/portage/kdemultimedia-3.0.2/work/kdemultimedia-3.0.2'  
make: *** [all] Error 2  
make: getcwd: : No such file or directory  
/usr/lib/portage/bin/emake: line 11: 10459 Segmentation fault      make "$@"  
  
!!! ERROR: The ebuild did not complete successfully.  
!!! Function kde_src_compile, Line 55, Exitcode 139  
!!! died running emake, kde_src_compile:make  
  
!!! emerge aborting on   
/usr/portage/kde-base/kdemultimedia/kdemultimedia-3.0.2.ebuild .  
-------------------------------------------------------------------  
  
This is not an kdemultimedia problem, the bug occurs at any (larg?????)  
package. Without fetching packages at the same time, kdemultimedia was  
compiled and installed correctly. (Same version, no emerge rsync.)  
  
My portage, gcc and make version:  
*  sys-apps/portage  
      Latest version Available: 2.0.13  
      Latest version Installed: 2.0.13  
*  sys-devel/gcc  
      Latest version Available: 2.95.3-r7  
      Latest version Installed: 2.95.3-r7  
*  sys-devel/make  
      Latest version Available: 3.79.1-r3  
      Latest version Installed: 3.79.1-r3
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-07-31 07:00:07 UTC
This is not a bug, is not safe, and isn't supported.
One is removing files out from underneath the other.

Real functionality like this is being worked on. I'd suggest
waiting for a bit, or use http://gentoo.twobit.net/portage/qdwrap/
if it still works.