Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73853 - emerge -u fam-2.7.0-r2 crashes on configure
Summary: emerge -u fam-2.7.0-r2 crashes on configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 17:07 UTC by Steven Klass
Modified: 2004-12-13 13:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Actual emerge -u fam output (ERROR,2.34 KB, text/plain)
2004-12-08 17:09 UTC, Steven Klass
Details
config.log (config.log,6.76 KB, text/plain)
2004-12-08 18:59 UTC, Steven Klass
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Klass 2004-12-08 17:07:19 UTC
Attempting to 'emerge -u fam'  causes fam to fail on the econf

checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

This is very strange other ebuilds work..

Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge -u world
3.emerge -u fam
Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/fam-2.7.0-r2 to /
>>> md5 src_uri ;-) fam-2.7.0.tar.gz
>>> Unpacking source...
>>> Unpacking fam-2.7.0.tar.gz to /var/tmp/portage/fam-2.7.0-r2/work
 * Applying fam-2.7.0-dnotify.patch ...                                                                           [ ok ]
 * Patching ${S}/ltmain.sh ...
 *   Applying portage-1.4.1.patch ...
 *   Applying relink-1.4.1.patch ...
 *   Applying sed-1.4.3.patch ...
 * Applying uClibc/libtool patches ...
 *  Fixing ${S}/configure ...                                                                                     [ ok ]
 * Using GNU config files from /usr/share/libtool
 *  Updating config.sub                                                                                           [ ok ]
 *  Updating config.guess                                                                                         [ ok ]
>>> Source unpacked.
 * econf: updating /var/tmp/portage/fam-2.7.0-r2/work/fam-2.7.0/config.guess with /usr/share/
gnuconfig/config.guess
 * econf: updating /var/tmp/portage/fam-2.7.0-r2/work/fam-2.7.0/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
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
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 for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-g++... no
checking for i686-pc-linux-gnu-c++... i686-pc-linux-gnu-c++
checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

!!! ERROR: app-admin/fam-2.7.0-r2 failed.
!!! Function econf, Line 447, Exitcode 77
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Should have ebuilded

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r10 
i686)
===============================================================
==
System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 21 2004, 18:27:08)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.7.9, 1.9.3, 1.8.5-r2, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/
kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/
texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/
share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control /var/
vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector 
-finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi aim alsa apache2 apm arts audiofile avi bcmath berkdb bitmap-fonts bzlib cdb cdr 
crypt cscope ctype cups curl curlwrappers dbm dif directfb divx4linux doc dvd dvdr encode esd 
ethereal f77 fam fbcon foomaticdb fortran ftp gdbm gif gnome gpm gtk gtk2 iconv imagemagick imap 
imlib jabber java jpeg kde libg++ libwww mad maildir mikmod mng motif mpeg mysql mysqli ncurses 
nls oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline samba sdl slang 
slp spell sse ssl svga tcltk tcpd tetex tidy tiff truetype unicode usb video x86 xine xml xml2 xmms xosd 
xpm xv xvid zlib"
Comment 1 Steven Klass 2004-12-08 17:09:27 UTC
Created attachment 45578 [details]
Actual emerge -u fam output
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-08 18:37:17 UTC
attach the config.log file from fam, as well as the output from:
"g++ -march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector -finline-functions"
Comment 3 Steven Klass 2004-12-08 18:59:06 UTC
Created attachment 45582 [details]
config.log
Comment 4 Steven Klass 2004-12-08 19:00:30 UTC
Output from g++ -march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector -finline-functions

g++: no input files

[3:04] 446 [steven@maggie] ~ % g++ -march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector -finline-functions
g++: no input files

Nope - I thought that too!
Comment 5 foser (RETIRED) gentoo-dev 2004-12-11 06:03:57 UTC
quite obvious :
gcc-config error: Could not run/locate "i686-pc-linux-gnu-c++"

this is a problem with your gcc-config setup, try resetting it or something.
Comment 6 Steven Klass 2004-12-13 13:09:27 UTC
Apparently there is a problem if I use ~x86.  When I removed this it fixed the problem.