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

Bug 833595

Summary: gui-apps/grim-1.4.0 fails to compile: Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Aaron Bauman (RETIRED) <bman>
Status: RESOLVED FIXED    
Severity: normal CC: arsen, ashpil, emilien.mottet, matthew, parona, sam, yellowhat46
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/24273
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
1-meson-log.txt

Description Agostino Sarubbo gentoo-dev 2022-02-18 08:45:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: gui-apps/grim-1.4.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-18 08:45:14 UTC
CC'ing also the author of the commit (a6aa54da54c7887d0e3561fcb2f59b69c48bc737)
Comment 2 Agostino Sarubbo gentoo-dev 2022-02-18 08:45:16 UTC
Created attachment 765346 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2022-02-18 08:45:17 UTC
Created attachment 765347 [details]
1-meson-log.txt

1-meson-log.txt
Comment 4 Agostino Sarubbo gentoo-dev 2022-02-18 08:45:18 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


contrib/completions/meson.build:16:1: ERROR: Dependency "bash-completion" not found, tried pkgconfig and cmake
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Run-time dependency fish found: NO (tried pkgconfig and cmake)
Comment 5 Larry the Git Cow gentoo-dev 2022-02-23 04:05:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09978a4d6fbfd46071119b15a167db69edc541a8

commit 09978a4d6fbfd46071119b15a167db69edc541a8
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2022-02-19 11:58:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-23 03:56:12 +0000

    gui-apps/grim: update dependencies and install completions manually
    
    * Disable bash-completions switch and instead install bash completions
      with bash-completion-r1 eclass.
    * This serves to avoid the build system requiring
      app-shells/bash-completion or having to go out of your way to remove
      this requirement from the build system itself.
    * Install fish completions manually with doins.
    * These changes are included in a new revision of 1.4.0 and in 9999.
    
    * Also update EAPI to 8 and update dependencies.
    
    Closes: https://bugs.gentoo.org/833595
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/24273
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{grim-1.4.0.ebuild => grim-1.4.0-r1.ebuild}    | 28 ++++++++++++----------
 gui-apps/grim/grim-9999.ebuild                     | 28 +++++++++++++---------
 2 files changed, 33 insertions(+), 23 deletions(-)