Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339059 - app-shells/bash-completion-1.2 uses wrong complete syntax
Summary: app-shells/bash-completion-1.2 uses wrong complete syntax
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL: https://alioth.debian.org/tracker/ind...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-28 19:16 UTC by Boris Petersen
Modified: 2011-02-08 16:53 UTC (History)
1 user (show)

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 Boris Petersen 2010-09-28 19:16:47 UTC
app-shells/bash-completion-1.2 uses a wrong syntax in it's service script

Reproducible: Always

Steps to Reproduce:
1. source bash-completion with service module enabled
Actual Results:  
the syntax error occurs in line 34, the call "complete -F _service -o default" ends in: complete: usage: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist]  [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]

Expected Results:  
the service module should use the right syntax.

I couldn't find a documentation of the complete syntax though i'm not able to provide a solution.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-09-28 19:23:32 UTC
You should really file this upstream. http://bash-completion.alioth.debian.org/
Comment 2 Boris Petersen 2010-09-28 19:48:29 UTC
this is now upstream bug #312728 (see url)
Comment 3 Cyprien Nicolas (fulax) 2010-09-28 20:01:35 UTC
It looks like it has already been reported [1] and fixed in git [2]

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586210
[2] http://git.debian.org/?p=bash-completion/bash-completion.git;a=commit;h=1f8b55a92aba6d03bb4c43dade1f8b2e2b847b61

Maybe a backport of that patch is feasible?
Comment 4 Boris Petersen 2010-09-29 17:23:43 UTC
the upstream patch wfm. would be cool if it could be included in portage
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-02-08 16:53:27 UTC
+*bash-completion-1.3 (08 Feb 2011)
+
+  08 Feb 2011; Jeremy Olexa <darkside@gentoo.org>
+  +bash-completion-1.3.ebuild:
+  Upstream version bump, closes Gentoo bugs: 321241, 339059, 353216