Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481166 - net-p2p/bitcoind-0.8.3-r1 installs bash completion script at wrong location
Summary: net-p2p/bitcoind-0.8.3-r1 installs bash completion script at wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-15 13:32 UTC by Sławomir Nizio
Modified: 2013-08-18 21:51 UTC (History)
2 users (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 Sławomir Nizio 2013-08-15 13:32:39 UTC
# qlist -C net-p2p/bitcoind | grep bash-completion
/usr/share/bash-completion/bitcoind

(copy paste from bug 481164)

I think it's supposed to be in /usr/share/bash-completion/completions/ nowadays, at least with app-shells/bash-completion >= 2.1-r1 or something like this.

It's a bit annoying when I saw a message somewhere about reinstalling packages to fix bash completion scripts location (on other system that I was doing the re-installations actually, but it shouldn't matter), and it certainly won't work for this package. :)

Reproducible: Always
Comment 1 Luke-Jr 2013-08-15 16:07:38 UTC
$ ls /usr/share/bash-completion/ | wc -l
211
$ ls /usr/share/bash-completion/completions/ 
qupzilla

If this is a bug, it affects 99% of the portage tree, not just bitcoind... Including the current stable version of bash-completion itself.
Comment 2 Sławomir Nizio 2013-08-15 16:38:08 UTC
See the class bash-completion-r1. It takes care of that (and probably most of the ebuilds that install bash completion scripts use it, and they are thus not affected).

The package in question doesn't use this eclass. Making it do so would be a proper fix.

(By the way, I don't know what is the reason for this change, nor did I care to look for it.)
Comment 3 Luke-Jr 2013-08-16 18:12:51 UTC
Fixed in bitcoin overlay.
Comment 4 Anthony Basile gentoo-dev 2013-08-18 21:51:17 UTC
(In reply to Luke-Jr from comment #3)
> Fixed in bitcoin overlay.

it should be fixed on the tree.  please reopen if it isn't.