Summary: | revdep-rebuild tries to remerge wrong slot when SLOT=0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gokdeniz Karadag <gokdenizk> |
Component: | Current packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | michael, nsnarh, polytan, zlin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Gokdeniz Karadag
2007-08-21 15:46:43 UTC
Did you run revdep-rebuild -X or just revdep-rebuild? (In reply to comment #1) > Did you run revdep-rebuild -X or just revdep-rebuild? > I was in process of upgrading to KDE 3.5.7 and I have been running with -X switch. Removing the switch tried to remerge correct version. I think slots should be handled differently in revdep-rebuild, as they are not a regular version change, but two different set of files exist. The man page for -X says "emerge the best packages available" but I believe it should look for the highest version in the current slot. Well, if you want to re-emerge some slotted app, you have emerge by version. And -X states clearly, that it emerges by name. And that always emerges the highest slot available. -X won't work for slotted stuff. This is a non-issue in the upcoming new release of revdep-rebuild *** Bug 190972 has been marked as a duplicate of this bug. *** (In reply to comment #4) > -X won't work for slotted stuff. It should according to the code. Otherwise I'd *really* love to know why it's moving package.mask around... (In reply to comment #5) > This is a non-issue in the upcoming new release of revdep-rebuild Yep. So this bug can be marked resolved fixed once upcoming releases have been stabilized (or even just 0.2.4_pre5). Reopening for reassignment Actually, it works for every case except when SLOT=0. I'm still trying to get clarification, but SLOT=0 used to mean that the package was not slottable, which revdep-rebuild uses to try to avoid mucking with /etc/portage/package.mask (In reply to comment #9) > Actually, it works for every case except when SLOT=0. I'm still trying to > get clarification, but SLOT=0 used to mean that the package was not > slottable, which revdep-rebuild uses to try to avoid mucking with > /etc/portage/package.mask Below is an exhaustive list of the 44 packages currently in gentoo-x86 that have more than one slot where one of those is SLOT=0. Combined they occupy 101 slots (2.3 slots pr. package on average). For comparison there are currently 259 packages in gentoo-x86 that have more than one slot (including the 44 below). ;) app-arch/unace app-crypt/gnupg app-text/docbook-xml-simple-dtd dev-cpp/libxmlpp dev-db/oracle-instantclient-basic dev-db/oracle-instantclient-jdbc dev-db/oracle-instantclient-sqlplus dev-db/sqlite dev-java/commons-betwixt dev-java/commons-httpclient dev-java/commons-lang dev-java/ehcache dev-java/gnu-classpath dev-java/java-config dev-java/jcommon dev-java/jfreechart dev-java/prefuse dev-java/saxon dev-lang/gnat dev-libs/apr dev-libs/apr-util dev-libs/libcroco dev-libs/lzo dev-ml/pcre-ocaml dev-python/gst-python dev-python/psycopg dev-python/pysqlite dev-python/sancho dev-util/cvsweb dev-util/netbeans games-rpg/nwn-cep gnome-extra/libgnomedb media-libs/libmpd media-libs/libvisual media-plugins/libvisual-plugins net-wireless/ipw2200-firmware net-zope/plone net-zope/portaltransforms net-zope/zodb sci-geosciences/grass sys-boot/grub sys-libs/slang www-apps/viewcvs x11-libs/qwt (In reply to comment #9) > Actually, it works for every case except when SLOT=0. I'm still trying to get > clarification, but SLOT=0 used to mean that the package was not slottable, > which revdep-rebuild uses to try to avoid mucking with > /etc/portage/package.mask If a package isn't slotted it's supposed to use SLOT=0, but SLOT=0 doesn't strictly mean that no other SLOTs may exist (it should be avoided as it can cause confusion, but it's not illegal. SLOT="" however is, but don't ask me why). Not sure why it matters anyway, should be technically no difference if the ebuilds of a package all use SLOT=0 or SLOT=1. Can someone please test this against revdep-rebuild in app-portage/gentoolkit-0.2.4_rc2? |