coreutils-6.10

Greg Schafer diy-linux-dev@diy-linux.org
Mon, 4 Feb 2008 10:12:42 +1100


Hi List,

I'm looking at getting latest Coreutils into the Refbuild.. Some changes
will be necessary:

 - no more bz2 tarball (bad move IMHO) only lzma and gz. We'll use the gz.

 - `su' and `hostname' no longer installed by default. Can still install
   them by passing `--enable-install-program=hostname,su' which is what I'll
   do initially to maintain the status quo.

 - there's a Makefile bug that causes failure when installing `su'. Upstream
   have already fixed it. I'll use this sed:

     sed -i.bak 's/installed_su)\t/installed_su);\t/' src/Makefile.in

 - some programs can now be disabled by default which means we can lose the
   current hacks and instead pass `--enable-no-install-program=kill,uptime'

 - the gnulib component now comes with its own testsuite. The first problem
   is the `test-getaddrinfo' test which tries to resolv domain names and
   fails due to lack of /etc/resolv.conf in the chroot. I'll just disable
   this test for now with a sed:

     sed -i.bak 's/test-getaddrinfo\$(EXEEXT) //' gnulib-tests/Makefile.in

   the second problem occurs when we build as root (LFS style) then run the
   testsuite as the dummy user. It craps out with a permissions error that
   can be fixed with this sed (after make):

     chown -v dummy gnulib-tests/.deps

 - `mktemp' is now provided by Coreutils and cannot easily be disabled due
   to it being an integral part of the testsuite. For now I'll just drop
   `mktemp' from Debianutils with a possible view to dropping Debianutils
   entirely in the future.

 - When using `--enable-install-program=hostname,su' the Temptools Perl
   requires the "POSIX" module. Note - LFS has been installing this module
   (unnecessarily?) for years. It used to be required only when building
   Coreutils from CVS or maybe some pre-releases.

 - However, there is another problem related to the above. Coreutils
   testsuite now fails due to missing Perl "Errno" module.  This module
   appears to be different to the others and cannot be installed in the same
   way. For now, I've just taken the soft option and installed a full Perl
   in the Temptools phase. This is less than satisfactory so I challenge
   anyone to come up with a solution.

That's all I can think of for now.

Regards
Greg