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

Bug 30248

Summary: dep-clean typo (propably)
Product: Portage Development Reporter: Matthias Foerste <matthias.foerste>
Component: UnclassifiedAssignee: Karl Trygve Kalleberg (RETIRED) <karltk>
Status: RESOLVED FIXED    
Severity: normal CC: dharding, FelixWiemannBugs, mholzer, paidhi, tuxus
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthias Foerste 2003-10-03 07:45:03 UTC
there seems to be a typo in the dep-clean script 'sort -u uniq' should probably
be 'sort -u' (causes error message 'sort: open failed: uniq: No such file or
directory', affects ouput)

Reproducible: Always
Steps to Reproduce:
1. $ dep-clean >/dev/null
Comment 1 Daniel Harding 2003-10-05 18:49:12 UTC
Yep.  The script was recently updated to change all occurences of 'sort |
uniq' to 'sort -u', but one line was botched.
Line 152 is
        sort -u uniq \
but should be just
        sort -u \
Comment 2 SpanKY gentoo-dev 2003-11-09 13:10:42 UTC
*** Bug 33095 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2003-11-09 13:10:45 UTC
*** Bug 33065 has been marked as a duplicate of this bug. ***
Comment 4 Felix Wiemann 2003-12-08 07:54:15 UTC
Seems to be fixed in gentoolkit-0.1.36:

"dep-clean > /dev/null" does not produce any output, neither does "grep 'sort -u uniq' /usr/bin/dep-clean".

Does anyone want to set this bug to FIXED, please?
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-12-08 10:49:37 UTC
  10 Nov 2003; Martin Holzer <mholzer@gentoo.org> gentoolkit-0.1.35.ebuild,
  files/scripts/dep-clean:
  fixing typo. Closes #30248
Comment 6 Felix Wiemann 2003-12-09 11:35:36 UTC
*** Bug 33095 has been marked as a duplicate of this bug. ***