fails during configurations, complains that C++ compiler can not create executables. Reproducible: Always Steps to Reproduce: 1.emerge system 2. 3. Actual Results: # emerge system Calculating system dependencies ...done! >>> emerge (1 of 73) app-text/aspell-0.50.5-r4 to / >>> md5 files ;-) aspell-0.60.2.ebuild >>> md5 files ;-) aspell-0.50.5-r4.ebuild >>> md5 files ;-) aspell-0.60.3.ebuild >>> md5 files ;-) files/digest-aspell-0.60.2 >>> md5 files ;-) files/digest-aspell-0.60.3 >>> md5 files ;-) files/01-gcc3.3-assert.patch >>> md5 files ;-) files/aspell-quotechar-fix.patch >>> md5 files ;-) files/digest-aspell-0.50.5-r4 >>> md5 files ;-) files/aspell-buffer-fix.patch >>> md5 files ;-) files/aspell-0.50.5-charcount.patch >>> md5 files ;-) files/02-gcc3.3-constcast.patch >>> md5 src_uri ;-) aspell-0.50.5.tar.gz >>> Unpacking source... >>> Unpacking aspell-0.50.5.tar.gz to /var/tmp/portage/aspell-0.50.5-r4/work * Applying aspell-0.50.5-charcount.patch ... [ ok ] * Applying aspell-quotechar-fix.patch ... [ ok ]>>> Source unpacked. * Patching ${S}/ltmain.sh ... * Applying portage-1.4.1.patch ... * Applying max_cmd_len-1.5.0.patch ... * Applying sed-1.4.3.patch ... * Applying fix-relink-1.5.0.patch ... * Applying uClibc/libtool patches ... * econf: updating aspell-0.50.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating aspell-0.50.5/config.sub with /usr/share/gnuconfig/config.sub./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-static --sysconfdir=/etc/aspell --enable-docdir=/usr/share/doc/aspell-0.50.5-r4 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ 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. # emerge --info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="S3TC X X509 aac acl acpi activefilter adns aim alsa amd apache2 apm arts audiofile avantgo avi bcmath bdf berkdb bidi bitmap-fonts bmp bonobo bzlib cap cddb cdinstall cdparanoia cdr cdrom cgi chroot cjk client cpdflib crypt ctype cups curl curlwrappers db2 dba dio divx4linux djbfft dnd droproot dv dvb dvd dvdr dvdread edl eds emacs emacs-w3 emboss encode erandom esd evo exif ext-png ext-zlib extensions f77 faac faad fam fastcgi fbcon ffmpeg firebird flac flash fluidsynth fmod foomaticdb fortran freetype freewnn ftp gb gcl gd gdbm geoip gif gimp gimpprint ginac glade glgd glut gmp gmtfull gnome gnomedb gnuplot gphoto2 gpm gps graphviz gs gsl gstreamer gtk gtk2 gtkhtml hal hardenedphp hbci hdf iconv icq ide idl ieee1394 image imagemagick imap imlib imlib2 innodb ipv6 irda irmc j2ee jabber jack java javacomm javadoc javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg jpeg2k jta junit jython kadu-modules kadu-voice kakasi kde kerberos krb4 latex lcms ldap leim libdsk libg++ libgd libgda libsamplerate libwww live lm_sensors lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matrox mbox mcal mdb memlimit mhash migemo mikmod mime ming mixer mmap mmx mmx2 mng motif mozcalendar mozdomi mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mysqli nagios-dns nagios-ntp nagios-ping nagios-ssh nas native ncurses net network nis nls nptl ntlm nviz oav objc ocaml odbc offensive ofx oggvorbis opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pda pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio posix postgres postgresql ppd ppds print pthreads python qt quicktime quotes readline rhino rogue rplay samba sasl scanner sdl server servlet-2.3 servlet-2.4 session sftplogging shaper shared sharedmem sheep silc simplexml skk slang slp smime sndfile snmp sockets socks5 softquota sox spell sse ssl stencil-buffer stroke svg svga sysvipc szip t1lib tcpd tga theora tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vda vhosts videos virus-scan wifi wmf wxwin wxwindows x86 xatrix xchatdccserver xchattext xemacs xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xsl xv xvid xvmc yahoo yv12 zeo zlib zvbi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY # cat /var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-static --sysconfdir=/etc/aspell --enable-docdir=/usr/share/doc/aspell-0.50.5-r4 ## --------- ## ## Platform. ## ## --------- ## hostname = spldap uname -m = i686 uname -r = 2.6.12-gentoo-r4 uname -s = Linux uname -v = #1 SMP Thu Jul 14 11:14:01 EDT 2005 /usr/bin/uname -p = Pentium III (Coppermine) /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /usr/sbin PATH: /usr/lib/portage/bin PATH: /bin PATH: /usr/bin PATH: /opt/bin PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130 PATH: /opt/blackdown-jdk-1.4.2.02/bin PATH: /opt/blackdown-jdk-1.4.2.02/jre/bin PATH: /opt/firebird/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1547: checking for a BSD-compatible install configure:1602: result: /bin/install -c configure:1613: checking whether build environment is sane configure:1656: result: yes configure:1713: checking for gawk configure:1729: found /bin/gawk configure:1739: result: gawk configure:1749: checking whether make sets $(MAKE) configure:1769: result: yes configure:1934: checking whether to enable maintainer-specific portions of Makefiles configure:1943: result: no configure:2039: checking for i686-pc-linux-gnu-g++ configure:2055: found /usr/bin/i686-pc-linux-gnu-g++ configure:2065: result: i686-pc-linux-gnu-g++ configure:2123: checking for C++ compiler version configure:2126: i686-pc-linux-gnu-g++ --version </dev/null >&5 i686-pc-linux-gnu-g++ (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2129: $? = 0 configure:2131: i686-pc-linux-gnu-g++ -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs Configured with: /var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) configure:2134: $? = 0 configure:2136: i686-pc-linux-gnu-g++ -V </dev/null >&5 i686-pc-linux-gnu-g++: `-V' option must have argument configure:2139: $? = 1 configure:2162: checking for C++ compiler default output file name configure:2165: i686-pc-linux-gnu-g++ -march=pentium3 -O2 -fomit-frame-pointer -pipe -lgpm conftest.cc >&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgpm collect2: ld returned 1 exit status configure:2168: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "aspell" | #define VERSION "0.50.5" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2207: error: C++ compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-march=pentium3 -O2 -fomit-frame-pointer -pipe' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-march=pentium3 -O2 -fomit-frame-pointer -pipe' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' -lgpm' ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i686-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CXX=i686-pc-linux-gnu-g++ ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/missing --run aclocal-1.8' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/missing --run tar' AR='' AUTOCONF='${SHELL} /var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/missing --run autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/missing --run autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/missing --run automake-1.8' AWK='gawk' CC='' CCDEPMODE='' CFLAGS='-march=pentium3 -O2 -fomit-frame-pointer -pipe' CPP='' CPPFLAGS='' CURSES_INCLUDE='' CURSES_LIB='' CXX='i686-pc-linux-gnu-g++' CXXCPP='' CXXDEPMODE='' CXXFLAGS='-march=pentium3 -O2 -fomit-frame-pointer -pipe' CYGPATH_W='echo' DEFS='' DEPDIR='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' F77='' FFLAGS='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS=' -lgpm' LIBOBJS='' LIBS='' LIBTOOL='' LN_S='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/missing --run makeinfo' OBJEXT='' PACKAGE='aspell' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='' SET_MAKE='' SHELL='/bin/sh' STRIP='' VERSION='0.50.5' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_F77='' ac_ct_RANLIB='' ac_ct_STRIP='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='' am__leading_dot='.' am__quote='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='i686-pc-linux-gnu' build_cpu='' build_os='' build_vendor='' datadir='/usr/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='i686-pc-linux-gnu' host_cpu='' host_os='' host_vendor='' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='/var/tmp/portage/aspell-0.50.5-r4/work/aspell-0.50.5/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='/var/lib' mandir='/usr/share/man' mkdir_p='mkdir -p -- .' oldincludedir='/usr/include' pkgdatadir='${datadir}/aspell' pkgdocdir='/usr/share/doc/aspell-0.50.5-r4' pkglibdir='${libdir}/aspell' prefix='/usr' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc/aspell' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "aspell" #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define VERSION "0.50.5" configure: exit 77
May I ask how is this related to Gnome? Reassigning.
Are you installing Gentoo? If you, then the correct way is 'emerge --emptytree system'.
I put it as Gnome, becuase I was under the impression that it was a gnome dependency. I did start with an "emerge --emptytree system" that was where aspell failed the first time. In my subsequent efforts to try to emerge it I have just been using emerge system or emerge aspell.
(In reply to comment #3) > I did start with an "emerge --emptytree system" that was where aspell failed the > first time. In my subsequent efforts to try to emerge it I have just been using > emerge system or emerge aspell. You did not answer my question at all. Is this a fresh Gentoo install? Either way, try to emerge sys-libs/gpm first.
yes, this is a fresh install. gpm has aspell as a dependency, should i try to emerge it --nodeps?
(In reply to comment #5) > yes, this is a fresh install. > > gpm has aspell as a dependency, should i try to emerge it --nodeps? No, gpm does not have aspell as a dependency, (In reply to comment #5) > yes, this is a fresh install. > > gpm has aspell as a dependency, should i try to emerge it --nodeps? Oh, now it finally makes sense... app-text/aspell with USE="gpm" depends on sys-libs/gpm which with USE="emacs" depends on virtual/emacs which with USE="spell" depends on app-text/aspell which... Yes, try with --nodeps...
ok, it's compiling now. You were right. Circular dependencies. Thank you for the help. -mike
(In reply to comment #7) > ok, it's compiling now. You were right. Circular dependencies. Thank you for > the help. Good that it works now. @usata: Seems that the fix for Bug 80217 has broken aspell now, instead of gpm. ;) CCing the herds maintaining the ebuilds that are causing this dependency problem, perhaps someone will find a solution.
we can always just punt emacs support from gpm, i dont mind
Since the emacs support in gpm just seems to be from a contrib directory anyhow, that sounds good to me. Another idea is to have a separate emacs-gpm package that installs the emacs support for those who want it.
waste of space i say ... doubt anyone actually uses that ;)
I just ran into this bug doing an emerge --emptytree system. It confused me for a bit because I didn't realize that the gpm USE flag was, by default, enabled...had to explicitly disable it in my make.conf. One possibility for avoiding it then would be to make gpm not enabled by default. Maybe this would be bad though...?
Why not make emacs an RDEP of gpm instead of DEP?
wouldnt help, portage treats them the same besides, gpm needs emacs in order to compile support for it i'll just punt it from gpm
gpm no longer supports emacs
*** Bug 104296 has been marked as a duplicate of this bug. ***
*** Bug 110213 has been marked as a duplicate of this bug. ***
Please note that Emacs 22 and later include t-mouse.el, which was formerly installed by sys-libs/gpm. (So the commented lines for Emacs support in the gpm ebuild should probably be removed now.)
*** Bug 202946 has been marked as a duplicate of this bug. ***
(In reply to comment #19) > *** Bug 202946 has been marked as a duplicate of this bug. *** ... but addresses a valid issue, since gpm-1.20.1-r6 installs a spurious /usr/share/emacs/site-lisp directory. Reopening, patch follows.
Created attachment 139061 [details, diff] gpm-1.20.1-installdirs-ELISP.patch This fixes the issue for me. It should be included into the patchset.
then you re-open the original bug report ... you dont re-use an old bug