Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 40552
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Perl Devs @ Gentoo <perl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Spider (RETIRED) <spider@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 40552 depends on: Show dependency tree
Bug 40552 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-05 19:07 0000
Trying to find RDEPEND issues here and I stumbled on this gem:

DEPEND="${DEPEND}
        >=x11-libs/gtk+-2*
        >=dev-libs/glib-2*
        dev-util/pkgconfig
        dev-perl/extutils-depends
        dev-perl/extutils-pkgconfig
        xml? ( dev-perl/XML-Writer
                dev-perl/XML-Parser )"


pkgconfig should probably be a DEPEND only, whereas gtk+ and glib+ seems to be RDEPEND 
so

RDEPEND="
>=x11-libs/gtk+-2*
>=dev-libs/glib-2
xml? ( dev-perl/XML-Writer
dev-perl/XML-Parser )"

DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-perl/extutils-depends
dev-perl/extutils-pkgconfig"

if I've understood what extutils-depends/pkgconfig does.

------- Comment #1 From Michael Cummings (RETIRED) 2004-02-21 04:11:22 0000 -------
I think the confusion, at least on my part, is the use/nature of RDEPEND and
DEPEND. (yea, I resorted to man 5 for this answer) DEPEND is what is required
for the app to build (and they were all valid), and RDEPEND for it to run,
defaulting to DEPEND. I guess it was a misconception on my part as to how they
differ in actual use, i.e. would the RDEPENDs get emerged properly before the
main ebuild (naivete at its best Spider). Will clean this up and keep an eye
out for similar mistakes in our outdated broilerplate schemes =:)

------- Comment #2 From Spider (RETIRED) 2004-02-21 04:34:28 0000 -------
Yeah, thats a good rundown of it.  In the Gnome builds we usually do it like
this:

RDEPEND="gnome-base/libgnome
  gnome-base/libgnomeui"

DEPEND="${RDEPEND}
   dev-util/pkgconfig
   dev-util/intltool"


To get the representation "right" in between them, but the two may vary widely
so it isn't an absolute rule.

As I don't really know what this perl package does, I'm not sure what to
require here, how it depends on the different parts (pkgconfig fex) does it
wrap it, or need it to build (to find other depends) or ... ?    

------- Comment #3 From Michael Cummings (RETIRED) 2004-02-25 02:23:18 0000 -------
Cleaned up in glib-perl and will keep an eye out for this in other ebuilds (too
many in dev-perl to do a real housecleaning right now unfortunately). Thanks
Spider!

-mike

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug