Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920834 - dev-lang/ghc-9.2.8 missing bash completion symlink
Summary: dev-lang/ghc-9.2.8 missing bash completion symlink
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-27 23:05 UTC by Attila Tóth
Modified: 2023-12-28 03:35 UTC (History)
0 users

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


Attachments
ghc-9.2.8.ebuild.1.diff (ghc-9.2.8.ebuild.1.diff,343 bytes, patch)
2023-12-27 23:05 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2023-12-27 23:05:11 UTC
* Problems with installed bash completions were found:
 *
 *      ghci: missing alias (symlink) for completed command.
 *
 * For more details on installing bash-completions, please see:
 * https://wiki.gentoo.org/wiki/Bash/Installing_completion_files

Reproducible: Always




Adding "bashcomp_alias ghc ghci" to the bash completion section solves the warning:
--- ghc-9.2.8.ebuild-orig       2023-12-27 11:10:23.000000000 +0100
+++ ghc-9.2.8.ebuild-dwok       2023-12-27 11:11:31.663711076 +0100
@@ -925,6 +925,7 @@ src_install() {
                if ! is_crosscompile; then
                        newbashcomp "${FILESDIR}"/ghc-bash-completion ghc-pkg
                        newbashcomp utils/completion/ghc.bash         ghc
+                       bashcomp_alias ghc ghci
                fi
        fi
Comment 1 Attila Tóth 2023-12-27 23:05:54 UTC
Created attachment 880784 [details, diff]
ghc-9.2.8.ebuild.1.diff

Proposed change solves the warning.