Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144114 - dev-vcs/cvs-1.12.12-r2 - rcs2log uses obsolete options for sort
Summary: dev-vcs/cvs-1.12.12-r2 - rcs2log uses obsolete options for sort
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Highest normal (vote)
Assignee: Maintainers for cvs, and cvs related tools (the version control system) [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 06:30 UTC by Marc Wathelet
Modified: 2011-01-05 04:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Wathelet 2006-08-16 06:30:55 UTC
Installed cvs version is 1.12.12-r2

When I run rcs2log script, I get:
sort: invalid option -- 4
Try `sort --help' for more information.

Digging into /usr/bin/rcs2log, on line 623, the sort command is using invalid (or obsolete?) options for the sort utility installed by coreutils-5.94-r1.

sort -t"$SOH" +2 -4r +4 +0 |

should be replaced by

sort -t"$SOH" -k 3,4r -k 5 -k 1,2 |

to achive the task explained in the comments located just above.


Marc
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-09-30 16:21:31 UTC
please attach a patch to fix this.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-01-05 04:50:48 UTC
Fixed in cvs-1.12.12-r9