From owner-cvs-src@FreeBSD.ORG Wed Feb 1 11:30:31 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FE5216A420; Wed, 1 Feb 2006 11:30:31 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8059643D46; Wed, 1 Feb 2006 11:30:30 +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 k11BUETp032650; Wed, 1 Feb 2006 13:30:14 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 61433-01-6; Wed, 1 Feb 2006 13:30:02 +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 k11BPCRm032431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Feb 2006 13:25:12 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k11BPEH7029299; Wed, 1 Feb 2006 13:25:14 +0200 (EET) (envelope-from ru) Date: Wed, 1 Feb 2006 13:25:13 +0200 From: Ruslan Ermilov To: Stefan Farfeleder Message-ID: <20060201112513.GH90360@ip.net.ua> References: <200601311757.k0VHvHuF060699@repoman.freebsd.org> <20060131.121247.100359574.imp@bsdimp.com> <20060131.135734.112813988.imp@bsdimp.com> <20060201080250.GA610@wombat.fafoe.narf.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="e5bfZ/T2xnjpUIbw" Content-Disposition: inline In-Reply-To: <20060201080250.GA610@wombat.fafoe.narf.at> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: cvs-src@FreeBSD.org, stefanf@FreeBSD.org, cvs-all@FreeBSD.org, "M. Warner Losh" , src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/sys cdefs.h src/include nl_types.h stdio.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 11:30:31 -0000 --e5bfZ/T2xnjpUIbw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 01, 2006 at 09:02:58AM +0100, Stefan Farfeleder wrote: > On Tue, Jan 31, 2006 at 01:57:34PM -0700, M. Warner Losh wrote: >=20 > > Confirmed. RELENG_5 -> RELENG_6 upgrades are now broken. >=20 > > =3D=3D=3D> usr.bin/gencat (obj,depend,all,install) >=20 > > In file included from /u2/imp/FreeBSD/6x/src/usr.bin/gencat/gencat.c:88: > > /u2/imp/obj/u2/imp/FreeBSD/6x/src/tmp/legacy/usr/include/nl_types.h:100= : error: syntax error before "__format_arg" > > *** Error code 1 > >=20 > > The fix I have applied locally is: >=20 > > @@ -97,6 +97,9 @@ > > =20 > > __BEGIN_DECLS > > nl_catd catopen(const char *, int); > > +#ifndef __format_arg > > +#define __format_arg(a) __attribute__((__format_arg__(a))) > > +#endif > > char *catgets(nl_catd, int, int, const char *) __format_arg(4); > > int catclose(nl_catd); > > __END_DECLS > >=20 > > although I'm sure that there's many ways to skin this cat... >=20 > This patch kind of defeats the purpose of my commit. Why is gencat > picking up the new but the old ? Shouldn't there > be a "-I /u2/[...]/src/tmp/legacy/usr/include/sys" somewhere? >=20 Because attempting to use a new cdefs.h will likely break it in other way. This tool is compiled from fresh sources but using the currently available toolchain because it's compiled to be run on the host/OS/version doing buildworld, and it meant to be run during buildworld. > Anyway this probably won't be fixed very soon, so should I commit somethi= ng > like your patch or back out the whole thing? >=20 Commit what Warner sent you, but only to RELENG_6. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --e5bfZ/T2xnjpUIbw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD4JqZqRfpzJluFF4RAqzUAKCJM1fCkOaZBC8DOFp/+BAYE6RA9gCgkWIJ NuX5oDom5FpZwh3uD2AtpPg= =wIjx -----END PGP SIGNATURE----- --e5bfZ/T2xnjpUIbw--