Re: make release broken

From: Rob Farmer <rfarmer_at_predatorlabs.net>
Date: Sat, 22 May 2010 18:25:49 -0700
On Sat, May 22, 2010 at 8:09 AM, James R. Van Artsdalen
<james-freebsd-current_at_jrv.org> wrote:
> On 5/18/2010 2:34 AM, jhell wrote:
>> On Mon, May 17, 2010 at 10:35 PM, Rob Farmer
>> <rfarmer_at_predatorlabs.net> wrote:
>>>> make release is broken on current. Seems to be related to the lzma
>>>> import. This is on i386:
>>>>
>>>> cc -static -o boot_crunch boot_crunch.o hostname.lo pwd.lo rm.lo sh.lo
>>>> test.lo camcontrol.lo dhclient.lo fsck_ffs.lo ifconfig.lo mount_nfs.lo
>>>> newfs.lo route.lo rtsol.lo tunefs.lo cpio.lo find.lo minigzip.lo
>>>> sed.lo arp.lo ppp.lo sysinstall.lo usbconfig.lo -ll -ledit -lutil -lmd
>>>> -lcrypt -lftpio -lz -lnetgraph -ldialog -lncurses -ldisk -lcam -lsbuf
>>>> -lufs -ldevinfo -lbsdxml -larchive -lbz2 -lusb -ljail
>>>> /usr/obj/usr/src/tmp/usr/lib/libarchive.a(archive_write_set_compression_xz.o)(.text+0x1e6):
>>>> In function `archive_compressor_xz_init':
>>>> : undefined reference to `lzma_lzma_preset'
>>>> ...
>>
>> This URL looks to be the problem you are seeing above.
>>
>> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=20426+0+current/freebsd-current
>>
>
> make release is still broken on amd64 as of svn 208373 (2010-05-21
> 04:52:49 -0500)
>
> That patch seems unrelated?
>

That patch is unrelated - it is for building current on RELENG_7 or
something like that. What needs done is
/src/release/$ARCH/boot_crunch.conf files need the relevant libraries
added to the libs section. I haven't tested it, but I think adding
-llzma there will fix the problems.

-- 
Rob Farmer
Received on Sat May 22 2010 - 23:25:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC