LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   glibc-2.3.3 in chapter 6 error (https://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-2-3-3-in-chapter-6-error-198397/)

znif 06-26-2004 02:12 PM

Chapter 6 glibc-2.3.3 make install error
 
Very funny. What wrong now???
Code:

make[2]: *** [/usr/share/zoneinfo/Africa/Algiers] Error 1
make[2]: Leaving directory `/sources/glibc-2.3.3-lfs-5.1/timezone'
make[1]: *** [timezone/subdir_install] Error 2
make[1]: Leaving directory `/sources/glibc-2.3.3-lfs-5.1'
make: *** [install] Error 2

Cant see anything interesting in file Africa.

edit: make check givin errors:

Code:

make[2]: *** [/sources/glibc-build/posix/wordexp-test.out] Error 1
make[2]: Leaving directory `/sources/glibc-2.3.3-lfs-5.1/posix'
make[1]: *** [posix/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.3.3-lfs-5.1'
make: *** [check] Error 2

and stdio-common/scanf4.out Error 134
and some ...tst-attr1.out Error1

Where I made mistake? No errors before that at all.

znif 06-26-2004 04:28 PM

Cant understand anything now... I've read some forums and waste some time, then tryed install glibc again - all just same way like before - and now all ok, no errors. I even didnt type commands, just using konsole memory (I mean up-arrow key)...

Can sum1 explain me what happen?

________
edit:

One thing was diffeent - I didnt make check - is that tha difference?

vegpl 06-26-2004 04:52 PM

about the second and third error do you have /dev/null and /dev/console? did you run the make_devices script?

Open up wordexp-test.out and check what test failed.

znif 06-26-2004 05:32 PM

I made all just like in book - so I must have /dev/null (thats right - checked) but no /dev/console.

Where can I find tha wordexp-test.out???

vegpl 06-26-2004 07:36 PM

It seems like you aren't following the book because you did a make check when make install gave you an error.

For the last two errors when I did a make check on my first attemp at LFS I had Slackware 9.1 with kernel 2.6.6 so that could have caused it but most probably I skipped a step or something most likely dealing with the make_devices script.

A few days ago when I compiled glibc all was well and make check gave no errors but I was a lot more causious and I'm now on slackware 10 with kernel 2.4.26 (i think).

According to you're error, wordexp is in /sources/glibc-build/posix/wordexp-test.out

znif 06-27-2004 04:48 PM

glibc-2.3.3 in chapter 6 error (loop)
 
When giving command 'make', the program start loopng with that error:

Code:

make[1]: Warning: File `/usr/include/linux/limits.h' has modification time 1.6e+05 s in the future
Whats wrong now?

znif 06-27-2004 07:47 PM

Well, that error not anymore, now making glibc tests. Is that error critical:

make[2]: *** [/sources/glibc-build/posix/wordexp-test.out] Error 1
make[2]: Leaving directory `/sources/glibc-2.3.3-lfs-5.1/posix'
make[1]: *** [posix/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.3.3-lfs-5.1'
make: *** [check] Error 2

znif 06-27-2004 07:52 PM

Failed tests:

Test 14 ($(echo :abc:)): FAILED
Test words: <$(echo :abc:)>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 15 ($(echo :abc:\ )): FAILED
Test words: <$(echo :abc:\ )>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 16 ($(echo :abc\ )): FAILED
Test words: <$(echo :abc\ )>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 17 ($(echo $var)): FAILED
Test words: <$(echo $var)>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 19 ($(echo :abc:)def): FAILED
Test words: <$(echo :abc:)def>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 20 ($(echo abc:de)f): FAILED
Test words: <$(echo abc:de)f>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 21 ($(echo abc:de)f:ghi): FAILED
Test words: <$(echo abc:de)f:ghi>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 22 (abc:d$(echo ef:ghi)): FAILED
Test words: <abc:d$(echo ef:ghi)>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 23 ($var$(echo def:ghi)): FAILED
Test words: <$var$(echo def:ghi)>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 24 ($var$(echo ef:ghi)): FAILED
Test words: <$var$(echo ef:ghi)>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 25 ($(echo abc:)$var): FAILED
Test words: <$(echo abc:)$var>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 26 ($(echo abc:d)$var): FAILED
Test words: <$(echo abc:d)$var>, need retval 0, wordc 3
Got retval 5, wordc 99:
Test 39 ($(echo hello)): FAILED
Test words: <$(echo hello)>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 40 ($( (echo hello) )): FAILED
Test words: <$( (echo hello) )>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 41 ($((echo hello);(echo there))): FAILED
Test words: <$((echo hello);(echo there))>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 42 (`echo one two`): FAILED
Test words: <`echo one two`>, need retval 0, wordc 2
Got retval 5, wordc 99:
Test 43 ($(echo ')')): FAILED
Test words: <$(echo ')')>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 44 ($(echo hello; echo)): FAILED
Test words: <$(echo hello; echo)>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 45 (a$(echo b)c): FAILED
Test words: <a$(echo b)c>, need retval 0, wordc 1
Got retval 5, wordc 99: Test 76 (${var%$(echo oni)}): FAILED
Test words: <${var%$(echo oni)}>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 95 ("$(echo hello there)"): FAILED
Test words: <"$(echo hello there)">, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 96 ("$(echo "hello there")"): FAILED
Test words: <"$(echo "hello there")">, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 97 (${var=one two} "$var"): OK
Test 98 ($(( $(echo 3)+$var ))): FAILED
Test words: <$(( $(echo 3)+$var ))>, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 99 ("$(echo "*")"): FAILED
Test words: <"$(echo "*")">, need retval 0, wordc 1
Got retval 5, wordc 99:
Test 100 ("a

$(echo)b"): FAILED
Test words: <"a

$(echo)b">, need retval 0, wordc 1
Got retval 5, wordc 99:

What was wrong? How correct these mistakes?

znif 06-27-2004 07:58 PM

I made all just like in book was written. I tryed couple of times, thats why u can think so - with and without check.

I have SuSE 9.1 - is there some problems?

make_devices script? I run command like in book:

bzcat make_devices-1.2.bz2 > /dev/make_devices
chmod 754 /dev/make_devices

Do I need edit make_devices file? I didnt do anything with it.

Error:
Code:

ake[2]: *** [/sources/glibc-build/stdio-common/scanf4.out] Error 134
make[2]: Leaving directory `/sources/glibc-2.3.3-lfs-5.1/stdio-common'
make[1]: *** [stdio-common/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.3.3-lfs-5.1'
make: *** [check] Error 2

About /dev/null and /dev/console - I have /dev/null but there no /dev/console. Why? How can I make one?

Well-well - I didn't made devices ;)

znif 06-27-2004 08:01 PM

Is that test 'gettext'? In book I can read:
The gettext test sometimes fails due to host system issues. The exact reasons are not yet clear.

znif 06-27-2004 08:19 PM

More errors in linuxthreads tests. tst-attr1.out:

thread stack 0xbf601000-0xbf800000 (0x1ff000)
thread guardsize 4096
thread stack 0xbf601000-0xbf800000 (0x1ff000)
thread guardsize 4096
thread stack 0xbf610000-0xbf800000 (0x1f0000)
thread guardsize 65536

(Cant see anything readable here) What now? And how to make these tests again?

trickykid 06-28-2004 07:15 AM

I merged your two threads regarding glibc installation into one thread, we don't need multiple threads covering pretty much the same ongoing issue. Regards.


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