On 09/06/2018 09:11 AM, Terence Waterhouse wrote:
Dear sir,

Although I have been using exclusively Linux for many many years it is only a few days ago I decided to buils my own system using LFS v.8.2. I am not quite certain which list this post should actually be on, but I subscribed to this list because I shall probably need it later... I do not generally post unnecessary questions, and indeed, I don't post questions at all. So here goes :

No problem.  You are in the right place.

Building LFS 8.2 went smoothly until section 5.18 bzip2-1.0.6. When I tried to untar the package I got the following output:

You should be using LFS-8.3 which was released about a week ago.

bzip2-1.0.6.tar.gz and it's patch are indeed available at

http://anduin.linuxfromscratch.org/LFS/

If you look at Section 3.1, you will find the instructions:

pushd $LFS/sources
md5sum -c md5sums
popd

That should identify any problems with downloading package sources. Or specifically:

$ md5sum $LFS/sources/bzip2-1.0.6*
00b516f4704d4a7cb50a1d97e6e8e15b  bzip2-1.0.6.tar.gz
6a5ac7e89b791aae556de0f745916f7f  bzip2-1.0.6-install_docs-1.patch

  -- Bruce

tar: This does not look like a tar archive gzip:

stdin: not in gzip format

tar: Child returned status 1

tar: Error is not recoverable: exiting now

In fact it is apparently a html file according to 'file' output with a tar.gz extension. I first downloaded the original packages with the wget-list file, then, meeting this problem, ran wget with the specific file name. No succes. I tried the site http//:www.bzip.org and could find no trace of the sources. A visit to the site will tell you why.

I tried all the usual tricks to unpack it with absolutely no succes. To cut things short I spent 2 days searching the web to no avail then sent off a desperate search for "what happened to bzip2?" This search produced the following link :

https://lwn.net/Articles/762264/

I also found on this page the following link to the source files of bzip2 and it is the only link I have been able to find:

https://web.archive.org/web/20140722223512/http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz

Download

replace the package obtained from wget-list

untar

and carry on as usual.

I might attract your attention to the fact that the post at lwn.net is dated August 9th 2018 and so is recent.

As LFS uses bzip2 extensively it seemed to me that this information might be of some use. I can only hope that the newly downloaded version works. . .

Many many thanks for the great work, I will let you know if I run into any difficulties with the package.

I leave it to your judgement as to how to address this potentially important issue.

Yours sincerely

Terence Waterhouse




--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to