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

Bug 18385

Summary: sawfish (and possibly other ebuilds) have their dependencies setup incorrectly
Product: Gentoo Linux Reporter: Cameron Lerch <lerchc>
Component: New packagesAssignee: Brad Cowan (RETIRED) <bcowan>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cameron Lerch 2003-03-28 14:20:50 UTC
From sawfish-1.3.ebuild:

DEPEND=">=dev-util/pkgconfig-0.12.0
>=x11-libs/rep-gtk-0.17
=dev-libs/librep-0.16*
>=media-libs/imlib-1.9.10-r1
media-libs/audiofile
>=x11-libs/gtk+-2.0.8
esd? ( >=media-sound/esound-0.2.22 )
readline? ( >=sys-libs/readline-4.1 )
nls? ( sys-devel/gettext )"

I haven't really played with ebuild files very much, but I noticed a problem
when qpkg -q wasn't picking up sawfish dependencies. I.e. qpkg -I -q rep-gtk
would show nothing. From the ebuild documentation, it appears as though DEPENDS
are build dependencies, and RDEPEND are run-time dependencies. Shouldn't (most
of?) these be RDEPENDs? I have noticed this elsewhere as well, but I'll wait and
see if I'm actually on the right page with this. Let me know.


Reproducible: Always
Steps to Reproduce:
1. emerge sawfish (and others)
2. check out their RDEPEND file -- nothing.
3. this breaks qpkg (and possibly other tools)

Actual Results:  
RDEPEND empty even though there are runtime dependencies

Expected Results:  
RDEPEND lists runtime dependencies

Again, I have noticed this in other ebuilds as well. I would assume that RDEPEND
is a newer-type var and possibly many packages weren't upgraded to use it?
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-28 18:24:37 UTC
       RDEPEND
              This  should  contain  a list of all packages that
              are required for this program to run (aka  runtime
              depend).   If this is not set, then it defaults to
              the value of DEPEND.
              You may use the same syntax to  vary  dependencies
              as seen above in DEPEND.
Comment 2 Cameron Lerch 2003-03-28 18:56:20 UTC
Hmm.. shouldn't this list the DEPENDs then?

lerchc@skylab:/var/db/pkg/x11-wm/sawfish-1.2$ cat RDEPEND
 !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch )
lerchc@skylab:/var/db/pkg/x11-wm/sawfish-1.2$

What am I seeing here?
Comment 3 Brad Cowan (RETIRED) gentoo-dev 2003-05-05 01:57:13 UTC
marking invalid