LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-07-2011, 02:15 AM   #1
ianll
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Rep: Reputation: 2
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
 
Old 02-07-2011, 04:30 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 02-11-2011, 06:29 PM   #3
ianll
LQ Newbie
 
Registered: Jan 2011
Posts: 18

Original Poster
Rep: Reputation: 2
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
 
Old 02-12-2011, 04:34 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Glad to read you found the problem!

BTW: You're welcome
 
  


Reply



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
[SOLVED] LFS 6.7 Chapter 6.16 GCC-4.5.1 make fails ianll Linux From Scratch 14 08-12-2012 12:27 AM
[SOLVED] LFS 6.7 - Chapter 6.59 - Udev-161 tests completely fail (can't exec tree) tomw2005 Linux From Scratch 3 01-30-2011 11:38 AM
LFS live CD 6.5 chapter 6.14. MPFR-2.4.1 make check 2 errors bucovaina78 Linux From Scratch 3 10-21-2009 07:21 PM
LFS version 6.5, chapter 6.12.1, make check Binutils-2.19.1 errors jbee Linux From Scratch 5 10-06-2009 09:41 AM
LFS 6, chapter 6.11; Glibc 'make check' error Zamochit Linux From Scratch 5 05-31-2005 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration