From owner-freebsd-stable@FreeBSD.ORG Tue Dec 21 15:19:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB02916A4CE for ; Tue, 21 Dec 2004 15:19:19 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51BCF43D4C for ; Tue, 21 Dec 2004 15:19:18 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBLFJF1I074134; Tue, 21 Dec 2004 17:19:15 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 57351-08; Tue, 21 Dec 2004 17:19:14 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBLFJDRK074131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Dec 2004 17:19:14 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iBLFJKBC016329; Tue, 21 Dec 2004 17:19:20 +0200 (EET) (envelope-from ru) Date: Tue, 21 Dec 2004 17:19:20 +0200 From: Ruslan Ermilov To: Stefan Bethke Message-ID: <20041221151919.GA16116@ip.net.ua> References: <778D449A-5360-11D9-9BBA-000A95C893E4@lassitu.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <778D449A-5360-11D9-9BBA-000A95C893E4@lassitu.de> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: freebsd-stable@FreeBSD.org Subject: Re: 5-stable build fails in sysinstall X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 15:19:20 -0000 --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 > 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--