Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161332 - net-mail/lbdb - lbdbq script not compatible with sort(1)
Summary: net-mail/lbdb - lbdbq script not compatible with sort(1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on: 161400
Blocks:
  Show dependency tree
 
Reported: 2007-01-10 15:06 UTC by Bart Van Loon
Modified: 2007-02-25 14:26 UTC (History)
0 users

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


Attachments
patch that solves the issue (lbdb.fix-sort,266 bytes, patch)
2007-01-10 15:07 UTC, Bart Van Loon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Van Loon 2007-01-10 15:06:12 UTC
after installing net-mail/lbdb, the included script /usr/bin/lbdbq never returns any results and even ends with an error. the reason is that the calls to 

sort -f +1
and
sort -f +2

which results in

sort: open failed: +1: No such file or directory
and
sort: open failed: +2: No such file or directory

it should be

sort -f -k 1
and
sort -f -k 2
Comment 1 Bart Van Loon 2007-01-10 15:07:14 UTC
Created attachment 106374 [details, diff]
patch that solves the issue
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2007-01-10 20:45:19 UTC
This was fixed in lbdb-0.32:
"Change sort(1) syntax to cope with new versions of coreutils"

0.34 should be stable soon (see bug #161400)
Comment 3 Bart Van Loon 2007-02-25 14:26:07 UTC
this got fixed with the new lbdb ebuild.

thanks guys!