Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526138 - sys-boot/grub-2.12-r2: QA: problems with installed bash completions
Summary: sys-boot/grub-2.12-r2: QA: problems with installed bash completions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
: 621916 688862 (view as bug list)
Depends on:
Blocks: bashcomp2
  Show dependency tree
 
Reported: 2014-10-20 18:30 UTC by Michał Górny
Modified: 2024-04-04 20:40 UTC (History)
5 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-20 18:30:51 UTC
* Problems with installed bash completions were found:
 * 
 * 	grub: 'have' command is deprecated and must not be used.
 * 	grub: incorrect name, no completions for 'grub' command defined.
 * 	grub2-set-default: missing alias (symlink) for completed command.
 * 	grub2-mkrescue: missing alias (symlink) for completed command.
 * 	grub2-reboot: missing alias (symlink) for completed command.
 * 	grub2-install: missing alias (symlink) for completed command.
 * 	grub2-script-check: missing alias (symlink) for completed command.
 * 	grub2-editenv: missing alias (symlink) for completed command.
 * 	grub2-sparc64-setup: missing alias (symlink) for completed command.
 * 	grub2-mkfont: missing alias (symlink) for completed command.
 * 	grub2-mkpasswd-pbkdf2: missing alias (symlink) for completed command.
 * 	grub2-mkimage: missing alias (symlink) for completed command.
 * 	grub2-bios-setup: missing alias (symlink) for completed command.
 * 	grub2-mkconfig: missing alias (symlink) for completed command.
 * 	grub2-probe: missing alias (symlink) for completed command.

For a solution:

1. remove all those 'have' lines,

2. install completion file using one of the command names and use bashcomp_alias to create symlinks to other commands.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-12-04 09:38:05 UTC
+*grub-2.02_beta2-r4 (04 Dec 2014)
+
+  04 Dec 2014; Justin Lecher <jlec@gentoo.org> +grub-2.02_beta2-r4.ebuild,
+  +files/grub-2.02_beta2-bash-completions.patch, metadata.xml:
+  Fix QA issues with bash-completions, #526138
+
Comment 2 Mike Gilbert gentoo-dev 2014-12-07 17:04:43 UTC
(In reply to Justin Lecher from comment #1)

I have dropped this patch. Get something accepted upstream first.
Comment 3 Mike Gilbert gentoo-dev 2017-06-16 16:07:33 UTC
*** Bug 621916 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-06-28 09:36:50 UTC
*** Bug 688862 has been marked as a duplicate of this bug. ***
Comment 5 Agostino Sarubbo gentoo-dev 2024-02-24 07:45:38 UTC
slibtool_tinderbox has reproduced this issue with version 2.12-r1 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2024-03-01 19:16:47 UTC
ci has reproduced this issue with version 2.12-r2 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2024-04-04 20:31:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1bb5562a181e4c897d0425f2e51edb5230636d

commit 1a1bb5562a181e4c897d0425f2e51edb5230636d
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-04-04 20:30:10 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-04-04 20:30:49 +0000

    sys-boot/grub: backport bash-completion fix
    
    Closes: https://bugs.gentoo.org/526138
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-boot/grub/Manifest                                     | 1 +
 sys-boot/grub/{grub-2.12-r2.ebuild => grub-2.12-r3.ebuild} | 8 +++-----
 2 files changed, 4 insertions(+), 5 deletions(-)