Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6031 - [patch 2.0.24] aux_get() / Description Searching
Summary: [patch 2.0.24] aux_get() / Description Searching
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL: http://gentoo.twobit.net/portage/port...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-05 03:56 UTC by Nicholas Jones (RETIRED)
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

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 Nicholas Jones (RETIRED) gentoo-dev 2002-08-05 03:56:45 UTC
aux_get() code does not recognise the lack of a package name/version.
It fails when trying to look at the ebuild, which is "".

This patch cuts off the lookup when mycpv is "".

http://gentoo.twobit.net/portage/portage.py-2.0.24-aux_get.diff
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-08-05 04:46:33 UTC
Just realized that the SIMPLEST fix is to add 'continue' after the 
full_package="" line in emerges' search() code...
http://gentoo.twobit.net/portage/portage.py-2.0.24-desc.diff

The other method won't help other debugging because it might make
some problems silent... Might suggest throwing an exception, but
the traceback is kinda obvious.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-08-05 11:01:28 UTC
Will be fixed in 2.0.25.  Thanks.