Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129098 - portage-2.1 emits redundant error messages
Summary: portage-2.1 emits redundant error messages
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 01:05 UTC by Jakub Moc (RETIRED)
Modified: 2006-04-09 00:09 UTC (History)
0 users

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


Attachments
raise exception when canonical_path == filename (bug_129098_atomic_msg.patch,375 bytes, patch)
2006-04-07 02:10 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2006-04-07 01:05:41 UTC
$ euse -i apache
global use flags (searching: apache)
************************************************************

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

!!! Failed to open file: '/var/cache/edb/mtimedb.4732'
!!! [Errno 13] Permission denied: '/var/cache/edb/mtimedb.4732'
[-    ] apache - Chooses Apache1 support when a package optionally supports Apache1

local use flags (searching: apache)
************************************************************
[-    ] apache (www-servers/gorg):
Install apache

Don't know if the portage group warning is really needed here or not, but the permission denied issue is really redundant. Another example:

$ emerge --info

<snip>
!!! Failed to open file: '/var/cache/edb/mtimedb.5980'
!!! [Errno 13] Permission denied: '/var/cache/edb/mtimedb.5980'
</snip>
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2006-04-07 02:00:50 UTC
The latter error message is python's string description of the error. This may not necessarily contain the file name but will contain the exact problem. Hence, both are needed to cover all cases.
Comment 2 Zac Medico gentoo-dev 2006-04-07 02:10:09 UTC
Created attachment 84117 [details, diff]
raise exception when canonical_path == filename

Hopefully this patch will make it slighly less annoying.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-07 02:40:28 UTC
(In reply to comment #2)
> Hopefully this patch will make it slighly less annoying.

Yeah, much better now. ;) 

Comment 4 Zac Medico gentoo-dev 2006-04-09 00:09:48 UTC
The patch is in 2.1_pre7-r5.