From 615a56582820d63d362a15e3f9130a68c1766df2 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Thu, 7 Feb 2008 19:47:39 +0000 Subject: Upgrade to Coreutils-6.10. Fixes #2133. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8470 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/coreutils.xml | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'chapter06/coreutils.xml') diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 3d8288366..3d7be3c19 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -41,12 +41,6 @@ Installation of Coreutils - The version of the function futimens used - by Coreutils is incompatible with the version that current - Glibc provides, so we'll rename the function: - -sed -i 's/futimens/gl_&/' src/{copy,touch}.c lib/utimens.{c,h} - A known issue with the uname program from this package is that the -p switch always returns unknown. The following patch @@ -54,11 +48,6 @@ patch -Np1 -i ../&coreutils-uname-patch; - Prevent Coreutils from installing binaries that will be installed by - other packages later: - -patch -Np1 -i ../&coreutils-suppress-patch; - POSIX requires that programs from Coreutils recognize character boundaries correctly even in multibyte locales. The following patch fixes this non-compliance and other internationalization-related bugs: @@ -78,7 +67,20 @@ Now prepare Coreutils for compilation: -./configure --prefix=/usr +./configure --prefix=/usr --enable-install-program=hostname --enable-no-install-program=kill + + + The meaning of the configure options: + + + --enable-no-install-program=kill + + The purpose of this switch is to prevent Coreutils from + installing binaries that will be installed by other packages later. + + + + Compile the package: @@ -100,6 +102,11 @@ echo "dummy:x:1000:nobody" >> /etc/group + Fix some of the permissions so that the non-root user can compile and + run the tests: + +chown -v nobody gnulib-tests/.deps + Now run the tests: su-tools nobody -s /bin/bash -c "make RUN_EXPENSIVE_TESTS=yes check" -- cgit v1.2.3-54-g00ecf