From owner-svn-src-all@FreeBSD.ORG Tue May 11 23:22:30 2010 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B7B71065670; Tue, 11 May 2010 23:22:30 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by mx1.freebsd.org (Postfix) with ESMTP id C49DA8FC1E; Tue, 11 May 2010 23:22:29 +0000 (UTC) Received: from mail.geekcn.org (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id A6504A69773; Wed, 12 May 2010 07:22:28 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by mail.geekcn.org (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with LMTP id NfsXwkKn5vPO; Wed, 12 May 2010 07:22:09 +0800 (CST) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id B1A54A550AB; Wed, 12 May 2010 07:22:06 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=rIN2ZhbPL6j1Z0oz+2EXXIMcPBdZkqQ0aTlSTs6aC5QhRMIjmCXWXqEEQ6O0nwdtA nKqH2fd7XtBLy565pD5Aw== Message-ID: <4BE9E69A.9020805@delphij.net> Date: Tue, 11 May 2010 16:22:02 -0700 From: Xin LI Organization: The Geek China Organization User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100408 Thunderbird/3.0.4 ThunderBrowse/3.2.8.1 MIME-Version: 1.0 To: d@delphij.net References: <201005101528.o4AFSiMx091913@svn.freebsd.org> <20100511190224.GA90875@titania.njm.me.uk> <25885E8D-93A9-47C7-BC55-AEE2D3773010@gmail.com> <4BE9B923.9020800@delphij.net> In-Reply-To: <4BE9B923.9020800@delphij.net> X-Enigmail-Version: 1.0.1 OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: src-committers@FreeBSD.ORG, Martin Matuska , "N.J. Mann" , svn-src-all@FreeBSD.ORG, Ruslan Ermilov , 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2010 23:22:30 -0000 -----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. The current approach of mine is: - When OSRELDATE is less than the import, pass NO_LZMA when building ar(1) - Add support for build flag NO_LZMA to ar(1).[*] [*] I think this is not quite right, perhaps we need to have a global MK_XZ or something and use that flag? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJL6eaaAAoJEATO+BI/yjfB3l0H/jvOofC2zzZS1xpqVA/e4ROD NIXl0HeXvt1ra12wqKCt9w2Ilgx830qVAB1kHLXnOOckWYrSkWQ3soxMSuszBEM5 dkrNFwzMIi4Jed1Vg9vtpPtKPyMysM+xA1b6asGT/y18NqEBr35YnZrfqr5L/G0N 7D4qLWpMNQyhJqtIhSSXarT5NTI5272/lNQh3J3568yTtvPq2gbiTg0yj0hTr00J M+DcSFssHM9wNwM1rKWjpuRaY/x+9gjaka2y23hZVAhoFDXjSWHy5JoVwmNjHvIU 2qlnf8y87vMncEFy5FNFVzTAn/tJJfaGXO/GoHnzMxtpgdcrcwMcmcMujRaKpyI= =4nAw -----END PGP SIGNATURE-----