On Sat, Aug 16, 2014 at 12:41 PM, Michael Havens <[email protected]> wrote:
> cool! I was watching the text scroll by and noticed a red 'fail'. I tried
> to go up to the 'fail' but the terminal wouldn't let me (every time a new
> line appeared it would go to the bottom) and by the time it had finished
> the 'fail' was way past the buffer. I need to know if the following (the
> commands you are supposed to enter with the package) plus my modifications
> ('>>' and 'cat {*.fail}|grep fail') will reveal what failed so I can google
> it.
> --snip--
>
okay, I modified my script a little (see below) and it seemed to run but
the red fail didn't seem to come up in the grep command (see bottom). So
everything is good now? If so that begs the question as to why everything
is good now. does compiling something twice sometimes 'fix' it?
FORCE_UNSAFE_CONFIGURE=1 ./configure \
--prefix=/usr \
--enable-no-install-program=\
kill,uptime>>config.fail
make >>make.fail
make NON_ROOT_USERNAME=nobody check-root>>check.fail
echo "dummy:x:1000:nobody" >> /etc/group
chown -Rv nobody .
su nobody -s /bin/bash \
-c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes /
check">>test.fail
sed -i '/dummy/d' /etc/group
make install>>install.fail
mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin
mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin
mv -v /usr/bin/{rmdir,stty,sync,true,uname,test,[} /bin
mv -v /usr/bin/chroot /usr/sbin
mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8
mv -v /usr/bin/{head,sleep,nice} /bin
cat {config,make,test,install}.fail|grep fail
root:/sources/coreutils-8.22# cat {config,make,test,install}.fail|grep fail
checking whether unlink of a parent directory fails as it should...
guessing yes
checking whether unlink of a parent directory fails as it should...
(cached) guessing yes
CC lib/exitfail.o
root:/sources/coreutils-8.22#
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page