From owner-svn-src-head@FreeBSD.ORG Wed May 12 13:23:52 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 757371065679; Wed, 12 May 2010 13:23:52 +0000 (UTC) (envelope-from ru@freebsd.org) Received: from mail.vega.ru (mail.vega.ru [90.156.167.5]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8A68FC23; Wed, 12 May 2010 13:23:51 +0000 (UTC) Received: from [10.100.124.99] (helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OCBub-0008Ok-3u; Wed, 12 May 2010 17:23:45 +0400 Date: Wed, 12 May 2010 17:23:30 +0400 From: Ruslan Ermilov To: d@delphij.net Message-ID: <20100512132330.GA92013@edoofus.dev.vega.ru> References: <201005101528.o4AFSiMx091913@svn.freebsd.org> <20100511190224.GA90875@titania.njm.me.uk> <25885E8D-93A9-47C7-BC55-AEE2D3773010@gmail.com> <4BE9B923.9020800@delphij.net> <4BE9E69A.9020805@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BE9E69A.9020805@delphij.net> Cc: src-committers@freebsd.org, Martin Matuska , "N.J. Mann" , svn-src-all@freebsd.org, svn-src-head@freebsd.org, Garrett Cooper Subject: Re: svn commit: r207849 - in head: . lib/libarchive rescue/rescue usr.bin/ar usr.bin/cpio usr.bin/cpio/test usr.bin/tar usr.bin/tar/test X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 13:23:52 -0000 On Tue, May 11, 2010 at 04:22:02PM -0700, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Please try this patch: > > http://people.freebsd.org/~delphij/for_review/patch-lzmabuild.diff > > I'm not quite satisfied with this patch though. > > The problem was: > > - ar, libarchive now unconditionally depends on LZMA library; > - When building on old system, /usr/lib/liblzma.a would not exist; > - ar is bootstrap tool and thus will be built in BMAKE stage; > - The build fails here since no liblzma is pre-built. How about bootstrapping liblzma instead? NB: Completely untested. %%% Index: Makefile.inc1 =================================================================== --- Makefile.inc1 (revision 207959) +++ Makefile.inc1 (working copy) @@ -931,7 +931,7 @@ .endif .if ${BOOTSTRAPPING} >= 700044 && ${BOOTSTRAPPING} < 800022 -_ar= usr.bin/ar +_ar= lib/liblzma usr.bin/ar .endif .if ${BOOTSTRAPPING} < 800013 %%% Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer