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 |
Have you ever patched glibc test? I think, you should do(at current stage):
Code:
# cd /sources/glibc-2.3.4-20040701 Giang Hu. |
Hi freegianghu,
Tks for your advice. Quote:
[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 |
Hi freegianghu,
Sorry for my typing mistake, Quote:
[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 |
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:
.... B.R. satimis |
Quote:
|
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 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 |
Quote:
Code:
patch -Np1 -i glibc-2.3.5-fix_test-1.patch |
Hi freegianghu,
Tks for your advice. Quote:
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:
.... satimis |
All times are GMT -5. The time now is 09:17 PM. |