LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-19-2005, 04:14 PM   #1
jobesd
LQ Newbie
 
Registered: Nov 2001
Posts: 29

Rep: Reputation: 15
Question help? gettext fails test under chroot env


If I am logged in under chroot in chap 6.3.0 I get this garbage. However,
If I am logged in under my host and run the make check it passes.


Why?
what is going on here?
Am I missing a dependancy to run this test thats not in my tools dir?

I ctrl c to get out of the test so it's not all here.




root:/sources/gettext-0.14.1# make check
Making check in autoconf-lib-link
make[1]: Entering directory `/sources/gettext-0.14.1/autoconf-lib-link'
Making check in m4
make[2]: Entering directory `/sources/gettext-0.14.1/autoconf-lib-link/m4'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/sources/gettext-0.14.1/autoconf-lib-link/m4'
Making check in tests
make[2]: Entering directory `/sources/gettext-0.14.1/autoconf-lib-link/tests'
make check-TESTS
make[3]: Entering directory `/sources/gettext-0.14.1/autoconf-lib-link/tests'
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Read 9728 bytes from -
tar: Error exit delayed from previous errors
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Read 9728 bytes from -
tar: Error exit delayed from previous errors
make[4]: *** No rule to make target `check'. Stop.
FAIL: rpath-1a
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Read 9728 bytes from -
tar: Error exit delayed from previous errors
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Read 9728 bytes from -
tar: Error exit delayed from previous errors
FAIL: rpath-1b
./rpath-2_a: line 19: cd: tstdir/rp2aaa-build1: No such file or directory
./rpath-2_a: line 20: cd: tstdir/rp2aaa-build1: No such file or directory
./rpath-2_a: line 32: cd: tstdir/rp2aaa-build2: No such file or directory
./rpath-2_a: line 33: cd: tstdir/rp2aaa-build2: No such file or directory
./rpath-2_a: line 45: cd: tstdir/rp2aaa-build3: No such file or directory
./rpath-2_a: line 46: cd: tstdir/rp2aaa-build3: No such file or directory
make[5]: *** [check-TESTS] Interrupt
make[4]: *** [check-am] Interrupt
FAIL: rpath-2aaa
./rpath-2_a: line 20: cd: tstdir/rp2aab-build1: No such file or directory
./rpath-2_a: line 32: cd: tstdir/rp2aab-build2: No such file or directory
./rpath-2_a: line 33: cd: tstdir/rp2aab-build2: No such file or directory
./rpath-2_a: line 45: cd: tstdir/rp2aab-build3: No such file or directory
./rpath-2_a: line 46: cd: tstdir/rp2aab-build3: No such file or directory
make[5]: *** [check-TESTS] Interrupt
make[4]: *** wait: No child processes. Stop.
make[4]: *** Waiting for unfinished jobs....
make[4]: *** wait: No child processes. Stop.
FAIL: rpath-2aab
./rpath-2_a: line 19: cd: tstdir/rp2aac-build1: No such file or directory
./rpath-2_a: line 20: cd: tstdir/rp2aac-build1: No such file or directory
./rpath-2_a: line 32: cd: tstdir/rp2aac-build2: No such file or directory
./rpath-2_a: line 33: cd: tstdir/rp2aac-build2: No such file or directory
./rpath-2_a: line 45: cd: tstdir/rp2aac-build3: No such file or directory
./rpath-2_a: line 45: 2069 Broken pipe tar cf - *
./rpath-2_a: line 46: cd: tstdir/rp2aac-build3: No such file or directory
make[4]: *** [check-am] Interrupt
FAIL: rpath-2aac
./rpath-2_a: line 20: cd: tstdir/rp2aad-build1: No such file or directory
./rpath-2_a: line 32: cd: tstdir/rp2aad-build2: No such file or directory
./rpath-2_a: line 33: cd: tstdir/rp2aad-build2: No such file or directory
./rpath-2_a: line 45: cd: tstdir/rp2aad-build3: No such file or directory
./rpath-2_a: line 46: cd: tstdir/rp2aad-build3: No such file or directory
make[5]: *** [check-TESTS] Interrupt
make[4]: *** [check-am] Interrupt
FAIL: rpath-2aad
tar: This does not look like a tar archive
tar: Skipping to next header
./rpath-2_b: line 28: cd: tstdir/rp2aba-build1: No such file or directory
tar: -: Cannot read
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
./rpath-2_b: line 54: cd: tstdir/rp2aba-build3: No such file or directory
FAIL: rpath-2aba
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Read 9728 bytes from -
tar: Error exit delayed from previous errors
tar: This does not look like a tar archive
tar: Skipping to next header
./rpath-2_b: line 41: cd: tstdir/rp2abb-build2: No such file or directory
tar: -: Cannot read
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
make[4]: *** No rule to make target `check'. Stop.
FAIL: rpath-2abb
make[3]: *** [check-TESTS] Interrupt
make[2]: *** [check-am] Interrupt
make[1]: *** [check-recursive] Interrupt
make: *** [check-recursive] Interrupt


Jobesd
 
Old 01-19-2005, 04:20 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
maybe a tar problem with the temporary system tar? it passed when you ran it under your host so i'd say the gettext build is ok.
 
Old 01-19-2005, 07:13 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If the test fails in chroot but passes in the host environment it means you've compiled it linked to libraries on your host system. It won't work when you reboot into LFS.
It does look as though it's tar that has the problem and not gettext.
Start again and follow the book. Isolate your build environment from your host system.
 
  


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
etc of the host changes while working in chroot env sharmashikha Linux From Scratch 3 06-15-2005 12:20 PM
Gettext test froze my system...Now I cant find anything!!!!!!!!!!!!!!!! matthewa Linux From Scratch 3 06-04-2005 04:26 PM
intaling GCC-3.3.3. in chroot env FAILS tests xtrem Linux From Scratch 1 02-18-2005 12:24 PM
horde screen blank, test.php says gettext = no posixjunkie Linux - Software 1 06-21-2004 09:49 PM
chroot problem (thinks 'env' is a directory) d33pdream Linux - General 1 02-23-2003 02:11 PM

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

All times are GMT -5. The time now is 08:44 AM.

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