LinuxQuestions.org
Help answer threads with 0 replies.
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-10-2005, 10:58 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Warning on running "make check", 2nd time


Hi folks,

After starting up the FC3 host PC, continued building LFS as follows;

[satimis@localhost ~]$ su -
Password:
[root@localhost ~]# export LFS=/mnt/lfs
[root@localhost ~]# mkdir -p $LFS/{proc,sys}
[root@localhost ~]# mount -t proc proc $LFS/proc
[root@localhost ~]# mount -t sysfs sysfs $LFS/sys
[root@localhost ~]# mount -f -t ramfs ramfs $LFS/dev
[root@localhost ~]# mount -f -t tmpfs tmpfs $LFS/dev/shm
[root@localhost ~]# mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts

All went through without complaint

[root@localhost ~]# chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin /tools/bin/bash --login +h
root:/#

6.8. Populating /dev
http://www.sg.linuxfromscratch.org/l...6/devices.html

root:/# mknod -m 600 /dev/console c 5 1
mknod: `/dev/console': File exists
root:/# mknod -m 666 /dev/null c 1 3
mknod: `/dev/null': File exists
root:/# mount -n -t ramfs none /dev
root:/# /tools/sbin/udevstart
root:/# ln -s /proc/self/fd /dev/fd
root:/# ln -s /proc/self/fd/0 /dev/stdin
root:/# ln -s /proc/self/fd/1 /dev/stdout
root:/# ln -s /proc/self/fd/2 /dev/stderr
root:/# ln -s /proc/kcore /dev/core
root:/# mkdir /dev/ptsmkdir /dev/pts
root:/# mkdir /dev/shm
root:/# mount -t devpts -o gid=4,mode=620 none /dev/pts
root:/# mount -t tmpfs none /dev/shm

All went through without complaint.

6.11. Glibc-2.3.4-20040701
http://www.sg.linuxfromscratch.org/l...r06/glibc.html

(Remark: before already untared on 12) 5.8. Glibc-2.3.4-20040701)
root:/# cd sources/glibc-build/
root:/sources/glibc-build# mkdir ../glibc-build
mkdir: cannot create directory `../glibc-build': File exists
root:/sources/glibc-build# cd ../glibc-build
root:/sources/glibc-build# ../glibc-2.3.4-20040701/configure --prefix=/usr --disable-profile --enable-add-ons=nptl --with-tls --with-__thread --enable-kernel=2.6.0 --without-cvs --libexecdir=/usr/lib/with-headers=/tools/glibc-kernheaderglibc
root:/sources/glibc-build# make

Went through without complaint

root:/sources/glibc-build# make check
.....
....
make[2]: *** [/sources/glibc-build/nptl/tst-cancel17.out] Error 1
make[2]: Leaving directory `/sources/glibc-2.3.4-20040701/nptl'
make[1]: *** [nptl/tests] Error 2
make[1]: Leaving directory `/sources/glibc-2.3.4-20040701'
make: *** [check] Error 2

Please advise whether I have to recompile it again. This is the second round I did.

TIA

B.R.
satimis
 
Old 07-10-2005, 11:36 PM   #2
freegianghu
Member
 
Registered: Oct 2004
Location: somewhere in the street
Distribution: Window$
Posts: 192

Rep: Reputation: 30
Have you ever patched glibc test? I think, you should do(at current stage):
Code:
# cd /sources/glibc-2.3.4-20040701
# patch -Np1 -i ../glibc-2.3.5-fix_test-1.patch
# cd ../glibc-build
# make check
Good luck,
Giang Hu.
 
Old 07-10-2005, 11:48 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi freegianghu,

Tks for your advice.

Quote:
Have you ever patched glibc test? I think, you should do(at current stage):
Code:
# cd /sources/glibc-2.3.4-20040701
# patch -Np1 -i ../glibc-2.3.5-fix_test-1.patch
# cd ../glibc-build
# make check
# ls -a /mnt/lfs/sources/glibc-2.3.4-20040701 | grep glibe*
[root@localhost ~]# ls -a /mnt/lfs/sources/glibc-2.3.4-20040701 | grep glibe-*
[root@localhost ~]# ls -a /mnt/lfs/sources/glibc-2.3.4-20040701 | grep glibe-2.3.5-*

All no printout. Where can I get this patch file. TIA

B.R.
satimis
 
Old 07-11-2005, 12:03 AM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi freegianghu,

Sorry for my typing mistake,

Quote:
[b]# ls -a /mnt/lfs/sources/glibc-2.3.4-20040701 | grep glibe*
[root@localhost ~]# ls -a /mnt/lfs/sources/glibc-2.3.4-20040701 | grep glibe-*
[root@localhost ~]# ls -a /mnt/lfs/sources/glibc-2.3.4-20040701 | grep glibe-2.3.5-*/B]
[root@localhost ~]# ls -al /mnt/lfs/sources/glibc-2.3.4-20040701 | grep glibc-*
[root@localhost ~]# ls -al /mnt/lfs/sources/glibc-2.3.4-20040701/ | grep glibc-*

Still I could not find this patch in the directory.

B.R.
satimis
 
Old 07-11-2005, 02:34 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi freegianghu,

From;
http://www.sg.linuxfromscratch.org/p...wnloads/glibc/
download "glibc-2.3.2-test_lfs-1.patch"

# cp /path/to/glibc-2.3.2-test_lfs-1.patch /mnt/lfs/sources/glibc-2.3.4-20040701

root:/sources/glibc-build# cd /sources/glibc-2.3.4-20040701
root:/sources/glibc-2.3.4-20040701# patch -Np1 -i ../glibc-2.3.5-fix_test-1.patch
patch: **** Can't open patch file ../glibc-2.3.5-fix_test-1.patch : No such file or directory
root:/sources/glibc-2.3.4-20040701# patch -Np1 -i glibc-2.3.5-fix_test-1.patch
patching file nptl/tst-cancel17.c
# cd ../glibc-build/
root:/sources/glibc-build# make check
Code:
....
...
make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1
make[1]: Leaving directory `/sources/glibc-2.3.4-20040701'
make: *** [check] Error 2
Warning still existed.

B.R.
satimis
 
Old 07-11-2005, 02:45 AM   #6
freegianghu
Member
 
Registered: Oct 2004
Location: somewhere in the street
Distribution: Window$
Posts: 192

Rep: Reputation: 30
Quote:
Originally posted by satimis
Hi freegianghu,

From;
http://www.sg.linuxfromscratch.org/p...wnloads/glibc/
download "glibc-2.3.2-test_lfs-1.patch"

# cp /path/to/glibc-2.3.2-test_lfs-1.patch /mnt/lfs/sources/glibc-2.3.4-20040701

root:/sources/glibc-build# cd /sources/glibc-2.3.4-20040701
root:/sources/glibc-2.3.4-20040701# patch -Np1 -i ../glibc-2.3.5-fix_test-1.patch
patch: **** Can't open patch file ../glibc-2.3.5-fix_test-1.patch : No such file or directory // you hadnt patched yet
root:/sources/glibc-2.3.4-20040701# patch -Np1 -i glibc-2.3.5-fix_test-1.patch
patching file nptl/tst-cancel17.c
# cd ../glibc-build/
root:/sources/glibc-build# make check
Code:
....
...
make[1]: *** [/sources/glibc-build/c++-types-check.out] Error 1 // it seems you have an other problem :(
make[1]: Leaving directory `/sources/glibc-2.3.4-20040701'
make: *** [check] Error 2
Warning still existed.

B.R.
satimis
 
Old 07-11-2005, 03:08 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi freegianghu,


Quote:
root:/sources/glibc-2.3.4-20040701# patch -Np1 -i ../glibc-2.3.5-fix_test-1.patch
patch: **** Can't open patch file ../glibc-2.3.5-fix_test-1.patch : No such file or directory
// you hadnt patched yet
Sorry I still could not proceed. I tried again and copied and pasted the suggested command on Konsole with the same result.

root:/sources/glibc-2.3.4-20040701# patch -Np1 -i ../glibc-2.3.5-fix_test-1.patch
patch: **** Can't open patch file ../glibc-2.3.5-fix_test-1.patch : No such file or directory

The patch file was there.
ls -al ../glibc-2.3.4-20040701 | grep glibc-*
-rw-r--r-- 1 root root 1074 Jul 11 07:14 glibc-2.3.5-fix_test-1.patch

Whether I have to run
# chmod +x glibc-2.3.5-fix_test-1.patch

B.R.
satimis
 
Old 07-11-2005, 03:25 AM   #8
freegianghu
Member
 
Registered: Oct 2004
Location: somewhere in the street
Distribution: Window$
Posts: 192

Rep: Reputation: 30
Quote:
Originally posted by satimis
Hi freegianghu,

The patch file was there.
ls -al ../glibc-2.3.4-20040701 | grep glibc-*
-rw-r--r-- 1 root root 1074 Jul 11 07:14 glibc-2.3.5-fix_test-1.patch

Whether I have to run
# chmod +x glibc-2.3.5-fix_test-1.patch

B.R.
satimis
I see, you had copied glibc-2.3.5-fix_test-1.patch to wrong place . Patch command like:
Code:
patch -Np1 -i glibc-2.3.5-fix_test-1.patch
 
Old 07-11-2005, 03:46 AM   #9
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi freegianghu,

Tks for your advice.

Quote:
.....Patch command like:
Code:
patch -Np1 -i glibc-2.3.5-fix_test-1.patch
I ran it before.

root:/sources/glibc-2.3.4-20040701# patch -Np1 -i glibc-2.3.5-fix_test-1.patch
patching file nptl/tst-cancel17.c

I ran following command the 2nd time
# cd ../glibc-build/
root:/sources/glibc-build# make check

To my surprise this time no error indicated;
Code:
....
....
make[4]: Leaving directory `/sources/glibc-2.3.4-20040701/nptl'
make -C ../posix objdir=/sources/glibc-build -f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-uname.os rtld-_exit.os rtld-getpid.os rtld-environ.os'
make[4]: Entering directory `/sources/glibc-2.3.4-20040701/posix'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/sources/glibc-2.3.4-20040701/posix'
make -C ../setjmp objdir=/sources/glibc-build -f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-bsd-_setjmp.osrtld-__longjmp.os'
make[4]: Entering directory `/sources/glibc-2.3.4-20040701/setjmp'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/sources/glibc-2.3.4-20040701/setjmp'
make -C ../signal objdir=/sources/glibc-build -f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-sigaction.os'
make[4]: Entering directory `/sources/glibc-2.3.4-20040701/signal'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/sources/glibc-2.3.4-20040701/signal'
make -C ../stdlib objdir=/sources/glibc-build -f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-exit.os rtld-cxa_atexit.os'
make[4]: Entering directory `/sources/glibc-2.3.4-20040701/stdlib'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/sources/glibc-2.3.4-20040701/stdlib'
make -C ../string objdir=/sources/glibc-build -f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-strchr.os rtld-strcmp.os rtld-strlen.os rtld-strnlen.os rtld-memchr.os rtld-memmove.os rtld-memset.os rtld-mempcpy.os rtld-stpcpy.os rtld-memcpy.os'
make[4]: Entering directory `/sources/glibc-2.3.4-20040701/string'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/sources/glibc-2.3.4-20040701/string'
make -C ../time objdir=/sources/glibc-build -f Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-setitimer.os'
make[4]: Entering directory `/sources/glibc-2.3.4-20040701/time'
make[4]: Nothing to be done for `rtld-all'.
make[4]: Leaving directory `/sources/glibc-2.3.4-20040701/time'
make[3]: Leaving directory `/sources/glibc-2.3.4-20040701/elf'
make[2]: Leaving directory `/sources/glibc-2.3.4-20040701/elf'
make[1]: Leaving directory `/sources/glibc-2.3.4-20040701'
B.R.
satimis
 
  


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
KDE - please check that the "DCOPserver" program is running Thanotos Linux - Newbie 2 11-27-2006 06:11 PM
Warning on running "find" command satimis Linux From Scratch 1 08-06-2005 11:45 AM
Warning on running "make check" satimis Linux From Scratch 1 07-09-2005 09:21 PM
WARNING message when "make modules_install" wakjoko Linux - Hardware 3 01-29-2005 07:39 AM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 12:24 AM

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

All times are GMT -5. The time now is 08:11 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