Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740406 - x11-libs/pango-1.44.7: glib-utils need to be in BDEPEND
Summary: x11-libs/pango-1.44.7: glib-utils need to be in BDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2020-09-04 19:36 UTC by David Michael
Modified: 2020-10-19 16:53 UTC (History)
1 user (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 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(-)