From owner-freebsd-current@FreeBSD.ORG Wed Jan 18 02:28:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CEA816A41F for ; Wed, 18 Jan 2006 02:28:24 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4581743D46 for ; Wed, 18 Jan 2006 02:28:24 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 247841A3C1B; Tue, 17 Jan 2006 18:28:24 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B930F54A1B; Tue, 17 Jan 2006 21:28:20 -0500 (EST) Date: Tue, 17 Jan 2006 21:28:20 -0500 From: Kris Kennaway To: Steve Kargl Message-ID: <20060118022820.GA96421@xor.obsecurity.org> References: <20060117222233.GA99076@troutmask.apl.washington.edu> <63732.1137541297@critter.freebsd.dk> <20060118012104.GA45779@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <20060118012104.GA45779@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.1i Cc: Poul-Henning Kamp , freebsd-current@freebsd.org Subject: Re: md5c.c is broken on amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2006 02:28:24 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 17, 2006 at 05:21:04PM -0800, Steve Kargl wrote: > On Wed, Jan 18, 2006 at 12:41:37AM +0100, Poul-Henning Kamp wrote: > > In message <20060117222233.GA99076@troutmask.apl.washington.edu>, Steve= Kargl writes: > > >It just isn't my day to work on upgrade a 3 day old -current. ;( > > > > > >/usr/src/lib/libcrypt/../libmd/md5c.c: In function `__MD5Update': > > >/usr/src/lib/libcrypt/../libmd/md5c.c:154: error: argument "in" doesn'= t match prototype > > >/usr/include/sys/md5.h:41: error: prototype declaration > > >*** Error code 1 > >=20 > > Either you got a very unlucky CVSUP timing or you didn't run buildworld > > because it looks like you have an old and a new source tree= ... > >=20 >=20 > I didn't do a buildworld. It appears that one can no longer > rebuild only a part of the tree. I did >=20 > rm -rf /usr/obj/* > cd /usr/src/lib > make clean && make cleandepend && make cleandir > make depend > make >=20 > Report problem. Since you are building your source tree against old headers and libraries, the only situation in which this will work is when the headers (and libraries) haven't changed significantly between your installed version and new sources. In practice this means you can only get away with it when doing 'small enough' upgrades. A more reliable, but still not 100% reliable, method to upgrade your system more quickly than building world is to add: make includes make libraries before 'make depend', which works around those two problems. It still doesn't work around other kinds of bootstrapping problems that occur from time to time, which buildworld is designed to solve. But of course, when either of these methods fail, the responsible thing to do is to fall back to a buildworld before claiming the existence of problems. Kris --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDzafEWry0BWjoQKURAshgAKCAt3fTeEL4zXVtqW7ww6pIDSDA+QCg2n1E eZ2kw9Inj9QYSFuagKEg0zA= =wSmJ -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--