Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91580 - ncurses-5.4-r6 failed to compile during installation
Summary: ncurses-5.4-r6 failed to compile during installation
Status: RESOLVED DUPLICATE of bug 75137
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-05 08:35 UTC by Tiago Freire
Modified: 2005-07-17 13:06 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 Tiago Freire 2005-05-05 08:35:51 UTC
Installing a new test system with stage1. trying to 'emerge -e system' failed with the following error:

make[1]: Entering directory `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++'
cd ../obj_s;   -I../c++ -I../include -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++ -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=athlon-xp -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fPIC -c /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/cursesf.cc
/bin/sh: line 1: -I../c++: No such file or directory
make[1]: *** [../obj_s/cursesf.o] Error 127
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1. start stage1 installation
2. get to 'emerge -e system' step
3. bummer

Actual Results:  
ncurses did not compile

Expected Results:  
finish 'emerge -e system' succesfully

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 18:18:11)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.97
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer -pipe -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer -pipe -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode
foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww
mad mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl
pic png python qt quicktime readline sdl spell ssl svga tcpd truetype
truetype-fonts type1-fonts unicode xml2 xmms xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-05 08:50:08 UTC
Ehm, you need to run bootstrap.sh first and then emerge --e system
Comment 2 Tiago Freire 2005-05-05 09:25:40 UTC
I ran bootstrap.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-05 09:51:08 UTC
Did you really run 

- both bootstrap.sh -f _and_ bootstrap.sh
- or just bootstrap.sh
- but NOT just bootstrap.sh -f (it is not enough)

Seems like you are missing C++ compiler.
Comment 4 SpanKY gentoo-dev 2005-05-05 11:04:27 UTC

*** This bug has been marked as a duplicate of 75137 ***