Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654436 - `emerge --search codec' fails to find media-libs/nv-codec-headers
Summary: `emerge --search codec' fails to find media-libs/nv-codec-headers
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-30 18:42 UTC by Coacher
Modified: 2018-04-30 20:18 UTC (History)
0 users

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


Attachments
emerge --info (info,7.08 KB, text/plain)
2018-04-30 18:42 UTC, Coacher
Details
emerge -s codec (search,1.83 KB, text/plain)
2018-04-30 18:43 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2018-04-30 18:42:53 UTC
Created attachment 529134 [details]
emerge --info

Hello.

Steps to reproduce:
1. emerge -s codec OR emerge -s "codec"

Expected results:
1. media-libs/nv-codec-headers is among the search results

Actual results:
1. media-libs/nv-codec-headers is NOT among the search results
   using either emerge -s codec OR emerge -s "codec"

Additional info.
Portage knows about the package:
$ equery list -p -o nv-codec-headers
 * Searching for nv-codec-headers ...
[-P-] [ ~] media-libs/nv-codec-headers-8.1.24.1:0


P.S. What is 'simple search' mentioned in emerge man under `--search' option desc?
Comment 1 Coacher 2018-04-30 18:43:31 UTC
Created attachment 529136 [details]
emerge -s codec
Comment 2 Zac Medico gentoo-dev 2018-04-30 19:44:01 UTC
It works for me. Maybe you have a stale pkg_desc_index located at $(portageq get_repo_path / gentoo)/metadata/pkg_desc_index?
Comment 3 Coacher 2018-04-30 19:58:41 UTC
(In reply to Zac Medico from comment #2)
> It works for me. Maybe you have a stale pkg_desc_index located at $(portageq
> get_repo_path / gentoo)/metadata/pkg_desc_index?
nv-codec-headers is indeed missing from thar file, so I guess it's stale.
I surely didn't touch it manually. Does portage handle it automatically?
Comment 4 Zac Medico gentoo-dev 2018-04-30 20:04:04 UTC
(In reply to Coacher from comment #3)
> (In reply to Zac Medico from comment #2)
> > It works for me. Maybe you have a stale pkg_desc_index located at $(portageq
> > get_repo_path / gentoo)/metadata/pkg_desc_index?
> nv-codec-headers is indeed missing from thar file, so I guess it's stale.
> I surely didn't touch it manually. Does portage handle it automatically?

It's never generated automatically, somebody has to run this command:

    egencache --update-pkg-desc-index --repo=gentoo
Comment 5 Coacher 2018-04-30 20:18:27 UTC
I see. I usually get a fresh copy from https://github.com/gentoo-mirror/gentoo
I guess it's not a portage problem then. Sorry for the noise.