On 07/09/2015 11:50 PM, Bruce Dubbs wrote:
Frans de Boer wrote:
.....

The shell file uses INTMAX_MAX not INT_MAX. But I am very sorry. I was
mistaken: seq-long-double.sh passes the test, it is the next test
seq-precision.sh what takes forever.
I don't understand how I missed that word PASS: in front of that. Blind
me :(  Time to take a month leave.

Now I understand it is the next test after the one we are trying to
decode.

I will look into it why seq-precision is taken forever, and also check
if 8.23 had that test too.

Regards, Frans.

Ok, 8.23 had no seq-precision.sh test, but even if it would be there the
test would pass.
The problem is the next line:
   seq 999999 inf | head -n2

On 8.23 seq would output
999999
1e+06

and it would stop. Note the change in notation.

With 8.24 the output is:
999999
1000000

Which is now correct, however, seq does not stop. So, it's a bug in seq
itself.
One thing for LFS would be to patch this test with

sed -i -e 's@seq 999999 inf@seq 999999 1000000@'
tests/misc/seq-precision.sh

Problem solved, now how to get seq corrected?

What is wrong with the seq output?  In chroot I get:

$ seq 999999 inf | head -n2
999999
1000000

The sed is not needed. If you just run seq '999999 inf' it does not
stop, but the pipe to head kills it.

   -- Bruce


Bruce,

I found - in the meantime - that using 'seq 1.1 inf | head -n2' also does stop it. Somehow, 'inf' does not trigger the right response on my machine and head does nothing to stop it. My question to you: do you use 'head' from chapter 5 (TC-phase) or the completed chapter 6 (BSS-phase)?

I think I will rebuild from scratch again (2e time) and start fresh tomorrow to dig into this deeper.

For now, good night, Frans.
--
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