Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221719 - dev-libs/libxml: suspect runtime-depend on dev-util/gtk-doc
Summary: dev-libs/libxml: suspect runtime-depend on dev-util/gtk-doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: wrong-rdepend
  Show dependency tree
 
Reported: 2008-05-11 16:02 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-06-09 23:00 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-05-11 16:02:50 UTC
Your package is runtime-depending on dev-util/gtk-doc standing to http://tinderbox.dev.gentoo.org/misc/rindex/dev-util/gtk-doc . dev-util/gtk-doc is a tool used almost always at build-time, (it's either a build system or a generator - sorry this is a generic template I start with so I can't tell you right away which one). This means that it should only be depended at build-time.

Please correct your ebuild or document why it is used as a runtime-dependency so that it will not be suspected again.

Thanks,
Diego
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-04 23:03:12 UTC
Should:
RDEPEND=">=sys-libs/ncurses-5.2
    doc? ( >=dev-util/gtk-doc-1 )"
DEPEND="${RDEPEND}
    >=sys-libs/readline-4.1

be changed to:

RDEPEND=">=sys-libs/ncurses-5.2
DEPEND=" doc? ( >=dev-util/gtk-doc-1 )
    >=sys-libs/readline-4.1"

In other words, should I drop the DEPEND=$RDEPEND bit?
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-09 23:00:26 UTC
This seems the most proper. Thanks to beandog for helping in IRC.

diff -u -r1.28 libxml-1.8.17-r2.ebuild
--- libxml-1.8.17-r2.ebuild     7 Feb 2007 14:09:48 -0000       1.28
+++ libxml-1.8.17-r2.ebuild     9 Jun 2008 22:58:40 -0000
@@ -13,10 +13,10 @@
 KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86"
 IUSE="doc"
 
-RDEPEND=">=sys-libs/ncurses-5.2
-       doc? ( >=dev-util/gtk-doc-1 )"
+RDEPEND=">=sys-libs/ncurses-5.2"
 DEPEND="${RDEPEND}
-       >=sys-libs/readline-4.1"
+       >=sys-libs/readline-4.1
+       doc? ( >=dev-util/gtk-doc-1 )"
 
 src_unpack() {
        unpack ${A}