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

Bug 419543

Summary: dev-java/icedtea-7.2.1 suspicious DEPEND
Product: Gentoo Linux Reporter: Sebastian Pipping <sping>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal CC: caster, gnu_andrew
Priority: Normal    
Version: autobuilds   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 247140    

Description Sebastian Pipping gentoo-dev 2012-06-03 22:18:03 UTC
While RDEPEND guerds dependencies on X, alsa and cups ..

  RDEPEND="...
          X? (
                  ${CUPS_COMMON_DEP}
                  ${X_COMMON_DEP}
                  ...
          )
          alsa? ( ${ALSA_COMMON_DEP} )
          cups? ( ${CUPS_COMMON_DEP} )"

.. DEPEND includes them unconditionally:

  DEPEND="... ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
          ...
          ${X_DEPEND}
          ..."

I would expect consistency about it.

What is the intention with it?
Comment 1 Richard Yao (RETIRED) gentoo-dev 2012-06-03 22:25:49 UTC
This looks like a duplicate of bug #409901. Note that you should disregard my 'or why RDEPEND is even in use' comment in that bug. I was still learning these things back then.
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2012-06-04 06:56:49 UTC
As the very first line preceding those *_COMMON_DEP says, ideally they were optional not only at runtime.

Having it be optional at least at runtime was request by several users.

If you have further questions let's continue on bug #409901 Richard did mention.

*** This bug has been marked as a duplicate of bug 409901 ***