Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75137 - ncurses fails to build during "emerge system"
Summary: ncurses fails to build during "emerge system"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 75142 75786 89661 91580 93971 101018 105370 105557 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-20 21:46 UTC by Ted Goodridge, Jr
Modified: 2006-11-01 03:22 UTC (History)
8 users (show)

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


Attachments
make.conf (make.conf,680 bytes, text/plain)
2004-12-23 17:59 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ted Goodridge, Jr 2004-12-20 21:46:02 UTC
Ncurses failed to build during emerge system.  Output is followed (unnecessary parts snipped)

Calculating system dependencies  >>> Unpacking source...
>>> Unpacking ncurses-5.4.tar.gz to /var/tmp/portage/ncurses-5.4-r5/work
 [32;01m*[0m Applying ncurses-5.4-xterm.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying ncurses-5.4-share-sed.patch ...
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Using GNU config files from /usr/share/gnuconfig
 [32;01m*[0m  Updating config.sub
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m  Updating config.guess
[A[73G  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
gcc
 [32;01m*[0m econf: updating /var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/config.guess with /usr/share/gnuconfig/config.guess
 [32;01m*[0m econf: updating /var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=alpha-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo --disable-termcap --with-shared --with-rcs-ids --without-ada --enable-symlinks --program-prefix= --without-debug
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.
Configuring NCURSES 5.4 ABI 5 (Tue Dec 21 05:08:04 Local time zone must be set--see zic manual page 2004)
checking build system type... alphaev56-unknown-linux-gnu
			____________________________________
			 	-----------SNIP-----------------
			______________________________________________
 
gcc -mieee -O2 -mcpu=ev56 -fPIC -o worm ../obj_s/worm.o -L../lib -lform -lmenu -lpanel -lncurses    -Wl,-rpath,/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/lib  -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -mieee -O2 -mcpu=ev56 -fPIC -fPIC 
gcc -mieee -O2 -mcpu=ev56 -fPIC -o xmas ../obj_s/xmas.o -L../lib -lform -lmenu -lpanel -lncurses    -Wl,-rpath,/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/lib  -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -mieee -O2 -mcpu=ev56 -fPIC -fPIC 
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/test'
cd misc && make DESTDIR="" all
make[1]: Entering directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/misc'
cd c++ && make DESTDIR="" all
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 -mieee -O2 -mcpu=ev56 -fPIC -fPIC -c ../c++/cursesf.cc
cd ../obj_s;   -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -DNDEBUG -mieee -O2 -mcpu=ev56 -fPIC -fPIC -c ../c++/cursesm.cc
/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....
/bin/sh: line 1: -I../c++: No such file or directory
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

!!! ERROR: sys-libs/ncurses-5.4-r5 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

  ...done!
>>> emerge (1 of 65) sys-libs/ncurses-5.4-r5 to /
>>> md5 src_uri ;-) ncurses-5.4.tar.gz
Comment 1 SpanKY gentoo-dev 2004-12-20 23:44:08 UTC
you neglected to provide `emerge info` like the bug reporting page says to
Comment 2 SpanKY gentoo-dev 2004-12-21 08:33:23 UTC
*** Bug 75142 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2004-12-21 08:34:00 UTC
user's `emerge info`:
Gentoo Base System version 1.4.16
Portage 2.0.51-r2 (default-linux/alpha/2004.3, gcc-3.3.2, glibc-2.3.2-r12, 2.4.19-xfs-gentoo-cd alpha)
=================================================================
System uname: 2.4.19-xfs-gentoo-cd alpha EV56
Autoconf: 
Automake: 
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.23
Libtools: 
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CFLAGS="-mieee -O2 -mcpu=ev56"
CHOST="alpha-unknown-linux-gnu"
COMPILER=""
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="-mieee -O2 -mcpu=ev56"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alpha arts avi berkdb bitmap-fonts crypt cups encode f77 foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib png python qt quicktime readline sdl spell ssl tcpd truetype xml2 xmms xv zlib"
Comment 4 SpanKY gentoo-dev 2004-12-23 17:49:54 UTC
so can you provide a bit more info ? was this a brand new install ? if so, what stage tarball did you start with ? if not, was this just a routine `emerge system -u` that failed ?
Comment 5 Ted Goodridge, Jr 2004-12-23 17:59:25 UTC
Brand new stage 1 install... Bootstrap succeeded, emerge system did not.
Comment 6 SpanKY gentoo-dev 2004-12-23 17:59:52 UTC
Created attachment 46751 [details]
make.conf

this is a make.conf that was used to reproduce bug on sparc:
- unpack stage1-3004.3
- install attached make.conf
- emerge sync
- ./bootstrap.sh
- emerge system
<watch ncurses fail>
Comment 7 SpanKY gentoo-dev 2004-12-23 18:05:06 UTC
ok, but you didnt say what stage tarball you used :)

was it a 2004.3 alpha stage1 ?
Comment 8 Ted Goodridge, Jr 2004-12-23 18:09:24 UTC
2004.3 is correct...used the last portage available on the day i installed...i think the portage date is dec 19th but im not sure
Comment 9 SpanKY gentoo-dev 2004-12-24 19:56:45 UTC
i just talked to the sparc guy who hit this problem ...

he said that it happened because he forgot to run `./bootstrap.sh` first ... he just grabbed a stage1, ran `./bootstrap.sh -f`, then ran `emerge system`, and then he hit this bug

he started from the beginning again with same make.conf, and everything worked fine when he did `./bootstrap.sh` and then `emerge system`

perhaps you did the same ?
Comment 10 Ted Goodridge, Jr 2004-12-24 23:52:07 UTC
yeah i did...i'll try that when i get back into town.  see the thing is, that is what the alpha docs say to do for install.... bootstrap -f then emerge system.  I'll double checkj but I'm pretty sure thats what they say.

please leave the bug open until i can test this.  I can test in a few days.
Comment 11 SpanKY gentoo-dev 2004-12-24 23:59:05 UTC
http://www.gentoo.org/doc/en/handbook/handbook-alpha.xml?part=1&chap=6

Code Listing 12 says to `bootstrap.sh -f`
Code Listing 13 says to `bootstrap.sh`

so i guess you just missed a step, that's all
Comment 12 SpanKY gentoo-dev 2004-12-27 07:11:58 UTC
*** Bug 75786 has been marked as a duplicate of this bug. ***
Comment 13 Ted Goodridge, Jr 2004-12-29 18:40:20 UTC
This bug can be closed.  User error ...SORRY for wasting your time :(
Comment 14 SpanKY gentoo-dev 2004-12-30 00:01:58 UTC
np ... as you can see, other people do it too ;)
Comment 15 SpanKY gentoo-dev 2005-04-19 18:59:48 UTC
*** Bug 89661 has been marked as a duplicate of this bug. ***
Comment 16 SpanKY gentoo-dev 2005-05-05 11:04:27 UTC
*** Bug 91580 has been marked as a duplicate of this bug. ***
Comment 17 SpanKY gentoo-dev 2005-05-25 17:39:00 UTC
*** Bug 93971 has been marked as a duplicate of this bug. ***
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2005-09-09 05:52:52 UTC
*** Bug 105370 has been marked as a duplicate of this bug. ***
Comment 19 SpanKY gentoo-dev 2005-09-11 15:12:57 UTC
*** Bug 105557 has been marked as a duplicate of this bug. ***
Comment 20 SpanKY gentoo-dev 2005-09-11 15:13:43 UTC
*** Bug 101018 has been marked as a duplicate of this bug. ***
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-11-01 03:22:56 UTC
*** Bug 153660 has been marked as a duplicate of this bug. ***