Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682518 - dev-libs/glib-2.56.4 - pulls python into runtime rather than buildtime
Summary: dev-libs/glib-2.56.4 - pulls python into runtime rather than buildtime
Status: RESOLVED DUPLICATE of bug 667324
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:
Depends on:
Blocks:
 
Reported: 2019-04-04 10:22 UTC by Ed Wildgoose
Modified: 2019-04-04 10:44 UTC (History)
0 users

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 Ed Wildgoose 2019-04-04 10:22:07 UTC
There appears to be a typo in the current dev-libs/glib ebuild. It intends to pull in dev-util/glib-utils as a BUILD time dependency, but it adds it to the RUNTIME dependencies

This patch fixes the ebuild

diff --git a/dev-libs/glib/glib-2.56.4.ebuild b/dev-libs/glib/glib-2.56.4.ebuild
index 9cccbd6aa5b..d12660ae029 100644
--- a/dev-libs/glib/glib-2.56.4.ebuild
+++ b/dev-libs/glib/glib-2.56.4.ebuild
@@ -59,7 +59,7 @@ DEPEND="${RDEPEND}
 # Migration of glib-genmarshal, glib-mkenums and gtester-report to a separate
 # python depending package, which can be buildtime depended in packages that
 # need these tools, without pulling in python at runtime.
-RDEPEND="${RDEPEND}
+DEPEND="${DEPEND}
        >=dev-util/glib-utils-${PV}"
 PDEPEND="
        dbus? ( gnome-base/dconf )
Comment 1 Mart Raudsepp gentoo-dev 2019-04-04 10:43:59 UTC
This is intentional and will stay as such until we are ready to remove the dep altogether. glib does NOT need glib-utils at build-time. Read tracker for details.

*** This bug has been marked as a duplicate of bug 667324 ***
Comment 2 Mart Raudsepp gentoo-dev 2019-04-04 10:44:33 UTC
Note also the comment right above the RDEPEND, which is even included in your patch.