Skip site navigation (1)Skip section navigation (2)
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

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 21, 2004 at 03:56:17PM +0100, Stefan Bethke wrote:
> this is a day-old RELENG_5
>=20
> cc -O -pipe -march=3Dpentium4 -DUSE_GZIP=3D1 =20
> -I/majestix/data/00/build/src/usr.sbin/sysinstall/../../gnu/lib/=20
> 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
>=20
> Stop in /majestix/data/00/build/src/usr.sbin/sysinstall.
> *** Error code 1
>=20
>=20
> Unsurprisingly, makedevs.c is broken:
>=20
> #include <sys/types.h>
> const char termcap_ansi[] =3D {
>=20
> ,0};
> const char termcap_cons25w[] =3D {
> 99,111,110,115,50,53,119,124,97,110,115,105,119,124,97,110,115,105,56,48=
=20
> ,
>=20
>=20
> rtermcap produces no output for "ansi":
> # =20
> /majestix/data/00/build/obj/majestix/data/00/build/src/usr.sbin/=20
> sysinstall/rtermcap ansi
>=20
> but does work for "cons25":
> # =20
> /majestix/data/00/build/obj/majestix/data/00/build/src/usr.sbin/=20
> sysinstall/rtermcap cons25
> cons25|ansis|ansi80x25:=20
> ac=3Dl\332m\300k\277j\331u\264t\303v\301w\302q\304x\263...
>=20
> /etc/termcap has an entry for ansi, and so does the one in /usr/obj.
>=20
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,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFByD73qRfpzJluFF4RAp6OAJsH9brQhoYfiihcDmYaHdzj5+h1wQCfdsA8
5VcERfqCQDYcBprpQdmb/jw=
=csWq
-----END PGP SIGNATURE-----

--5vNYLRcllDrimb99--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041221151919.GA16116>