LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Help with chapter 6.22 Coreutils - 8.10 in LFS 6.8 (https://www.linuxquestions.org/questions/linux-from-scratch-13/help-with-chapter-6-22-coreutils-8-10-in-lfs-6-8-a-894816/)

adi_30stm 07-31-2011 10:45 PM

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??

druuna 08-01-2011 02:39 AM

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.

adi_30stm 08-01-2011 02:04 PM

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 ...

druuna 08-02-2011 01:20 AM

Hi,
Quote:

Originally Posted by adi_30stm (Post 4430925)
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.

adi_30stm 08-04-2011 01:29 PM

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

druuna 08-04-2011 02:20 PM

Hi,
Quote:

Originally Posted by adi_30stm (Post 4433834)
..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.

adi_30stm 08-05-2011 01:11 AM

Thanx :)

druuna 08-05-2011 02:06 AM

You're welcome :)


All times are GMT -5. The time now is 08:17 PM.