Opened 21 years ago

Closed 18 years ago

#509 closed defect (fixed)

coreutils-5.93

Reported by: gerard@… Owned by: Matthew Burgess
Priority: normal Milestone:
Component: Book Version: SVN
Severity: normal Keywords:
Cc: billyoc@…, wes@…, petri.koistinen@…

Description

Change History (26)

comment:1 by gerard@…, 21 years ago

dependson: 30

comment:2 by gerard@…, 21 years ago

Status: newassigned

comment:3 by gerard@…, 21 years ago

Resolution: fixed
Status: assignedclosed

comment:4 by tushar@…, 21 years ago

Cc: wes@… added

comment:5 by tushar@…, 21 years ago

* Bug 575 has been marked as a duplicate of this bug. *

comment:6 by gerard@…, 20 years ago

dependson: 30

comment:7 by Matthew Burgess, 20 years ago

Priority: highestnormal
Resolution: fixed
Status: closedreopened
Summary: coreutils-5.0coreutils-5.2.0

Version increment (5.2.0)

comment:8 by Matthew Burgess, 20 years ago

Cc: billyoc@… added

comment:9 by Matthew Burgess, 20 years ago

* Bug 780 has been marked as a duplicate of this bug. *

comment:10 by petri.koistinen@…, 20 years ago

Status: reopenedassigned

Version increment (5.2.1)

ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.bz2 (4.1MB)

  • Major changes in release 5.2.1 (2004-03-12) [stable]

Bug fixes

mv could mistakenly fail to preserve hard links when moving two or more arguments between partitions.

`cp --sparse=always F /dev/hdx' no longer tries to use lseek to create holes in the destination.

nohup now sets the close-on-exec flag for its copy of the stderr file descriptor. This avoids some nohup-induced hangs. For example, before this change, if you ran ssh localhost', then nohup sleep 600 </dev/null &', and then exited that remote shell, the ssh session would hang until the 10-minute sleep terminated. With the fixed nohup, the ssh session terminates immediately.

`expr' now conforms to POSIX better:

Integers like -0 and 00 are now treated as zero.

The `|' operator now returns 0, not its first argument, if both arguments are null or zero. E.g., `expr "" \| ""' now returns 0, not the empty string.

The |' and &' operators now use short-circuit evaluation, e.g., `expr 1 \| 1 / 0' no longer reports a division by zero.

New features

`chown user.group file' now has its traditional meaning even when conforming to POSIX 1003.1-2001, so long as no user has a name containing .' that happens to equal user.group'.

comment:11 by petri.koistinen@…, 20 years ago

Cc: petri.koistinen@… added

comment:12 by Matthew Burgess, 20 years ago

Status: assignednew
Summary: coreutils-5.2.0coreutils-5.2.1

comment:13 by Matthew Burgess, 20 years ago

Resolution: fixed
Status: newclosed

Fixed in newxml

comment:14 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: closedreopened
Summary: coreutils-5.2.1coreutils-5.92
Version: CVSSVN

Version increment (5.92). Loads of bug fixes and new features (566 lines in NEWS!), including the `echo' syntax change that we're currently using a patch for.

comment:15 by Matthew Burgess, 19 years ago

Owner: changed from lfs-book@… to Matthew Burgess
Status: reopenednew

comment:16 by Matthew Burgess, 19 years ago

Status: newassigned

comment:17 by alexander@…, 19 years ago

From DIY-Linux:

Hi Guys

There is a new release (5.92) of Coreutils up on ftp.gnu.org.

A quick test reveals there could be a problem with the installation of the locales ie: they end up in / instead of /usr/share.

A quick workaround is to install like this:

make DESTDIR=$PM_DEST datarootdir=/usr/share install

I'll investigate this further...

From perusing the changes in this release some other things will need investigation:

  1. "uname -a no longer generates the -p and -i outputs if they are unknown"

ie: uname -a gives output like this

Linux tigers 2.6.13 #1 SMP Mon Aug 29 13:31:53 EST 2005 i686 GNU/Linux

Therefore, I might drop the current Coreutils uname hacHHH patch... maybe.

  1. "Bring back support for head -NUM', tail -NUM', etc. even when

conforming to POSIX 1003.1-2001."

This means we may be able to get rid of the current DEFAULT_POSIX2_VERSION tweak. I'll look into it and test...

Regards Greg

comment:18 by alexander@…, 19 years ago

The i18n patch fails => UTF-8 book has to use old version until RedHat updates the patch

comment:19 by Matthew Burgess, 19 years ago

Alexander, thanks for forwarding that message on. I've already got as far as the end of chapter 5 with this. Like Greg, I've started testing by removing the DEFAULT_POSIX2_VERSION. I brought up the issue of the uname change on list earlier on this month, and it was decided that we should still stick with the patch. I should be able to report full test/installation results later this week.

Regards,

Matt.

comment:20 by Matthew Burgess, 19 years ago

Here's my notes so far:

1) Both patches need updating so they apply to this version of the sources. I've uploaded my attempts to http://www.linuxfromscratch.org/~matthew/coreutils/ 2) 'su' apparently doesn't like working if the user you're `su'ing to doesn't have a home directory. Adding a home directory '/root' to the 'dummy' entry in /etc/passwd appears to work fine. 3) The coreutils testsuite now relies on Data/Dumper.pm from Perl. Chapter 5's Perl therefore needs changing to:

./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX Data'

I've not managed to test that last change yet, so it may not be enough, and there may be other bits and pieces missing (and 5.92 may cause problems further on in the build). I'm just putting this out there so someone else may be able to have a crack at this stuff.

Cheers,

Matt.

comment:21 by jim@…, 19 years ago

Added the patches to the repo so people can test them. Renamed the uname-2 to uname-1 since it's the first uname patch of 5.92 series.

comment:22 by Matthew Burgess, 19 years ago

OK, chapter 5's now rebuilt with the perl command changed to:

./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX'

Now I've just got chapter 6 to rebuild and this should be good to get in the book.

Meanwhile a few bugs have been reported against 5.92 already. http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00270.html, http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00275.html and http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00268.html. We'll have to see how widespread the effects of these are felt, and how quickly a new release of coreutils might come, before deciding on whether or not we might want to patch any or all of these.

comment:23 by Matthew Burgess, 19 years ago

Chapters 6 and 7 build fine. http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00301.html has another patch that's been applied upstream to fix a backward incompatibility w.r.t. `md5sum'

comment:24 by Matthew Burgess, 19 years ago

Resolution: fixed
Status: assignedclosed

comment:25 by Matthew Burgess, 18 years ago

Resolution: fixed
Status: closedreopened
Summary: coreutils-5.92coreutils-5.93

Version increment (5.93). Fixes the installation of .mo files and the other known bugs in 5.92.

comment:26 by Matthew Burgess, 18 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.