Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2010 16:37:51 -0700
From:      Xin LI <delphij@delphij.net>
To:        FreeBSD Current <freebsd-current@FreeBSD.ORG>
Subject:   [mini headsup] updating from 7.x to -CURRENT after lzma import
Message-ID:  <4BE9EA4F.9010803@delphij.net>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The recent lzma import has enabled libarchive's lzma support.  However,
it have come to our attention that building -HEAD on earlier FreeBSD
versions (specifically, 7.x after 700044 through 8.x before 800022) have
been broken.

The reason behind this is that 'make buildworld' will build a new ar(1)
binary which links to libarchive, causing build to break on these systems.

A hack-ish patch can be used to relieve this:

	http://people.freebsd.org/~delphij/for_review/patch-lzmabuild.diff

Alternatively, one can update to 8-STABLE before jumping to 9-CURRENT.

Another way to work around this is to build and install lzma static
library before doing 'make buildworld':

	cd /usr/src
	make buildenv
	cd lib/liblzma
	make obj
	make depend
	make  -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED all
	make  -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED install

We are working on a better solution for this and sorry for the breakage.

Cheers,
- -- 
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!	       Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iQEcBAEBAgAGBQJL6epPAAoJEATO+BI/yjfB37MIAJ+Xy9sftRRwdc1n61UDxeGd
iy08OvhZesQltDOIaezFSET250HVtUG0Z+aenaxgMV8tzfRysK1FNdBozWCE0hbY
cgyIy/bi1JOEP2F2qiFLyKIRtZSSoMJkMEegKEFlRC21rQBmWCRBK0zPrnq/sgTS
qyLB83QrlJsH7tLS301ac0r8bK1TdvOc21EyXvtbmWa5fZjpJMrwwhcSevUgOAci
DYixML6SMLcxai/kz3lAbUbxXiecm0tg9uUYQR7T94nCFpxde5tu8KMNx4jsoC8x
cS2VdToswpCtIVc2PuTotl3A1WGMUFUM45KWk2UzBP40nn+r0G/cVpCgx/7BpzY=
=nPLF
-----END PGP SIGNATURE-----



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