Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153660 - building ncurses fails using hardened gentoo stage1-x86-selinux-piessp-20050726.tar.bz2 and bootstrap.sh
Summary: building ncurses fails using hardened gentoo stage1-x86-selinux-piessp-200507...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 03:11 UTC by Alan Hourihane
Modified: 2006-11-01 05:25 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 Alan Hourihane 2006-11-01 03:11:32 UTC
Using the hardended gentoo stage1, and then using ./bootstrap.sh the ncurses build eventually fails with....

echo '** adjusting tabset paths'
** adjusting tabset paths
sed -f run_tic.sed /var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/misc/terminfo.src >terminfo.tmp
make[2]: Leaving directory `/var/tmp/portage/ncurses-5.5-r3/work/narrowc/misc'
cd c++ && make DESTDIR="" all
make[2]: Entering directory `/var/tmp/portage/ncurses-5.5-r3/work/narrowc/c++'
cd ../obj_s;   -I../c++ -I../include -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++ -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -Os -fomit-frame-pointer -march=i486 -pipe  -fPIC -c /var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++/cursesf.cc
cd ../obj_s;   -I../c++ -I../include -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++ -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -Os -fomit-frame-pointer -march=i486 -pipe  -fPIC -c /var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++/cursesm.cc
cd ../obj_s;   -I../c++ -I../include -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++ -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -Os -fomit-frame-pointer -march=i486 -pipe  -fPIC -c /var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++/cursesw.cc
cd ../obj_s;   -I../c++ -I../include -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++ -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -Os -fomit-frame-pointer -march=i486 -pipe  -fPIC -c /var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/c++/cursespad.cc
/bin/sh: -I../c++: No such file or directory
/bin/sh: -I../c++: No such file or directory
make[2]: *** [../obj_s/cursespad.o] Error 127
make[2]: *** Waiting for unfinished jobs....
/bin/sh: -I../c++: No such file or directory
make[2]: *** [../obj_s/cursesw.o] Error 127
make[2]: *** [../obj_s/cursesm.o] Error 127
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.5-r3/work/narrowc'

!!! ERROR: sys-libs/ncurses-5.5-r3 failed.
!!! Function do_compile, Line 93, Exitcode 2
!!! make failed
/bin/sh: -I../c++: No such file or directory
!!! If you need support, post the topmost build error, NOT this status message.

 ...done!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-01 03:22:56 UTC

*** This bug has been marked as a duplicate of 75137 ***
Comment 2 Alan Hourihane 2006-11-01 04:46:57 UTC
I'm re-opening this, because I am doing...

./bootstrap.sh
emerge -e system

and ncurses is failing in the bootstrap.sh, before getting to emerge -e system, so I don't think this is a duplicate.
Comment 3 Chris PeBenito (RETIRED) gentoo-dev 2006-11-01 05:04:55 UTC
You should not be using this stage.  It was removed from the mirrors a long time ago and is out of date.  If there is a mirror that still has this stage, please contact infra so they know a mirror is out of date.
Comment 4 Alan Hourihane 2006-11-01 05:18:01 UTC
O.k., so which stage can I use given that none exist for hardened systems.
Comment 5 Alan Hourihane 2006-11-01 05:25:45 UTC
I guess I use the standard 2006.1 now and symlink the hardened profile - so I'll do that.