Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71025 - emerge seems to ingnore RDEPEND in ati-drivers-3.14.1
Summary: emerge seems to ingnore RDEPEND in ati-drivers-3.14.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-12 17:12 UTC by Oliver Kaiser
Modified: 2005-03-21 05:38 UTC (History)
3 users (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 Oliver Kaiser 2004-11-12 17:12:23 UTC
ati-drivers-3.14.1.ebuild has the following restrictions:
  DEPEND=">=virtual/linux-sources-2.4
          app-arch/rpm2targz
          || ( <x11-base/xorg-x11-6.7.99 >=x11-base/xfree-4.3.0 )"

  RDEPEND="|| ( <x11-base/xorg-x11-6.7.99 >=x11-base/xfree-4.3.0 )"

/var/lib/portage/world contains:
  x11-base/xorg-x11
  media-video/ati-drivers



Reproducible: Always
Steps to Reproduce:
Howto reproduce:
1. Starting point: a clean and current Gentoo system without ATI drivers
2. Execute "emerge -p ati-drivers":

   These are the packages that I would merge, in order:

   Calculating dependencies ...done!
   [ebuild     UD] x11-base/xorg-x11-6.7.0-r2 [6.8.0-r1]
   [ebuild  N    ] media-video/ati-drivers-3.14.1

   The downgrade of xorg is ok, because ati-drivers-3.14.1.ebuild
   has the dependencies:
    - DEPEND="[...] <x11-base/xorg-x11-6.7.99 [...]"
    - RDEPEND="[...] <x11-base/xorg-x11-6.7.99 [...]"
3. Execute "emerge ati-drivers"
4. Execute the usual "emerge -uDp world":

   These are the packages that I would merge, in order:

   Calculating world dependencies ...done!
   [ebuild     U ] x11-base/xorg-x11-6.8.0-r1 [6.7.0-r2]

-->emerge seems to ignore the RDEPEND in ati-drivers-3.14.1.ebuild.


If you want you can loop forever:

5. Ignore common sense and execute "emerge -uD world"
   [...]
6. Execute "emerge -uDp world"
   [...]
   [ebuild     UD] x11-base/xorg-x11-6.7.0-r2 [6.8.0-r1]
7. Ok, let's downgrade again: "emerge -uD world"
   [...]
8. Execute "emerge -uDp world"
   [...]
   [ebuild     U ] x11-base/xorg-x11-6.8.0-r1 [6.7.0-r2]
9. continue forever (goto step 5)

Actual Results:  
Loop for ever ...

Expected Results:  
emerge should not ignore the RDEPEND.
emerge should refuse to upgrade xorg-x11.
Comment 1 Thomas Andersson 2004-12-01 10:25:32 UTC
Yep this just bit my ass when I did a "emerge system". After that opengl functionality was broken 'til I downgraded xorg-x11.
Comment 2 James McCarthy 2005-01-14 13:09:23 UTC
Yeah, I've been bit by this a couple times.  What is going on with ati-drivers and x-org 6.8 anyways?
Comment 3 Robert Wohlrab 2005-03-18 05:31:13 UTC
ati-drivers-3.14.6 isn
Comment 4 Robert Wohlrab 2005-03-18 05:31:13 UTC
ati-drivers-3.14.6 isn´t in portage anymore
Comment 5 Oliver Kaiser 2005-03-20 10:06:46 UTC
Yes. Currently I'm using ati-drivers-8.8.25 which does not show this problem ... So, why don't we close this bug?
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-20 10:33:52 UTC
you as the reporter also can resolve bugs you filed. ;) 
Comment 7 Thomas Andersson 2005-03-21 05:01:36 UTC
Is the root-problem really fixed though? Emerge still ignores rdepend for installed packages, when doing a 'emerge -u world', right?
Comment 8 Thomas Andersson 2005-03-21 05:38:11 UTC
Nevermind. The root problem is reported in this bug: http://bugs.gentoo.org/show_bug.cgi?id=13632