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

Bug 110213

Summary: emerging app-text/aspell-0.50.5-r4 fails with 'error: C++ compiler cannot create executables'
Product: Gentoo Linux Reporter: Thilo Fischer <thif>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log file mentioned in the error-message

Description Thilo Fischer 2005-10-23 04:04:12 UTC
setting up a new gentoo installation, emerge system stops with  
-------------------  
checking for C++ compiler default output file name... configure: error: C++  
compiler cannot create executables  
See `config.log' for more details.  
  
!!! Please attach the config.log to your bug report:  
!!! /var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/config.log  
  
!!! ERROR: app-text/aspell-0.50.5-r4 failed.  
!!! Function econf, Line 485, Exitcode 0  
!!! econf failed  
!!! If you need support, post the topmost build error, NOT this status  
message.  
-------------------  
alwasy reproduceable with # emerge --resume  
 

Reproducible: Always
Steps to Reproduce:
1. creating new stage1-installation 
2. bootstrap 
3. emerge system 
(4. # emerge --resume) 
 
Actual Results:  
emerge system stops with mentioned error-message  

Expected Results:  
 

# emerge info  
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,  
2.6.9-gentoo-r9Gentoo_Kernel_2.6 i686)  
=================================================================  
System uname: 2.6.9-gentoo-r9Gentoo_Kernel_2.6 i686 Pentium III (Coppermine)  
Gentoo Base System version 1.6.13  
dev-lang/python:     2.3.5, 2.4.2  
sys-apps/sandbox:    1.2.12  
sys-devel/autoconf:  2.59-r6  
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.15.92.0.2-r10  
sys-devel/libtool:   1.5.20  
virtual/os-headers:  2.6.11-r2  
ACCEPT_KEYWORDS="x86"  
AUTOCLEAN="yes"  
CBUILD="i686-pc-linux-gnu"  
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"  
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="-O2 -march=pentium3 -fomit-frame-pointer -pipe"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig distlocks sandbox sfperms strict"  
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  
http://mir.zyrianes.net/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/"  
LANG="de_DE@euro"  
LINGUAS="de"  
MAKEOPTS="-j2"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"  
USE="x86 X a52 aac acpi aim alsa apache2 apm audiofile avi bash-completion  
bcmath berkdb bitmap-fonts bluetooth bzip2 cdparanoia cdr cpdflib crypt cups  
dga directfb divx4linux dvb dvd dvdr dvdread eds emacs emboss encode exif  
fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif ginac gnome gphoto2 gpm  
gstreamer gtk gtk2 hal icq ieee1394 imagemagick imap imlib ipv6 jabbar jack  
java javascript jpeg kde ladcca leim libg++ libwww lirc lm_sensors mad  
memlimit mikmod mime ming mmx mng motif mozilla mp3 mpeg msn mule nas ncurses  
nls ogg oggvorbis opengl oscar pam pdflib perl php plotutils png posix python  
qt quicktime readline samba scanner sdl sessionshorten skey slang sndfile  
sockets speex spell spl sse ssl svg svga symlink sysvipc szip tcltk tcpd tetex  
theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd  
vorbis win32codecs wmf xine xml xml2 xosd xpm xprint xv xvid yahoo zlib  
linguas_de userland_GNU kernel_linux elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Thilo Fischer 2005-10-23 04:08:25 UTC
Created attachment 71268 [details]
config.log file mentioned in the error-message
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-23 04:12:01 UTC

*** This bug has been marked as a duplicate of 99533 ***
Comment 3 Thilo Fischer 2005-10-23 04:49:51 UTC
Must correct my bug report, I did not do '# emerge system' but '# emerge   
--emptytree system' of course.   
 
Solution form Bug 99533 does not work for me, '# emerge --nodeps gpm' does fail  
(some emacs-error-message), either does '# emerge --nodeps aspell'.   
   
But '# USE="-gpm" emerge aspell' works fine, seems to me a nice  
workaround.  
  
Thanks.