I'm building LFS-SVN on x86-64.  I've experienced a quite large number 
of test failures in Ch. 6.12, and I'd like some help sorting through the 
information.  Right now I don't know what's relevant and what's not.  
`expect -c spawn ls` gave the hoped for results, but I ran across the 
dreaded "no more pty's" in the test log.  I checked using the FAQ and 
found that devpts was not mounted in my host (Ubuntu 10.04).  I added it 
to devpts to /etc/fstab, rebooted, rebuilt binutils and tested it 
again.  The results of both test runs are identical.

First of all, the tests bailed with the following (from `tail` and I've 
removed the leading directories for clarity)
> PASS: test-expandargv-1.
> PASS: test-expandargv-2.
> PASS: test-expandargv-3.
> make[3]: Leaving directory `/binutils-build/libiberty/testsuite'
> make[2]: Leaving directory `/binutils-build/libiberty'
> make[1]: Target `check-host' not remade because of errors.
> make[1]: Nothing to be done for `check-target'.
> make[1]: Leaving directory `/binutils-build'
> make: *** [do-check] Error 2
> make: Target `check' not remade because of errors.
Secondly, here is the results of `grep Summary`
>         === binutils Summary ===
>
> # of unexpected failures    4
> # of unresolved testcases    31
> # of untested testcases        7
> # of unsupported tests        1
> --
>         === ld Summary ===
>
> # of expected passes        481
> # of unexpected failures    2
> # of expected failures        59
   And, obviously, gas was not tested.

The make, not test, log contained the following lines:
> /binutils-2.20.1/bfd/configure: line 7240: /usr/bin/file: No such file 
> or directory
> /binutils-2.20.1/opcodes/configure: line 6975: /usr/bin/file: No such 
> file or directory
> /binutils-2.20.1/binutils-2.20.1/binutils/configure: line 7000: 
> /usr/bin/file: No such file or directory
> /binutils-2.20.1/binutils-2.20.1/gas/configure: line 6957: 
> /usr/bin/file: No such file or directory
> /binutils-2.20.1/gprof/configure: line 6895: /usr/bin/file: No such 
> file or directory
> /usr/src/binutils-2.20.1/binutils-2.20.1/ld/configure: line 7345: 
> /usr/bin/file: No such file or directory
I found this because of, from the test log,
> -Running /binutils-2.20.1/binutils/testsuite/binutils-all/ar.exp ...
> binutils-2.20.1-tests.log:FAIL: ar long file names
I don't know if there's a connection or not.

I've spent almost a day googling and reading.  Right now I'm not sure 
what's relevant.  Does anyone have any suggestions on troubleshooting or 
diagnoses?

Also, is there I place I can go to look at test logs for the SVN book?

Thanks,
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to