Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75786 - ebuild system fails during build of ncurses
Summary: ebuild system fails during build of ncurses
Status: RESOLVED DUPLICATE of bug 75137
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-27 06:19 UTC by Peter Farr
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 Peter Farr 2004-12-27 06:19:52 UTC
The symptom is similar to bug 75137, but that is for an Alpha.

I a rebuilding my Toshiba Tecra S1 from scratch - repartitioned end empty hard drives - while running from a Knoppix CD. I have chosen to do a stage 1 build using Stage1-x86-2004.3.tar.bz. After the bootstrap completed I did "emerge system", which failed in the ncurses-5.4-r5 build - same messages as in 75137. The "gcc" command appears to be missing in the output:

make[1]: Entering directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++' 
 cd ../obj_s; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer -fPIC -fPIC -c ../c++/cursesf.cc 
 cd ../obj_s; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer -fPIC -fPIC -c ../c++/cursesm.cc 
 /bin/sh: line 1: -I../c++: No such file or directory 
 /bin/sh: line 1: -I../c++: No such file or directory 
 make[1]: *** [../obj_s/cursesf.o] Error 127 
 make[1]: *** Waiting for unfinished jobs.... 
 make[1]: *** [../obj_s/cursesm.o] Error 127 
 make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++' 
 make: *** [all] Error 2 

Some discussion on the forum lead me to removing the lines containing "unicode" from the ebuild files in the /var/tmp/portage directory, and this resolved the problem. The rest of the build was successful.

My make.conf at the time was:
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

I have since added "USE="-unicode", but I don't know if that has made any difference.

Reproducible: Always
Steps to Reproduce:
1. Wipe system
2. Follow instructions at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml 
Actual Results:  
emerge fails
Comment 1 SpanKY gentoo-dev 2004-12-27 07:11:58 UTC
arch doesnt matter

you probably forgot to bootstrap

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