[lfs-support] LFS-7.2 host system tar version

Chris Staub chris at beaker67.com
Sat Nov 24 02:46:13 PST 2012

On 11/23/2012 07:33 PM, nettxzl wrote:
> (Sorry if this comes through twice. My first attempt seems to have vanished.)
> Hi,
> I was starting the gcc-4.7.1 (Pass 1) build in Chap. 5 and I was
> trying to unpack the files compressed with xz following the command
> given there:
> tar -Jxf ../mpfr-3.1.1.tar.xz
> but I got this error message:
> tar: invalid option -- J
> I guessed my host system tar is too old, but it is tar-1.19 and this
> is newer than the minimum version, tar-1.18, stated in the host system
> requirements.
> It's not a problem because I can unpack the files in two steps: first
> with xz, then with tar.
> But I think you may want to update the tar version in the host system
> requirements.

I just confirmed this with a built-from-source vanilla tar 1.20, which 
is also newer than the current Host System Requirments state - indeed it 
does not support xz archives, and the book should certainly be updated 
to specify a newer minimum version.

More information about the lfs-support mailing list