Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101253 - arts fails to configure in C++ test
Summary: arts fails to configure in C++ test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-03 14:22 UTC by Frédéric Mancini
Modified: 2005-08-05 09:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Mancini 2005-08-03 14:22:25 UTC
checking for snprintf... yes
checking if Qt compiles without flags... no
checking if C++ programs can be compiled... no
configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.

!!! ERROR: kde-base/arts-3.4.1-r2 failed.
!!! Function kde_src_compile, Line 157, Exitcode 1
!!! died running ./configure, kde_src_compile:configure
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1.emerge --sync
2.etc-update
3.emerge --update --deep world

Actual Results:  
Can't update my configuration.

Expected Results:  
Successful emerge.

I am compiling Gentoo for a K6-2 powered notebook on a dual PentiumIII running
Fedora Core 3.
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-08-04 01:57:52 UTC
Please post your config.log (should be 
in /var/tmp/portage/arts-3.4.1-r2/work/arts-1.4.2/config.log) 
 
and also post your 'emerge info'. 
 
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-08-05 01:52:26 UTC
(Fr
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-08-05 01:52:26 UTC
(Frédéric, you can post infos directly in the web interface next time)  
  
Here's some relevant info for this bug:  
  
configure:29681: checking if C++ programs can be compiled   
configure:29710: i586-pc-linux-gnu-g++ -c -Wnon-virtual-dtor -Wno-long-long   
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion   
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG   
-O2 -O2 -march=k6-2 -fomit-frame-pointer -pipe -Wformat-security   
-Wmissing-format-attribute  -fno-check-new -fno-common  conftest.cc >&5   
In file included from conftest.cc:61:   
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/string:45:28:   
bits/c++config.h: No such file or directory   
In file included   
from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/string:46,   
                 from conftest.cc:61:   
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stringfwd.h:44:28:   
bits/c++config.h: No such file or directory   
In file included   
from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/char_traits.h:46,   
                   
from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/string:47,   
                 from conftest.cc:61:   
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/fpos.h:44:24:   
bits/c++io.h: No such file or directory   
In file included   
from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/fpos.h:45,   
                   
from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/char_traits.h:46,   
                   
from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/string:47,   
                 from conftest.cc:61:   
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/cwchar:49:28:   
bits/c++config.h: No such file or directory   
  
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,  
glibc-2.3.5-r0, 2.6.12-prep i686)  
=================================================================  
System uname: 2.6.12-prep i686  
Gentoo Base System version 1.6.13  
dev-lang/python:     2.3.5  
sys-apps/sandbox:    1.2.11  
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="i586-pc-linux-gnu"  
CFLAGS="-O2 -march=k6-2 -fomit-frame-pointer -pipe"  
CHOST="i586-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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=k6-2 -fomit-frame-pointer -pipe"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig distlocks sandbox sfperms strict"  
GENTOO_MIRRORS="http://distfiles.gentoo.org  
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"  
LANG="fr_FR.UTF-8"  
LINGUAS="en fr ru"  
MAKEOPTS="-j3"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode  
esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib  
ipv6 jpeg kde libg++ libwww mad madwifi-driver mikmod motif mp3 mpeg ncurses  
ndiswrapper nls ogg oggvorbis opengl oss pam pdflib perl png python qt  
quicktime readlinesdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts  
vorbis wireless-tools xml2 xmms xv zlib linguas_en linguas_fr linguas_ru  
userland_GNU kernel_linux elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY  
  
----------  
  
Do you have any clue about why files are missing  
from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5-20050130/include/g++-v3/?  
  
Try reemerging gcc, as it seems something is really broken with it...  
  
Comment 4 Frédéric Mancini 2005-08-05 09:32:21 UTC
I have no idea of how my gcc got broken.

Following your advice,

emerge gcc

followed by

emerge --update --deep --newuse world

were successful.