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

Bug 506884

Summary: dev-util/cmake-2.8.12.2 installs broken bash completion scripts
Product: Gentoo Linux Reporter: Leonardo <leonardo.guilherme>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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?