LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 07-09-2010, 11:25 PM   #1
pr_deltoid
Member
 
Registered: Jun 2010
Distribution: Fedora
Posts: 289

Rep: Reputation: 41
Question Bash test suite is locking up.


In "6.29 Bash-4.1" of the LFS book (6.6) when I get to the bash test suite, it keeps freezing up (I'm very sure) here:
Quote:
run-coproc
warning: the process IDs printed will differ on every run
warning: and generate diffs
It stayed right there for quite a long time. When I hit Ctrl-C, it moved on like it was working and went on to finish the rest of the tests (without any apparent problems). I could print more output, but I'm in the middle of trying it again. Now I'm just letting it sit there and seeing if anything happens. I don't think it's supposed to take a very long time though, so it must be some sort of problem I'm having. This is the second time I'm attempting it (after rm -rf-ing the directory and starting at the top of the page again. Right now it seems to be doing nothing again. If it appears to be working other than getting hung up here (which it does), should I just ignore it and move forward?
I've followed the instructions in the handbook perfectly up to this point as far as I know (and I've paid very close attention and have had no problems so far).
The output I mentioned (to do with this specific part of the test) looked like it looked in successful builds that I found when googling. (Except the ^C immediately after the above point).

Last edited by pr_deltoid; 07-10-2010 at 08:58 AM.
 
Old 07-09-2010, 11:34 PM   #2
pr_deltoid
Member
 
Registered: Jun 2010
Distribution: Fedora
Posts: 289

Original Poster
Rep: Reputation: 41
I'm using a good HT Pentium 4 processor (3.4 GHz) and have 1 GB of RAM.
 
Old 07-10-2010, 03:05 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

What do you consider to be "for quite a long time"? The building of bash takes about 1.4 SBU, which isn't the longest but it does take some time. Compare it to gcc (1.1 SBU) and binutils (2.2 SBU).

You do mention that you followed the instructions, but are you sure you didn't forget/mis-typed this part:
Quote:
To prepare the tests, ensure that the locale setting from our environment will be used and that the nobody user can read the standard input device and write to the sources tree:

sed -i 's/LANG/LC_ALL/' tests/intl.tests
sed -i 's@tests@& </dev/tty@' tests/run-test
chown -Rv nobody ./
BTW: Here's a link to the output that should be shown when running the tests: Bash build-logs (LFS 6.6).

Hope this helps.
 
Old 07-10-2010, 08:52 AM   #4
pr_deltoid
Member
 
Registered: Jun 2010
Distribution: Fedora
Posts: 289

Original Poster
Rep: Reputation: 41
Yes, I did do that both times - definitely. Look here:
Quote:
run-coproc
warning: the process IDs printed will differ on every run
warning: and generate diffs
^C1c1
< 25401
---
> 84575
4c4
< 25403
---
> 84577
6a7,13
> ./coproc.tests: line 22: 84577 Terminated coproc REFLECT { cat -; }
> 84579
> 63 60
> FOO
> 63 60
> root
> -1 -1
run-cprint
I made the ^C red so it stands out more easily. And I mean I've let it run for a very, very long time and nothing happens. Everything else compiles real quickly and test quickly other than the obvious exceptions like GCC. Notice that:
Quote:
> ./coproc.tests: line 22: 84577 Terminated coproc REFLECT { cat -; }
shows up once and not twice. I just took the (I think) out of the title of this thread, also.
EDIT: I installed it and moved on and so far it seems to be working fine.

Last edited by pr_deltoid; 07-10-2010 at 09:19 AM.
 
Old 07-10-2010, 09:44 AM   #5
pr_deltoid
Member
 
Registered: Jun 2010
Distribution: Fedora
Posts: 289

Original Poster
Rep: Reputation: 41
I'm on 6.33 Perl-5.10.1 after ignoring that one hangup. Like I said, after Ctrl+C, the rest of the test finished with no problems. So far I haven't had any problems at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
glibc-2.3.6 test suite error sanjeet_guddu Linux From Scratch 3 06-10-2010 04:19 PM
CD-R test suite for CentOS 4/5 slinx Linux - Software 1 01-28-2010 04:38 PM
Phoronix Test Suite anupamjamatia Linux - Software 1 11-13-2008 08:36 AM
performance test suite kadamsuvarna Linux - General 1 12-27-2006 09:48 PM
Hardware Test Suite DaKKoN Linux - Software 1 08-12-2004 08:03 AM


All times are GMT -5. The time now is 10:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration