LinuxQuestions.org
Review your favorite Linux distribution.
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-31-2011, 10:45 PM   #1
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Rep: Reputation: Disabled
Help with chapter 6.22 Coreutils - 8.10 in LFS 6.8


Hi I had trouble in chapter 6.22 Coreutils - 8.10 installation process of LFS 6.8 .

After executing the following command :

su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check"

I get output with some error :

======================================
1 of 392 tests failed
(56 tests were not run)
See tests/test-suite.log
Please report to bug-coreut...@gnu.org
======================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/sources/coreutils-8.10/tests'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/sources/coreutils-8.10/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/sources/coreutils-8.10/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-8.10'
make: *** [check] Error 2



Is it ok to ignore this errors??
 
Old 08-01-2011, 02:39 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

The above doesn't tell us anything, it only shows that one test failed and not which one and what the error is.

You need to check the file mentioned in the error message (See tests/test-suite.log) to get relevant information.

Hope this helps.
 
1 members found this post helpful.
Old 08-01-2011, 02:04 PM   #3
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
yep it did druuna well kindoff ...

This is the FAIL part of tests/test-suite.log :

FAIL: cp/fiemap-perf (exit: 1)
==============================

++ initial_cwd_=/sources/coreutils-8.10/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /sources/coreutils-8.10/tests gt-fiemap-perf.XXXX
+++ case $# in
+++ destdir_=/sources/coreutils-8.10/tests
+++ template_=gt-fiemap-perf.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-fiemap-perf.XXXX
+++ d=/sources/coreutils-8.10/tests/gt-fiemap-perf.jZrK
+++ case $d in
+++ test -d /sources/coreutils-8.10/tests/gt-fiemap-perf.jZrK
++++ ls -dgo /sources/coreutils-8.10/tests/gt-fiemap-perf.jZrK
++++ tr S -
+++ perms='drwx------ 2 4096 Jul 22 13:41 /sources/coreutils-8.10/tests/gt-fiemap-perf.jZrK'
+++ case $perms in
+++ test 0 = 0
+++ echo /sources/coreutils-8.10/tests/gt-fiemap-perf.jZrK
+++ return
++ test_dir_=/sources/coreutils-8.10/tests/gt-fiemap-perf.jZrK
++ cd /sources/coreutils-8.10/tests/gt-fiemap-perf.jZrK
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
++ cd /sources/coreutils-8.10/tests/../src
++ echo /sources/coreutils-8.10/src
+ abs_path_dir_=/sources/coreutils-8.10/src
+ case $abs_path_dir_ in
+ PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
+ create_exe_shims_ /sources/coreutils-8.10/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ cp
+ test yes = yes
+ local i
+ for i in '$*'
+ env cp --version
cp (GNU coreutils) 8.10
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.
+ fiemap_capable_ .
+ df -T -t btrfs -t xfs -t ext4 -t ocfs2 -t gfs2 .
df: Warning: cannot read table of mounted file systems
Filesystem Type 1K-blocks Used Available Use% Mounted on
- - 30001196 2051576 26425604 8% /
+ timeout 10 truncate -s1T f
+ timeout 10 cp f f2
+ fail=1
++ stat --printf %s f
++ stat --printf %s f2
+ test 1099511627776 = 0
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /sources/coreutils-8.10/tests
+ chmod -R u+rwx /sources/coreutils-8.10/tests/gt-fiemap-perf.jZrK
+ rm -rf /sources/coreutils-8.10/tests/gt-fiemap-perf.jZrK
+ exit 1


It seems like it is unable to read or detect the mounted filesystem but according to fdisk -l ...it is a Linux filesystem ..correct me if i am wrong ??

Thankx for your help again greatly appreciated ...
 
Old 08-02-2011, 01:20 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,
Quote:
Originally Posted by adi_30stm View Post
yep it did druuna well kindoff ...
.
.
.
It seems like it is unable to read or detect the mounted filesystem but according to fdisk -l ...it is a Linux filesystem ..correct me if i am wrong ??
This is a bit strange. If you look at the command you notice that it is not looking for the ext3 FS (which is used/suggested by LFS).

Although I'm not 100% sure and I've never seen this test error before, I'm guessing it is save to continue with the build. I do assume that the FS used is ext3 (This chapter).

If you want more certainty, I would suggest you post this issue on the lfs mailinglist (Support for LFS Projects).

Hope this helps.
 
Old 08-04-2011, 01:29 PM   #5
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Hey sorry for the late reply ... i was away for awhile ..umm i looked around about the issue on mailing list and came across a similar problem and they recommend to ignore it .. Didn't face any problems yet ..but ummm i really stuck at chapter topics 7.9.3 to 7.9.3.7 . Am i suppose to do something in 7.9.3.2 and 7.9.3.3 ??? I am really confused here :$ Help me out if you can ...

Thankx
 
Old 08-04-2011, 02:20 PM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,
Quote:
Originally Posted by adi_30stm View Post
..but ummm i really stuck at chapter topics 7.9.3 to 7.9.3.7 . Am i suppose to do something in 7.9.3.2 and 7.9.3.3 ??? I am really confused here :$ Help me out if you can ...
Short answer: No.

It is important information, it describes how devices are handled.
 
1 members found this post helpful.
Old 08-05-2011, 01:11 AM   #7
adi_30stm
Member
 
Registered: Jul 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Thanx
 
Old 08-05-2011, 02:06 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
You're welcome
 
  


Reply

Tags
coreutils, lfs


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
LFS 6.4: a coreutils test fails ReyJavikVI Linux From Scratch 3 06-21-2009 02:09 PM
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 06:30 AM
Coreutils-5.2.1 error LFS 5.1 michaelbhahn Linux From Scratch 8 09-01-2007 01:36 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
now getting error in coreutils test(chapter 6-lfs-5.1.1) linuxbh Linux From Scratch 2 09-16-2004 02:45 AM


All times are GMT -5. The time now is 12:46 PM.

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