Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 144114

Summary: dev-vcs/cvs-1.12.12-r2 - rcs2log uses obsolete options for sort
Product: Gentoo Linux Reporter: Marc Wathelet <marc>
Component: Current packagesAssignee: Maintainers for cvs, and cvs related tools (the version control system) [OBSOLETE] <cvs-utils+obsolete>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Highest    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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