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

Bug 740406

Summary: x11-libs/pango-1.44.7: glib-utils need to be in BDEPEND
Product: Gentoo Linux Reporter: David Michael <fedora.dm0>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/17936
Whiteboard:
Package list:
Runtime testing required: ---

Description David Michael 2020-09-04 19:36:24 UTC
The EAPI 7 ebuild incorrectly puts glib-utils in DEPEND when it needs to be in BDEPEND.  The programs need to be natively executable, not cross-compiled.

Reproducible: Always

Steps to Reproduce:
1. emerge --rage-clean glib-utils
2. cross-emerge -v =x11-libs/pango-1.44.7

Actual Results:  
It fails during the configure phase:
../pango-1.44.7/pango/meson.build:79:0: ERROR: Program(s) ['glib-mkenums', 'mkenums'] not found or not executable

Expected Results:  
It should build and install.

--- x11-libs/pango/pango-1.44.7.ebuild
+++ x11-libs/pango/pango-1.44.7.ebuild
@@ -31,10 +31,10 @@
 	introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
 "
 DEPEND="${RDEPEND}
-	dev-util/glib-utils
 	x11-base/xorg-proto
 "
 BDEPEND="
+	dev-util/glib-utils
 	virtual/pkgconfig
 	gtk-doc? (
 		>=dev-util/gtk-doc-1.20
Comment 1 Larry the Git Cow gentoo-dev 2020-10-19 16:53:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66eb72e9ca972f998e55baceef1769cd7c8b7252

commit 66eb72e9ca972f998e55baceef1769cd7c8b7252
Author:     David Michael <fedora.dm0@gmail.com>
AuthorDate: 2020-10-15 13:53:10 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-10-19 16:53:16 +0000

    x11-libs/pango: move glib-utils to BDEPEND
    
    Closes: https://bugs.gentoo.org/740406
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: David Michael <fedora.dm0@gmail.com>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 x11-libs/pango/pango-1.44.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)