Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296573 - =app-portage/portpeek-1.5.7.2 Not find files /etc/portage/package.*
Summary: =app-portage/portpeek-1.5.7.2 Not find files /etc/portage/package.*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mike Pagano
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-12 01:23 UTC by Albert Gall
Modified: 2010-01-19 16:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge --info.log,8.59 KB, text/plain)
2009-12-12 01:31 UTC, Albert Gall
Details
portpeek version 1.5.7.3 (portpeek,20.40 KB, text/plain)
2009-12-12 16:15 UTC, Mike Pagano
Details
portpeek-1.5.7.3.log (portpeek-1.5.7.3.log,1.58 KB, text/plain)
2009-12-12 18:47 UTC, Albert Gall
Details
portpeek.log (portpeek.log,1.31 KB, text/plain)
2009-12-12 22:07 UTC, Albert Gall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Gall 2009-12-12 01:23:26 UTC
portpeek not find files /etc/portage/package.*.

Reproducible: Always

Steps to Reproduce:
1.# emerge portpeek
2.# portpeek -a
3.

Actual Results:  
# portpeek -a

package.keywords:
Could not find file etc/portage/package.keywords
No ebuild options found.

package.unmask:
Could not find file etc/portage/package.unmask
No ebuild options found.

package.mask:
Could not find file etc/portage/package.mask
No ebuild options found.
Done
#
Comment 1 Albert Gall 2009-12-12 01:31:47 UTC
Created attachment 212758 [details]
emerge --info
Comment 2 Mike Pagano gentoo-dev 2009-12-12 16:15:01 UTC
Created attachment 212792 [details]
portpeek version 1.5.7.3

Can you test this version, please and let me know if it fixes the issue. Thanks.
Comment 3 Albert Gall 2009-12-12 18:47:44 UTC
Created attachment 212811 [details]
portpeek-1.5.7.3.log
Comment 4 Albert Gall 2009-12-12 18:51:26 UTC
Hi, not work for me.

Regards
Comment 5 Mike Pagano gentoo-dev 2009-12-12 19:53:28 UTC
I don't know why you are getting that error. That function is called in the previous version of portpeek, also. What version of gentoolkit are you running.

Do you have the file /usr/lib/gentoolkit/pym/gentoolkit/helpers.py ?

Comment 6 Albert Gall 2009-12-12 20:03:19 UTC
(In reply to comment #5)
> I don't know why you are getting that error. That function is called in the
> previous version of portpeek, also. What version of gentoolkit are you running.
My gentoolkit version is 0.3.0_rc7.
 
> Do you have the file /usr/lib/gentoolkit/pym/gentoolkit/helpers.py ?
> 
Yes, I have this file in my system but not in /usr/lib/

# locate helpers.py
/usr/lib64/python2.6/site-packages/gentoolkit/helpers.pyo
/usr/lib64/python2.6/site-packages/gentoolkit/helpers.pyc
/usr/lib64/python2.6/site-packages/gentoolkit/helpers.py
#

Comment 7 Mike Pagano gentoo-dev 2009-12-12 20:50:49 UTC
Can you just add the following lines after line 45 to your portpeek 1.5.7.2 in /usr/bin and then run it as normal.  Back up portpeek before you do this.


try:
    PORTAGE_CONFIGROOT
except NameError:
    PORTAGE_CONFIGROOT="/"

USER_CONFIG_PATH=PORTAGE_CONFIGROOT + USER_CONFIG_PATH



Comment 8 Albert Gall 2009-12-12 22:07:14 UTC
Created attachment 212827 [details]
portpeek.log
Comment 9 Sven Eden 2010-01-18 17:13:27 UTC
(In reply to comment #7)
> Can you just add the following lines after line 45 to your portpeek 1.5.7.2 in
> /usr/bin and then run it as normal.  Back up portpeek before you do this.
> 
> 
> try:
>     PORTAGE_CONFIGROOT
> except NameError:
>     PORTAGE_CONFIGROOT="/"
> 
> USER_CONFIG_PATH=PORTAGE_CONFIGROOT + USER_CONFIG_PATH
> 

Hi. I had the same error and re-emerging gentoolkit and portpeek didn't help, so I added those lines, and now it is working again.
Comment 10 Mike Pagano gentoo-dev 2010-01-19 16:31:09 UTC
Sven, thanks for testing.

This change is released in portpeek-1.5.7.3