Gentoo Archives: gentoo-dev

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] x11-libs/lib*: wrong RDEPENDs bug
Date: Mon, 28 Dec 2009 19:36:37
Message-Id: 8b4c83ad0912281136k66146582me320ea98d0faa6d1@mail.gmail.com
In Reply to: Re: [gentoo-dev] x11-libs/lib*: wrong RDEPENDs bug by Samuli Suominen
1 On Tue, Dec 29, 2009 at 12:54 AM, Samuli Suominen <ssuominen@g.o> wrote:
2 > Xdbe.h is part of libXext:
3 >
4 > Xdbe.h:#include <X11/extensions/dbe.h>
5 >
6 > x11-libs/libXext (/usr/include/X11/extensions/Xdbe.h)
7 >
8 > Where dbe.h is coming from xextproto:
9 >
10 > x11-proto/xextproto (/usr/include/X11/extensions/dbe.h)
11 >
12 > As such, xextproto should be a RDEPEND of libXext or otherwise
13 > you'd be breaking everything that's using libXext's Xdbe.h as
14 > a build depend because having xextproto only in DEPEND would allow
15 > --depclean to remove the required header from system
16 >
17
18 It won't do that unless you do --with-bdeps=y ; plus removing headers
19 from the system won't cause the packages to stop working, and if
20 someone removes the headers, they'll be pulled back on upgrade.
21
22
23 --
24 ~Nirbheek Chauhan
25
26 Gentoo GNOME+Mozilla Team