Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270416 - app-portage/gentoolkit-0.2.4.2-r1 revdep-rebuild missing SLOT handling
Summary: app-portage/gentoolkit-0.2.4.2-r1 revdep-rebuild missing SLOT handling
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 12:03 UTC by George Kargiotakis
Modified: 2009-06-03 18:31 UTC (History)
0 users

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 George Kargiotakis 2009-05-19 12:03:23 UTC
When a package has changed SLOTs during time, revdep-rebuild cannot recognize whether the old SLOT exists any longer and tries to emerge the package using the old SLOT found in /var/db/pkg/category/package/SLOT file.


Reproducible: Always

Steps to Reproduce:
1. emerge a package with no SLOT
2. change package SLOTs to something not containing SLOT 0
3. remove a library that the package depends on
4. run revdep-rebuild

Actual Results:  
For example, kdevelop used to have only SLOT 0. It now has 3 SLOTS (3, 3.5 and 4) but no SLOT 0. So if for a reason kdevelop breaks, the revdep-rebuild tool tries to emerge dev-util/kdevelop:0 which no longer exists.

 * All prepared. Starting rebuild
emerge --oneshot dev-util/kdevelop:0
..........

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-util/kdevelop:0".

Expected Results:  
revdep-rebuild could implement a SLOT checking feature for non-existing SLOTS and provide a mechanism for SLOT migration.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2009-06-03 18:31:19 UTC
Without a slotmove in /usr/portage/profiles/updates, there is really no way that revdep-rebuild can handle this situation in an automatic fashion.

I would rather leave it as is where it errors out and the administrator of the system chooses what to do to fix the system.