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 <sys/types.h>
> 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
ru@FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20041221/0cdc4814/attachment.bin