Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 17:23:30 +0400
From:      Ruslan Ermilov <ru@freebsd.org>
To:        d@delphij.net
Cc:        src-committers@freebsd.org, Martin Matuska <mm@freebsd.org>, "N.J. Mann" <njm@njm.me.uk>, svn-src-all@freebsd.org, svn-src-head@freebsd.org, Garrett Cooper <yanefbsd@gmail.com>
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
Message-ID:  <20100512132330.GA92013@edoofus.dev.vega.ru>
In-Reply-To: <4BE9E69A.9020805@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> <4BE9E69A.9020805@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100512132330.GA92013>