On Mon, Mar 16, 2009 at 9:34 AM, Amit Dor-Shifer <[email protected]> wrote:
> Hi all.
>
> While working on my overlay, I stumbled on an issue where qfile refused to
> acknowledge an installed file as being part of my package.
>
> Looking into q's implementation (portage-utils-0.1.29), I see:
>
> amit0 portage-utils-0.1.29 # grep -A 2 next_entry ./libq/vdb_get_next_dir.c
> next_entry:
>       ret = readdir(dir);
>       if (ret == NULL) {
> --
>               goto next_entry;
>       if (strchr(ret->d_name, '-') == NULL)
>               if ((strcmp(ret->d_name, "virtual")) != 0)
>                       goto next_entry;
>
> I encountered this since I used a new category, which only contained a
> single word. Adding a hyphen and a 2nd token solved my issue, and now qfile
> knows the file's association.
>
> Is this assumption, that category should be "stringA-stringB" documented
> somewhere?

It is a legacy assumption that we had prior to the introduction of the
'virtual' category into gentoo-x86.

>
> 10x,
> Amit
>
>
>
>

Reply via email to