Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
In section 6.18, one of the non-root tests fails. Here is its log.
Code:
FAIL: rm/hash.log (exit: 1)
===========================
+ rm --version
rm (GNU coreutils) 6.12
Copyright (C) 2008 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 Paul Rubin, David MacKenzie, Richard Stallman,
and Jim Meyering.
+ . ./test-lib.sh
++ unset function_test
++ eval 'function_test() { return 11; }; function_test'
+++ function_test
+++ return 11
++ test 11 '!=' 11
+++ pwd
++ test_dir_=/sources/coreutils-6.12/tests
+++ this_test_
+++ echo ././rm/hash
+++ sed 's,.*/,,'
++ this_test=hash
+++ /sources/coreutils-6.12/src/mktemp -d --tmp=/sources/coreutils-6.12/tests cu-hash.XXXXXXXXXX
++ t_=/sources/coreutils-6.12/tests/cu-hash.bsb6LBESh8
++ trap 'st=$?; cleanup_; d=/sources/coreutils-6.12/tests/cu-hash.bsb6LBESh8;
cd /sources/coreutils-6.12/tests && chmod -R u+rwx "$d" && rm -rf "$d" && exit $st' 0
++ trap '(exit $?); exit $?' 1 2 13 15
++ cd /sources/coreutils-6.12/tests/cu-hash.bsb6LBESh8
++ diff --version
++ grep GNU
+ expensive_
+ test yes '!=' yes
+ echo './rm/hash: creating 78 trees, each of depth 153; this will take a while...'
./rm/hash: creating 78 trees, each of depth 153; this will take a while...
++ seq 1 150
++ tr -sc '\n' y
++ tr '\n' /
+ y=y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/
+ for i in 1 2 3
+ for j in a b c d e f g h i j k l m n o p q r s t u v w x y z
+ mkdir -p t/1/a/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/
+ for j in a b c d e f g h i j k l m n o p q r s t u v w x y z
+ mkdir -p t/1/b/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/
NOTE: it executes this command looping thorugh 1-2-3 and all the letters, until it reaches 3-t...
+ for j in a b c d e f g h i j k l m n o p q r s t u v w x y z
+ mkdir -p t/3/s/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/
+ for j in a b c d e f g h i j k l m n o p q r s t u v w x y z
+ mkdir -p t/3/t/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/
mkdir: cannot create directory `t/3/t/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y/y': No space left on device
+ framework_failure
+ error_ 'failure in testing framework'
+ echo './rm/hash: failure in testing framework'
./rm/hash: failure in testing framework
+ exit 1
+ exit 1
+ st=1
+ cleanup_
+ :
+ d=/sources/coreutils-6.12/tests/cu-hash.bsb6LBESh8
+ cd /sources/coreutils-6.12/tests
+ chmod -R u+rwx /sources/coreutils-6.12/tests/cu-hash.bsb6LBESh8
+ rm -rf /sources/coreutils-6.12/tests/cu-hash.bsb6LBESh8
+ exit 1
Unless it was trying to make a really huge directory, that can't be, because I installed eight more packages and I had no problems. And the host says I have like 9 GB free.
I FEEL SO STUPID. That was indeed the problem. Apparently, when I started building the LFS system, I forgot to mount its partition or something and I've been doing everything in the root partition.
If I move the whole $LFS directory to another partition, it should keep working, right?
EDIT: I did, everything seems fine.
Last edited by ReyJavikVI; 06-21-2009 at 09:04 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.