LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.7 Chapter 6.59 Udev-161 make check fails (http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-7-chapter-6-59-udev-161-make-check-fails-861128/)

ianll 02-07-2011 02:15 AM

LFS 6.7 Chapter 6.59 Udev-161 make check fails
 
I'm making good progress now, but have gotten stuck while doing make check on Udev-161. Below is the last few lines from make check. Most of the output looks very similar.

Code:

TEST 142: magic [subsys/sysname] attribute substitution
device '/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda' expecting node/link 'sda-8741C4G-end'
add:        error
Can't exec "tree": No such file or directory at ./test/udev-test.pl line 1685.

remove:      ok

140 errors occured

FAIL: test/udev-test.pl
==============================================
1 of 1 test failed
Please report to linux-hotplug@vger.kernel.org
==============================================
make[3]: *** [check-TESTS] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2

tree is not installed in my $PATH and from looking back through the book, it shouldn't be either. Any ideas where I have gone wrong - if indeed I have?

One other thing I noticed when doing make check on the make package itself in Chapter 6.49, was that it produced an error. It told me to look at the .diffs in the work directory. The only one that was there was "SECONDARY.diff.8" which had the following:
Code:

*** work/targets/SECONDARY.base.8      Sun Feb  6 12:36:53 2011
--- work/targets/SECONDARY.log.8        Sun Feb  6 12:36:53 2011
***************
*** 1,5 ****
  cp 1.a 1.b
  cp 2.a 2.b
- cp 1.b 1.c
  cp 2.b 2.c
  rm 1.b 2.b
--- 1,5 ----
  cp 1.a 1.b
  cp 2.a 2.b
  cp 2.b 2.c
+ cp 1.b 1.c
  rm 1.b 2.b

I issued make check again so that I could copy the terminal output to post on LQ, but the second time I ran it, it succedded without fault. I thought it was odd, but I proceeded hapily all the same. I wonder is it somehow related??

Ian

druuna 02-07-2011 04:30 AM

Hi,

I remember seeing this error before and if I recall correctly it had to do with not correctly unpacking the udev test package. I'm talking about this:
Code:

tar -xvf ../udev-161-testfiles.tar.bz2 --strip-components=1
Hope this helps.

ianll 02-11-2011 06:29 PM

Right you were.

That's the second problem I've had with my LFS build and both were caused by a lack of attention on my part.

Thanks for the help druuna.

Ian

druuna 02-12-2011 04:34 AM

Hi,

Glad to read you found the problem!

BTW: You're welcome :)


All times are GMT -5. The time now is 05:30 PM.