On May 11, 2010, at 3:02 PM, N.J. Mann wrote:

> In message <201005101528.o4afsimx091...@svn.freebsd.org>,
>        Martin Matuska (m...@freebsd.org) wrote:
>> Author: mm
>> Date: Mon May 10 15:28:44 2010
>> New Revision: 207849
>> URL: http://svn.freebsd.org/changeset/base/207849
>> 
>> Log:
>>  Enable liblzma support in libarchive
>>  Adjust dependencies for programs using libarchive
>>  Add xz and linkage against liblzma to rescue system
>> 
>>  Approved by:        kientzle, delphij (mentor)
>>  MFC after:  2 weeks
>> 
>> Modified:
>>  head/Makefile.inc1
>>  head/lib/libarchive/Makefile
>>  head/rescue/rescue/Makefile
>>  head/usr.bin/ar/Makefile
>>  head/usr.bin/cpio/Makefile
>>  head/usr.bin/cpio/test/Makefile
>>  head/usr.bin/tar/Makefile
>>  head/usr.bin/tar/test/Makefile
> [...]
> 
> This commit breaks the build for me.  I am building on a i386 system
> running FreeBSD 7.3-STABLE r205828.  Prior to this commit I could build
> HEAD fine.  Here are the last few lines of the build up to the point it
> fails:
> 
> ===> usr.bin/ar (obj,depend,all,install)
> /usr/obj/home/FreeBSD.svn/base/head/tmp/home/FreeBSD.svn/base/head/usr.bin/ar 
> created for /home/FreeBSD.svn/base/head/usr.bin/ar
> lex -t  /home/FreeBSD.svn/base/head/usr.bin/ar/acplex.l > acplex.c
> yacc -d /home/FreeBSD.svn/base/head/usr.bin/ar/acpyacc.y
> cp y.tab.c acpyacc.c
> rm -f .depend
> mkdep -f .depend -a    -I. -I/home/FreeBSD.svn/base/head/usr.bin/ar 
> -I/usr/obj/home/FreeBSD.svn/base/head/tmp/legacy/usr/include 
> /home/FreeBSD.svn/base/head/usr.bin/ar/ar.c acplex.c acpyacc.c 
> /home/FreeBSD.svn/base/head/usr.bin/ar/read.c 
> /home/FreeBSD.svn/base/head/usr.bin/ar/util.c 
> /home/FreeBSD.svn/base/head/usr.bin/ar/write.c
> echo ar: /usr/lib/libc.a /usr/lib/libarchive.a /usr/lib/libbz2.a 
> /usr/lib/libz.a /usr/lib/liblzma.a /usr/lib/libelf.a 
> /usr/obj/home/FreeBSD.svn/base/head/tmp/legacy/usr/lib/libegacy.a >> .depend
> cc -O2 -pipe -I. -I/home/FreeBSD.svn/base/head/usr.bin/ar -std=gnu99   
> -I/usr/obj/home/FreeBSD.svn/base/head/tmp/legacy/usr/include -c 
> /home/FreeBSD.svn/base/head/usr.bin/ar/ar.c
> cc -O2 -pipe -I. -I/home/FreeBSD.svn/base/head/usr.bin/ar -std=gnu99   
> -I/usr/obj/home/FreeBSD.svn/base/head/tmp/legacy/usr/include -c acplex.c
> cc -O2 -pipe -I. -I/home/FreeBSD.svn/base/head/usr.bin/ar -std=gnu99   
> -I/usr/obj/home/FreeBSD.svn/base/head/tmp/legacy/usr/include -c acpyacc.c
> cc -O2 -pipe -I. -I/home/FreeBSD.svn/base/head/usr.bin/ar -std=gnu99   
> -I/usr/obj/home/FreeBSD.svn/base/head/tmp/legacy/usr/include -c 
> /home/FreeBSD.svn/base/head/usr.bin/ar/read.c
> cc -O2 -pipe -I. -I/home/FreeBSD.svn/base/head/usr.bin/ar -std=gnu99   
> -I/usr/obj/home/FreeBSD.svn/base/head/tmp/legacy/usr/include -c 
> /home/FreeBSD.svn/base/head/usr.bin/ar/util.c
> cc -O2 -pipe -I. -I/home/FreeBSD.svn/base/head/usr.bin/ar -std=gnu99   
> -I/usr/obj/home/FreeBSD.svn/base/head/tmp/legacy/usr/include -c 
> /home/FreeBSD.svn/base/head/usr.bin/ar/write.c
> make: don't know how to make /usr/lib/liblzma.a. Stop
> *** Error code 2
> 
> Stop in /home/FreeBSD.svn/base/head.
> *** Error code 1
> 
> Stop in /home/FreeBSD.svn/base/head.
> *** Error code 1
> 
> Stop in /home/FreeBSD.svn/base/head.
> 
> 
> I have removed my /etc/make.conf and /etc/src.conf and deleted /usr/obj
> before starting the build.


Hi Nick,
        Please detail the steps that you did to actually reproduce the problem. 
Just to let you know though, piecewise updating of just libarchive isn't 
possible; you need to update some Makefiles and other pieces that Martin 
touched in the lzma import (in particular Makefile.inc1). Otherwise things will 
break quickly.
HTH,
-Garrett_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to