Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506884 - dev-util/cmake-2.8.12.2 installs broken bash completion scripts
Summary: dev-util/cmake-2.8.12.2 installs broken bash completion scripts
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-06 04:55 UTC by Leonardo
Modified: 2014-05-08 23:21 UTC (History)
0 users

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 Leonardo 2014-04-06 04:55:00 UTC
CMake installs three bash completion scripts to the system and they call to _init_completion, which doesn't seems to exists.

I am not sure if this is a upstream bug or a Gentoo bash-completion bug, but I am posting here in the hopes that we can fix it.

Reproducible: Always

Steps to Reproduce:
1. install bash completion
2. install cmake
3. type cmake
4. hit <tab>
Actual Results:  
A message is displayed: bash: _init_completion: command not found

Expected Results:  
cmake' bash completion script to work

Removing the offending line seems to at least make it not crash.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-04-06 15:37:08 UTC
Which version of bash-completion do you have?
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2014-05-08 23:21:28 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> Which version of bash-completion do you have?