Date: 18 Apr 2003 13:44:44 +0200 From: Pav Lucistnik <pav@oook.cz> To: freebsd-current@freebsd.org Subject: buildworld bombs in ncurses Message-ID: <1050666284.68681.13.camel@pav.hide.vol.cz>
next in thread | raw e-mail | index | archive | help
Hi, I have 5.0-RELEASE system installed from binary CD. Now I'm trying to update it to -CURRENT. make buildworld dies in /usr/src/lib/libncurses. This looks more like awk issue, because ncurses wasn't changed for a long time. When I look at lines in generated lib_gen.c where it complains, I see: #undef COLOR_P AIR NCURSES_EXPORT(int) COLOR_PAIR (int z) { T((T_CALLED("COLOR_PAIR(%d)"), z)); returnCode(((z) << ((0) + 8))); } note the space in COLOR_P AIR after #undef ... What have I did wrong? =3D=3D=3D> lib/libncurses AWK=3Dawk sh /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/MKkeys_list.sh = /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps | sort > keys.l= ist ./make_keys keys.list > init_keytry.h sh /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/MKlib_gen.sh "cc -E -O -pipe -mcpu=3Dpentiumpro -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS " "awk" generated < curses.h | fgrep undef > nomacros.h AWK=3Dawk sh /usr/src/lib/libncurses/../../contrib/ncurses/include/MKparametrized.sh=20 /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps > parametrized.h cat namehdr boolcodes numcodes strcodes codeftr > codes.c sh /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tty/MKexpanded.sh "cc -E" -O -pipe -mcpu=3Dpentiumpro -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS >expanded.c sh /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/MKfallback.sh >= fallback.c shift: can't shift that many shift: can't shift that many sh /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/MKlib_gen.sh "cc -E -O -pipe -mcpu=3Dpentiumpro -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS " "awk" generated < curses.h >lib_gen.c awk -f /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/MKkeyname.awk keys.list > lib_keyname.c echo | awk -f /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/MKunctrl.awk > unctrl.c sh /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/MKcaptab.awk "awk" /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps > comp_captab.c rm -f .depend mkdep -f .depend -a -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS codes.c expanded.c fallback.c lib_gen.c lib_keyname.c names.c unctrl.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/access.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/add_tries.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_entry.c /= usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/alloc_ttype.c /u= sr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/captoinfo.c comp_= captab.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_e= rror.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_exp= and.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash= .c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_parse.c= /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_scan.c /u= sr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/define_key.c /usr/= src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c /usr/src/l= ib/libncurses/../../contrib/ncurses/ncurses/tinfo/free_ttype.c /usr/src/lib= /libncurses/../../contrib/ncurses/ncurses/tinfo/getenv_num.c /usr/src/lib/l= ibncurses/../../contrib/ncurses/ncurses/tty/hardscroll.c /usr/src/lib/libnc= urses/../../contrib/ncurses/ncurses/tty/hashmap.c /usr/src/lib/libncurses/.= ./../contrib/ncurses/ncurses/tinfo/home_terminfo.c /usr/src/lib/libncurses/= ../../contrib/ncurses/ncurses/tinfo/init_keytry.c /usr/src/lib/libncurses/.= ./../contrib/ncurses/ncurses/base/keybound.c /usr/src/lib/libncurses/../../= contrib/ncurses/ncurses/base/keyok.c /usr/src/lib/libncurses/../../contrib/= ncurses/ncurses/tinfo/lib_acs.c /usr/src/lib/libncurses/../../contrib/ncurs= es/ncurses/base/lib_addch.c /usr/src/lib/libncurses/../../contrib/ncurses/n= curses/base/lib_addstr.c /usr/src/lib/libncurses/../../contrib/ncurses/ncur= ses/tinfo/lib_baudrate.c /usr/src/lib/libncurses/../../contrib/ncurses/ncur= ses/base/lib_beep.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/b= ase/lib_bkgd.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/l= ib_box.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_chg= at.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_clear.c= /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_clearok.c /= usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_clrbot.c /usr= /src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_clreol.c /usr/sr= c/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_color.c /usr/src/li= b/libncurses/../../contrib/ncurses/ncurses/base/lib_colorset.c /usr/src/lib= /libncurses/../../contrib/ncurses/ncurses/tinfo/lib_cur_term.c /usr/src/lib= /libncurses/../../contrib/ncurses/ncurses/tinfo/lib_data.c /usr/src/lib/lib= ncurses/../../contrib/ncurses/ncurses/base/lib_delch.c /usr/src/lib/libncur= ses/../../contrib/ncurses/ncurses/base/lib_delwin.c /usr/src/lib/libncurses= /../../contrib/ncurses/ncurses/base/lib_dft_fgbg.c /usr/src/lib/libncurses/= ../../contrib/ncurses/ncurses/base/lib_echo.c /usr/src/lib/libncurses/../..= /contrib/ncurses/ncurses/base/lib_endwin.c /usr/src/lib/libncurses/../../co= ntrib/ncurses/ncurses/base/lib_erase.c /usr/src/lib/libncurses/../../contri= b/ncurses/ncurses/base/lib_flash.c /usr/src/lib/libncurses/../../contrib/nc= urses/ncurses/base/lib_freeall.c /usr/src/lib/libncurses/../../contrib/ncur= ses/ncurses/base/lib_getch.c /usr/src/lib/libncurses/../../contrib/ncurses/= ncurses/base/lib_getstr.c /usr/src/lib/libncurses/../../contrib/ncurses/ncu= rses/tinfo/lib_has_cap.c /usr/src/lib/libncurses/../../contrib/ncurses/ncur= ses/base/lib_hline.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/= base/lib_immedok.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/ba= se/lib_inchstr.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base= /lib_initscr.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/l= ib_insch.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_i= nsdel.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_inss= tr.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_instr.c= /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_isendwin.c = /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/lib_kernel.c /u= sr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_leaveok.c /usr= /src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/lib_longname.c /usr= /src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_mouse.c /usr/src= /lib/libncurses/../../contrib/ncurses/ncurses/base/lib_move.c /usr/src/lib/= libncurses/../../contrib/ncurses/ncurses/tty/lib_mvcur.c /usr/src/lib/libnc= urses/../../contrib/ncurses/ncurses/base/lib_mvwin.c /usr/src/lib/libncurse= s/../../contrib/ncurses/ncurses/tinfo/lib_napms.c /usr/src/lib/libncurses/.= ./../contrib/ncurses/ncurses/base/lib_newterm.c /usr/src/lib/libncurses/../= ../contrib/ncurses/ncurses/base/lib_newwin.c /usr/src/lib/libncurses/../../= contrib/ncurses/ncurses/base/lib_nl.c /usr/src/lib/libncurses/../../contrib= /ncurses/ncurses/tinfo/lib_options.c /usr/src/lib/libncurses/../../contrib/= ncurses/ncurses/base/lib_overlay.c /usr/src/lib/libncurses/../../contrib/nc= urses/ncurses/base/lib_pad.c /usr/src/lib/libncurses/../../contrib/ncurses/= ncurses/tinfo/lib_print.c /usr/src/lib/libncurses/../../contrib/ncurses/ncu= rses/base/lib_printw.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurse= s/tinfo/lib_raw.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/bas= e/lib_redrawln.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base= /lib_refresh.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/l= ib_restart.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib= _scanw.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_scr= een.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_scroll= .c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_scrollok.= c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_scrreg.c /= usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_set_term.c /u= sr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/lib_setup.c /usr/= src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_slk.c /usr/src/li= b/libncurses/../../contrib/ncurses/ncurses/base/lib_slkatr_set.c /usr/src/l= ib/libncurses/../../contrib/ncurses/ncurses/base/lib_slkatrof.c /usr/src/li= b/libncurses/../../contrib/ncurses/ncurses/base/lib_slkatron.c /usr/src/lib= /libncurses/../../contrib/ncurses/ncurses/base/lib_slkatrset.c /usr/src/lib= /libncurses/../../contrib/ncurses/ncurses/base/lib_slkattr.c /usr/src/lib/l= ibncurses/../../contrib/ncurses/ncurses/base/lib_slkclear.c /usr/src/lib/li= bncurses/../../contrib/ncurses/ncurses/base/lib_slkcolor.c /usr/src/lib/lib= ncurses/../../contrib/ncurses/ncurses/base/lib_slkinit.c /usr/src/lib/libnc= urses/../../contrib/ncurses/ncurses/base/lib_slklab.c /usr/src/lib/libncurs= es/../../contrib/ncurses/ncurses/base/lib_slkrefr.c /usr/src/lib/libncurses= /../../contrib/ncurses/ncurses/base/lib_slkset.c /usr/src/lib/libncurses/..= /../contrib/ncurses/ncurses/base/lib_slktouch.c /usr/src/lib/libncurses/../= ../contrib/ncurses/ncurses/tinfo/lib_termcap.c /usr/src/lib/libncurses/../.= ./contrib/ncurses/ncurses/tinfo/lib_termname.c /usr/src/lib/libncurses/../.= ./contrib/ncurses/ncurses/tinfo/lib_tgoto.c /usr/src/lib/libncurses/../../c= ontrib/ncurses/ncurses/tinfo/lib_ti.c /usr/src/lib/libncurses/../../contrib= /ncurses/ncurses/base/lib_touch.c /usr/src/lib/libncurses/../../contrib/ncu= rses/ncurses/tinfo/lib_tparm.c /usr/src/lib/libncurses/../../contrib/ncurse= s/ncurses/tinfo/lib_tputs.c /usr/src/lib/libncurses/../../contrib/ncurses/n= curses/trace/lib_trace.c /usr/src/lib/libncurses/../../contrib/ncurses/ncur= ses/tty/lib_tstp.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/ti= nfo/lib_ttyflags.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tt= y/lib_twait.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/li= b_ungetch.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tty/lib_v= idattr.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_vli= ne.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_wattrof= f.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_wattron.= c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_winch.c /u= sr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/lib_window.c /usr/= src/lib/libncurses/../../contrib/ncurses/ncurses/base/memmove.c /usr/src/li= b/libncurses/../../contrib/ncurses/ncurses/tinfo/name_match.c /usr/src/lib/= libncurses/../../contrib/ncurses/ncurses/base/nc_panel.c /usr/src/lib/libnc= urses/../../contrib/ncurses/ncurses/tinfo/parse_entry.c /usr/src/lib/libncu= rses/../../contrib/ncurses/ncurses/tinfo/read_entry.c /usr/src/lib/libncurs= es/../../contrib/ncurses/ncurses/base/resizeterm.c /usr/src/lib/libncurses/= ../../contrib/ncurses/ncurses/base/safe_sprintf.c /usr/src/lib/libncurses/.= ./../contrib/ncurses/ncurses/tinfo/setbuf.c /usr/src/lib/libncurses/../../c= ontrib/ncurses/ncurses/base/sigaction.c /usr/src/lib/libncurses/../../contr= ib/ncurses/ncurses/tinfo/strings.c /usr/src/lib/libncurses/../../contrib/nc= urses/ncurses/base/tries.c /usr/src/lib/libncurses/../../contrib/ncurses/nc= urses/tty/tty_update.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurse= s/trace/varargs.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/bas= e/version.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/trace/vis= buf.c /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/vsscanf.c = /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/base/wresize.c /usr/s= rc/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/write_entry.c /usr/sr= c/lib/libncurses/termcap.c lib_gen.c:165:16: warning: extra tokens at end of #undef directive lib_gen.c:592:10: warning: extra tokens at end of #undef directive cc -O -pipe -mcpu=3Dpentiumpro -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c codes.c -o codes.o cc -O -pipe -mcpu=3Dpentiumpro -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c expanded.c -o expanded.o cc -O -pipe -mcpu=3Dpentiumpro -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c fallback.c -o fallback.o cc -O -pipe -mcpu=3Dpentiumpro -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -c lib_gen.c -o lib_gen.o lib_gen.c:165:16: warning: extra tokens at end of #undef directive lib_gen.c:166: syntax error before "int" *** Error code 1 Stop in /usr/src/lib/libncurses. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --=20 Pav Lucistnik <pav@oook.cz> Mami! Ten kursor na me mrka!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1050666284.68681.13.camel>