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

Bug 249976

Summary: app-portage/portage-utils-0.1.29: qlist doesn't give slot information for package in different ROOT
Product: Portage Development Reporter: Pascal Poudrier <pascal.poudrier>
Component: UnclassifiedAssignee: Portage Utils Team <portage-utils>
Status: RESOLVED FIXED    
Severity: normal CC: pascal.poudrier
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pascal Poudrier 2008-12-05 21:10:52 UTC
with portage 2.2_RC16, I can get slot information from package on the main system with the following command : qlist -S (give every packages installed and their slots).

If I do the same but in a different root :
ROOT=/vservers/test qlist -S, I only get installed packages without their slot.

Thank's

Reproducible: Always

Steps to Reproduce:

Actual Results:  
no package slots is given

Expected Results:  
Should give packages slots
Comment 1 solar (RETIRED) gentoo-dev 2008-12-05 22:11:59 UTC
try again with a trailing slash on ROOT variable like ROOT=/foo/ qlist -CLS
Comment 2 Pascal Poudrier 2008-12-07 15:52:08 UTC
Yes, it's working.

It is the right way to use a different ROOT ? I mean to always put a trailing slash ?

I use ROOT since at least 3 years and I never had to do that before.

Thanks
Comment 4 Pascal Poudrier 2009-01-14 16:17:46 UTC
(In reply to comment #3)
> Can you try this?
> http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?r1=1.158&r2=1.159&makepatch=1&diff_format=u
> 

Hi, sorry for this long delay, I was very busy. Can you guide me on how can I apply this patch with portage ?

thanks
Comment 5 SpanKY gentoo-dev 2010-06-08 05:31:54 UTC
should be fixed with newer versions already in the tree at this point