Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15122 - emergeing ncurses fails
Summary: emergeing ncurses fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-04 14:28 UTC by dalas.revo
Modified: 2003-02-04 14:48 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 dalas.revo 2003-02-04 14:28:53 UTC
on my athlon-xp, emerging ncurses-5.3-r1 fails. i already have it installed, i just wanted to 
remerg it. 
i add the output of emerge ncurses: 
 
>>> Unpacking source... 
>>> Unpacking ncurses-5.3.tar.gz 
>>> Source unpacked. 
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.3 ABI 5 (Tue Feb  4 20:15:34 CET 2003) 
checking build system type... i686-pc-linux-gnu 
checking host system type... i686-pc-linux-gnu 
checking target system type... i686-pc-linux-gnu 
Configuring for linux-gnu 
checking for prefix... /usr 
checking for i686-pc-linux-gnu-gcc... gcc 
checking for C compiler default output... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for executable suffix...  
checking for object suffix... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking version of gcc... gcc (GCC) 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207) 
checking for gcc... $(CC) 
checking how to run the C preprocessor... gcc -E 
checking whether gcc needs -traditional... no 
checking for POSIXized ISC... no 
checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS 
checking for ldconfig... /sbin/ldconfig 
checking if you want to ensure bool is consistent with C++... yes 
checking for i686-pc-linux-gnu-g++... g++ 
checking whether we are using the GNU C++ compiler... yes 
checking whether g++ accepts -g... yes 
checking version of g++... g++ (GCC) 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207) 
checking if you want to build C++ binding and demo... yes 
checking if you want to build with Ada95... no 
checking if you want to build programs such as tic... yes 
checking if you wish to install curses.h... yes 
checking for mawk... no 
checking for gawk... gawk 
checking whether make sets ${MAKE}... yes 
checking for a BSD compatible install... /bin/install -c 
checking for long file names... yes 
checking if filesystem supports mixed-case filenames... yes 
checking whether ln -s works... yes 
checking for i686-pc-linux-gnu-ranlib... no 
checking for ranlib... ranlib 
checking for ctags... no 
checking for etags... no 
checking for tdlint... no 
checking for lint... no 
checking for alint... no 
checking for man... man 
checking for loader (symbol LD)... ld 
checking for archiver (symbol AR)... ar 
checking for archiver options (symbol AR_OPTS)... rv 
checking for makeflags variable...  
checking if you have specified an install-prefix...  
checking if you want to build libraries with libtool... no 
checking if you want to build shared libraries... yes 
checking if you want to build static libraries... yes 
checking if you want to build debug libraries... no 
checking if you want to build profiling libraries... no 
checking for specified models...  shared normal 
checking for default model... shared 
checking if you want to build a separate terminfo library... no 
checking if you want to link with dbmalloc for testing... no 
checking if you want to link with dmalloc for testing... no 
checking if you want to link with the gpm mouse library... no 
checking for default loader flags...  
checking if rpath option should be used... no 
checking if release/abi version should be used for shared libs... auto 
checking which gcc option to use... -fPIC 
checking if you wish to install ncurses overwriting curses... yes 
checking if external terminfo-database is used... yes 
checking which terminfo source-file will be installed... ${top_srcdir}/misc/terminfo.src 
checking for list of fallback descriptions...  
checking for list of terminfo directories... /usr/share/terminfo 
checking for default terminfo directory... /usr/share/terminfo 
checking if big-core option selected... yes 
checking if you want termcap-fallback support... no 
checking for remove... yes 
checking for unlink... yes 
checking if link/symlink functions work...  link symlink 
checking if tic should use symbolic links... no 
checking if you want broken-linker support code...  
checking for type of bool... auto 
checking for type of ospeed... short 
checking if tputs should process BSD-style prefix padding... no 
checking if RCS identifiers should be compiled-in... yes 
checking format of man-pages... gzip 
checking for manpage renaming... no 
checking for manpage symlinks... yes 
checking for manpage tbl... no 
checking if you want to build with function extensions... yes 
checking for extended use of const keyword... no 
checking if you want $NCURSES_NO_PADDING code... yes 
checking if you want SIGWINCH handler... yes 
checking if you want user-definable terminal capabilities like termcap... yes 
checking if you want all development code... no 
checking if you want hard-tabs code... no 
checking if you want to use restrict environment when running as root... yes 
checking if you want limited support for xmc... no 
checking if you do not want to assume colors are white-on-black... yes 
checking if you want hashmap scrolling-optimization code... yes 
checking if you want colorfgbg code... no 
checking if you want experimental safe-sprintf code... no 
checking if you want experimental wide-character code... no 
checking for terminal capabilities file... Caps 
checking if you want to display full commands during build... yes 
checking if you want to see compiler warnings...  
configure: checking for gcc __attribute__ directives... 
... scanf 
... printf 
... unused 
... noreturn 
checking if you want to enable runtime assertions... no 
checking for gettimeofday... yes 
checking if -lm needed for math functions... yes 
checking if we must define _GNU_SOURCE... yes 
checking for ANSI C header files... yes 
checking for dirent.h that defines DIR... no 
checking for sys/ndir.h that defines DIR... no 
checking for sys/dir.h that defines DIR... no 
checking for ndir.h that defines DIR... no 
checking for opendir in -lx... no 
checking whether time.h and sys/time.h may both be included... yes 
checking for regular-expression headers... regex.h 
checking for fcntl.h... yes 
checking for getopt.h... yes 
checking for libc.h... no 
checking for limits.h... no 
checking for locale.h... yes 
checking for poll.h... yes 
checking for sys/bsdtypes.h... no 
checking for sys/ioctl.h... no 
checking for sys/param.h... no 
checking for sys/poll.h... yes 
checking for sys/select.h... yes 
checking for sys/time.h... yes 
checking for sys/times.h... yes 
checking for ttyent.h... yes 
checking for unistd.h... yes 
checking if sys/time.h works with sys/select.h... yes 
checking for gcc option to accept ANSI C... none needed 
checking for an ANSI C-conforming const... yes 
checking for inline... inline 
checking if unsigned literals are legal... yes 
checking for type of chtype... long 
checking if external errno is declared... no 
checking if external errno exists... yes 
checking if data-only library module links... yes 
checking for getcwd... yes 
checking for getegid... yes 
checking for geteuid... yes 
checking for getttynam... yes 
checking for issetugid... no 
checking for memccpy... yes 
checking for nanosleep... yes 
checking for poll... yes 
checking for remove... (cached) yes 
checking for select... yes 
checking for setbuf... yes 
checking for setbuffer... yes 
checking for setvbuf... yes 
checking for sigaction... yes 
checking for sigvec... yes 
checking for strdup... yes 
checking for strstr... yes 
checking for tcgetpgrp... yes 
checking for times... yes 
checking for vsnprintf... yes 
checking for isascii... yes 
checking whether sigaction needs _POSIX_SOURCE... unknown 
checking for termio.h... no 
checking for termios.h... yes 
checking for unistd.h... (cached) yes 
checking whether termios.h needs _POSIX_SOURCE... no 
checking for tcgetattr... yes 
checking for vsscanf function or workaround... vsscanf 
checking for working mkstemp... yes 
checking whether setvbuf arguments are reversed... no 
checking return type of signal handlers... int 
checking for type sigaction_t... no 
checking declaration of size-change... no 
checking for memmove... yes 
checking if poll really works... yes 
checking for stdbool.h... yes 
checking for builtin bool type... no 
checking for library stdc++... no 
checking how to run the C++ preprocessor... g++ -E 
checking for typeinfo... yes 
checking for stdbool.h... (cached) yes 
checking for builtin bool type... yes 
checking for size of bool... unsigned char 
checking for special defines needed for etip.h... none 
checking if g++ accepts parameter initialization... no 
checking for strstream.h... no 
checking if g++ supports vscan function... stdio 
checking for library subsets... termlib+base+ext_funcs 
checking default library suffix...  
checking default library-dependency suffix... .so 
checking default object directory... obj_s 
checking c++ library-dependency suffix... .a 
checking where we will install curses.h... ${prefix}/include 
checking for src modules... ncurses progs tack panel menu form 
configure: creating ./config.status 
config.status: creating include/MKterm.h.awk 
config.status: creating include/curses.head 
config.status: creating include/termcap.h 
config.status: creating include/unctrl.h 
config.status: creating misc/run_tic.sh 
config.status: creating man/Makefile 
config.status: creating include/Makefile 
config.status: creating ncurses/Makefile 
config.status: creating progs/Makefile 
config.status: creating tack/Makefile 
config.status: creating panel/Makefile 
config.status: creating menu/Makefile 
config.status: creating form/Makefile 
config.status: creating test/Makefile 
config.status: creating misc/Makefile 
config.status: creating c++/Makefile 
config.status: creating Makefile 
config.status: creating include/ncurses_cfg.h 
Appending rules for shared model (ncurses: termlib+base+ext_funcs) 
Appending rules for normal model (ncurses: termlib+base+ext_funcs) 
Appending rules for shared model (progs: termlib+base+ext_funcs) 
Appending rules for normal model (progs: termlib+base+ext_funcs) 
Appending rules for shared model (tack: termlib+base+ext_funcs) 
Appending rules for normal model (tack: termlib+base+ext_funcs) 
Appending rules for shared model (panel: termlib+base+ext_funcs) 
Appending rules for normal model (panel: termlib+base+ext_funcs) 
Appending rules for shared model (menu: termlib+base+ext_funcs) 
Appending rules for normal model (menu: termlib+base+ext_funcs) 
Appending rules for shared model (form: termlib+base+ext_funcs) 
Appending rules for normal model (form: termlib+base+ext_funcs) 
Appending rules for shared model (test: termlib+base+ext_funcs) 
Appending rules for normal model (test: termlib+base+ext_funcs) 
Appending rules for shared model (c++: termlib+base+ext_funcs) 
Appending rules for normal model (c++: termlib+base+ext_funcs) 
creating headers.sh 
 
** Configuration summary for NCURSES 5.3 20021012: 
 
      bin directory: /usr/bin 
      lib directory: /lib 
  include directory: /usr/include 
      man directory: /usr/share/man 
 terminfo directory: /usr/share/terminfo 
 
cd man && make DESTDIR="" all 
make[1]: Entering directory `/var/tmp/portage/ncurses-5.3-r1/work/ncurses-5.3/man' 
sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5 
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.3-r1/work/ncurses-5.3/man' 
cd include && make DESTDIR="" all 
make[1]: Entering directory `/var/tmp/portage/ncurses-5.3-r1/work/ncurses-5.3/include' 
cat curses.head >curses.h 
AWK=gawk sh ./MKkey_defs.sh ./Caps >>curses.h 
sh -c 'if test "chtype" = "cchar_t" ; then cat ./curses.wide >>curses.h ; fi' 
cat ./curses.tail >>curses.h 
sh ./MKhashsize.sh ./Caps >hashsize.h 
AWK=gawk sh ./MKncurses_def.sh ./ncurses_defs >ncurses_def.h 
AWK=gawk sh ./MKparametrized.sh ./Caps >parametrized.h 
gawk -f MKterm.h.awk ./Caps > term.h 
sh ./edit_cfg.sh ../include/ncurses_cfg.h term.h 
** edit: HAVE_TCGETATTR 1 
** edit: HAVE_TERMIOS_H 1 
** edit: HAVE_TERMIO_H 0 
** edit: BROKEN_LINKER 0 
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.3-r1/work/ncurses-5.3/include' 
cd ncurses && make DESTDIR="" all 
make[1]: Entering directory `/var/tmp/portage/ncurses-5.3-r1/work/ncurses-5.3/ncurses' 
sh ./base/MKlib_gen.sh "gcc -E -DHAVE_CONFIG_H -I../ncurses -I.  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include" "gawk" generated <../include/curses.h | \ 
	fgrep undef >../include/nomacros.h 
gawk -f ./tinfo/MKnames.awk ./../include/Caps 
cat namehdr boolnames boolfnames numnames numfnames strnames strfnames nameftr 
>names.c 
cat namehdr boolcodes numcodes strcodes codeftr >codes.c 
rm -f namehdr nameftr codeftr boolnames boolfnames boolcodes numnames numfnames 
numcodes strnames strfnames strcodes 
gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I. -march=athlon-xp -O3 -pipe  
-DHAVE_CONFIG_H -I../ncurses -I.  -DNDEBUG -D_GNU_SOURCE -I. -I../include 
-DMAIN_PROGRAM ./tinfo/comp_hash.c   
In file included from /usr/include/errno.h:36, 
                 from ../ncurses/curses.priv.h:94, 
                 from tinfo/comp_hash.c:40: 
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory 
In file included from /usr/include/signal.h:313, 
                 from ../ncurses/curses.priv.h:115, 
                 from tinfo/comp_hash.c:40: 
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or directory 
In file included from tinfo/comp_hash.c:68: 
../ncurses/tinfo/doalloc.c: In function `_nc_doalloc': 
../ncurses/tinfo/doalloc.c:52: `ENOMEM' undeclared (first use in this function) 
../ncurses/tinfo/doalloc.c:52: (Each undeclared identifier is reported only once 
../ncurses/tinfo/doalloc.c:52: for each function it appears in.) 
make[1]: *** [make_hash] Error 1 
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.3-r1/work/ncurses-5.3/ncurses' 
make: *** [all] Error 2 
 
!!! ERROR: sys-libs/ncurses-5.3-r1 failed. 
!!! Function src_compile, Line 42, Exitcode 2 
!!! parallel make failed 
 
Calculating dependencies      ...done! 
>>> emerge (1 of 1) sys-libs/ncurses-5.3-r1 to / 
>>> md5 ;-) ncurses-5.3.tar.gz
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-04 14:48:42 UTC
he was missing linux-headers