Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521166 - dev-python/pygments: bash-completion files are not compatible with autoloading
Summary: dev-python/pygments: bash-completion files are not compatible with autoloading
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Depends on:
Blocks: bashcomp2
  Show dependency tree
Reported: 2014-08-26 18:36 UTC by Michał Górny
Modified: 2014-10-07 15:19 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-26 18:36:35 UTC
$ ./get-completions /usr/share/bash-completion | ./ | grep pygments
pygments: does not declare completion for pygments
pygmentize: missing completion symlink for command (declared in /usr/share/bash-completion/pygments)

which means the completion file should be named 'pygmentize' for autoloading to work, not 'pygments'.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-10-07 08:10:21 UTC
*pygments-1.6_p20140324-r1 (07 Oct 2014)

  07 Oct 2014; Ian Delaney <>
  revbump; rename (data) file to pygmentize to effect bash-completion, fixes Bug
Comment 2 Martin Gysel (bearsh) 2014-10-07 13:25:48 UTC
-r1 does not merge :(

Installing pygmentize script to /var/tmp/portage/dev-python/pygments-1.6_p20140324-r1/image//_python3.3/usr/lib/python-exec/python3.3
 * python2_7: running distutils-r1_run_phase python_install_all
/var/tmp/portage/dev-python/pygments-1.6_p20140324-r1/temp/environment: line 3452: pushd: /var/tmp/portage/dev-python/pygments-1.6_p20140324-r1/image/usr/share/bash-completion/completions/: No such file or directory
mv: cannot overwrite non-directory ‘pygmentize’ with directory ‘pygments’
 * ERROR: dev-python/pygments-1.6_p20140324-r1::gentoo failed (install phase):
 *   (no error message)
Comment 3 Mike Gilbert gentoo-dev 2014-10-07 15:19:07 UTC
+  07 Oct 2014; Mike Gilbert <>
+  pygments-1.6_p20140324-r1.ebuild:
+  Fix bashcomp installation for bash-completon-1 users, bug 521166.