Re: 5-stable build fails in sysinstall

2004-12-21 Thread Stefan Bethke
Am 21.12.2004 um 16:19 schrieb Ruslan Ermilov:
Make sure /usr/share/misc/termcap really has
the entry for "ansi" through "grep -w ansi /usr/share/misc/termcap".
Also make sure that /usr/share/misc/termcap.db is not damaged.
Looks like rebuilding termcap.db fixed the problem:
majestix-emg:/usr/share/misc# ls -l ter*
-r--r--r--  1 root  wheel 204798 Dec 20 18:31 termcap
-r--r--r--  1 root  wheel  625672192 Dec 20 18:32 termcap.db
majestix-emg:/usr/share/misc# grep -w ansi termcap
...
ansi|any ansi terminal with pessimistic assumptions:\
...
majestix-emg:/usr/share/misc# cap_mkdb termcap
majestix-emg:/usr/share/misc# ls -l term*
-r--r--r--  1 root  wheel   204798 Dec 20 18:31 termcap
-r--r--r--  1 root  wheel  1310720 Dec 21 16:31 termcap.db
Thanks for the quick response!
Cheers,
Stefan
--
Stefan Bethke <[EMAIL PROTECTED]>   Fon +49 170 346 0140
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5-stable build fails in sysinstall

2004-12-21 Thread Ruslan Ermilov
On Tue, Dec 21, 2004 at 03:56:17PM +0100, Stefan Bethke wrote:
> this is a day-old RELENG_5
> 
> cc -O -pipe -march=pentium4 -DUSE_GZIP=1  
> -I/majestix/data/00/build/src/usr.sbin/sysinstall/../../gnu/lib/ 
> libdialog -I.  -c makedevs.c
> makedevs.c:4: error: syntax error before ',' token
> makedevs.c:81: error: syntax error before ',' token
> makedevs.c:84: error: syntax error before ',' token
> *** Error code 1
> 
> Stop in /majestix/data/00/build/src/usr.sbin/sysinstall.
> *** Error code 1
> 
> 
> Unsurprisingly, makedevs.c is broken:
> 
> #include 
> const char termcap_ansi[] = {
> 
> ,0};
> const char termcap_cons25w[] = {
> 99,111,110,115,50,53,119,124,97,110,115,105,119,124,97,110,115,105,56,48 
> ,
> 
> 
> rtermcap produces no output for "ansi":
> #  
> /majestix/data/00/build/obj/majestix/data/00/build/src/usr.sbin/ 
> sysinstall/rtermcap ansi
> 
> but does work for "cons25":
> #  
> /majestix/data/00/build/obj/majestix/data/00/build/src/usr.sbin/ 
> sysinstall/rtermcap cons25
> cons25|ansis|ansi80x25: 
> ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263...
> 
> /etc/termcap has an entry for ansi, and so does the one in /usr/obj.
> 
During buildworld, the "rtermcap" tool will use /usr/share/misc/termcap
as its termcap database (if not told otherwise through the TERMCAP
environment variable).  Make sure /usr/share/misc/termcap really has
the entry for "ansi" through "grep -w ansi /usr/share/misc/termcap".
Also make sure that /usr/share/misc/termcap.db is not damaged.

That was a long-standing bug in the build process anyway -- we should
*not* be using the installed version of the termcap database when
building.  Now it's fixed (as of sysinstall/Makefile,v 1.133).


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer


pgpoklndfQG0K.pgp
Description: PGP signature