Date: Tue, 21 Dec 2004 17:19:20 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-stable@FreeBSD.org Subject: Re: 5-stable build fails in sysinstall Message-ID: <20041221151919.GA16116@ip.net.ua> In-Reply-To: <778D449A-5360-11D9-9BBA-000A95C893E4@lassitu.de> References: <778D449A-5360-11D9-9BBA-000A95C893E4@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)
iD8DBQFByD73qRfpzJluFF4RAp6OAJsH9brQhoYfiihcDmYaHdzj5+h1wQCfdsA8
5VcERfqCQDYcBprpQdmb/jw=
=csWq
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041221151919.GA16116>
