LinuxQuestions.org
Help answer threads with 0 replies.
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 01-31-2008, 06:27 PM   #1
dustin_wielenga
Member
 
Registered: Jun 2004
Location: Washington, USA
Distribution: SLAX, Ubuntu
Posts: 113

Rep: Reputation: 15
Are "Expected Failures" a problem?


I just ran the test for binutils-2.16.1, in Chapter 6. Using LFS 6.2. Everything has been by the book thus far.

When I run the "make check" at the end it spits out:
"# of expected passes: 243
# of expected failures: 4"

Is this OK? Seems like it to me, since they are expected. Or does it mean some kind of error?

(Link to applicable page: http://www.linuxfromscratch.org/lfs/.../binutils.html)

Thanks in advance.
 
Old 01-31-2008, 07:57 PM   #2
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
My guess would be that it is fine; it looks like it is putting out stats. If it were to encounter a real error, most programs will output a real error.

If you want to be sure, try running
Code:
echo $?
if you get 0, then it means that it exited without error. A non-zero exit code usually means it exited because something went wrong.
 
Old 01-31-2008, 08:22 PM   #3
dustin_wielenga
Member
 
Registered: Jun 2004
Location: Washington, USA
Distribution: SLAX, Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
Alright, I ran the "echo $?" command, and it indeed spat out "0". (This was done in $LFS/sources/binutils-build, right after the "make check"). So you figure it's safe to go on?
 
Old 02-01-2008, 03: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,

# of expected passes: <number>
# of expected failures: <number>


These can be ignored.

You can also ignore unexpected passes, when you encounter unexpected failures (or if the process stops with an error) you need to check these out. Sometimes an unexpected failure is mentioned in the online lfs build logs.

Hope this helps.

Last edited by druuna; 02-01-2008 at 03:35 AM.
 
Old 02-01-2008, 04:00 PM   #5
dustin_wielenga
Member
 
Registered: Jun 2004
Location: Washington, USA
Distribution: SLAX, Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
Perfect! Thank you very much. That indeed helps me out.
 
  


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
"...Device eth0 has different MAC address than expected,.." lothario Linux - Networking 11 08-05-2014 10:24 PM
"expected specifier-qualifier-list" ERROR while adding a new system call ahm_irf Linux - Kernel 0 04-29-2007 10:52 PM
"...the number of UNIX installations has grown to 10, with more expected..." AnanthaP General 0 02-14-2006 07:21 AM
"MailScanner" wrong owner (expected mail but is root) mrlucio79 Linux - Software 1 01-05-2006 04:09 PM
Java "<identifier> expected" error. nro Programming 2 09-01-2004 12:20 AM

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

All times are GMT -5. The time now is 07:34 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