Re: eselect profile list fails

John Blinka <[email protected]> Wed, 3 Jun 2026 16:10:03 -0400
Newsgroups gmane.linux.gentoo.user
Message-ID <CAC_tCmqXscgucC7GVVSfgZ7KeaYVE3ozLjLdh_HiPPvWH-UTKQ@mail.gmail.com>
On Wed, Jun 3, 2026 at 3:55=E2=80=AFPM D. Ben Knoble <[email protected]>=
 wrote:
>
> On Wed, Jun 3, 2026 at 11:20=E2=80=AFAM John Blinka <[email protected]=
m> wrote:
> >
> > On Wed, Jun 3, 2026 at 10:23=E2=80=AFAM Javier Martinez <tazok.id0@gmai=
l.com> wrote:
> > >
> > > El 3/6/26 a las 16:16, John Blinka escribi=C3=B3:
> > > > On Wed, Jun 3, 2026 at 9:45=E2=80=AFAM Javier Martinez <tazok.id0@g=
mail.com> wrote:
> > > >>
> > > >> El 3/6/26 a las 15:40, John Blinka escribi=C3=B3:
> > > >>> Hello, everyone,
> > > >>>
> > > >>> Could use some help.
> > > >>>
> > > >>> eselect profile list gives this error on all my boxes:
> > > >>> !!! Error: Failed to get a list of valid profiles
> > > >>>
> > > >>> All boxes have identical setup, all are amd64.
> > > >>>
> > > >>> ls -l make.profile gives
> > > >>> make.profile ->
> > > >>> ../../var/db/repos/gentoo/profiles/default/linux/amd64/23.0/deskt=
op,
> > > >>> whose contents are:
> > > >>> eapi  gnome/  parent  plasma/  systemd/
> > > >>>
> > > >>> I run openrc and xfce4 with a smattering of rarely used gnome/kde=
/
> > > >>> apps. For the most part I run a stable system, with occasional us=
e of
> > > >>> ~amd64. I keep up-to-date with portage. My systems have been very
> > > >>> stable, although I am wrestling with the recent python upgrade, w=
ith
> > > >>> sound support on one box, and the recent spate of kernel upgrades=
. The
> > > >>> problems with eselect profile list have existed for months and pr=
edate
> > > >>> my current issues. This problem has just now arisen to the top of=
 my
> > > >>> TODO list.
> > > >>>
> > > >>> The error message doesn't give me any guidance. The usual Googlin=
g
> > > >>> doesn't uncover much except recommendations to update portage, wh=
ich I
> > > >>> do very regularly.
> > > >>>
> > > >>> Thanks for any ideas on where to start looking!
> > > >>>
> > > >>> John Blinka
> > > >>>
> > > >>
>
> >
> > Ah ha!
> > --> grep EACCESS output
> > 20075 faccessat2(AT_FDCWD,
> > "/var/db/repos/gentoo/profiles/profiles.desc", R_OK, AT_EACCESS) =3D 0
> > 20075 faccessat2(AT_FDCWD,
> > "/var/db/repos/portage-crossdev/profiles/profiles.desc", R_OK,
> > AT_EACCESS) =3D -1 ENOENT (No such file or directory)
> > 20075 faccessat2(AT_FDCWD,
> > "/var/db/repos/guru/profiles/profiles.desc", R_OK, AT_EACCESS) =3D -1
> > ENOENT (No such file or directory)
> > 20075 faccessat2(AT_FDCWD,
> > "/var/db/repos/local/profiles/profiles.desc", R_OK, AT_EACCESS) =3D -1
> > ENOENT (No such file or directory)
> > 20075 faccessat2(AT_FDCWD,
> > "/var/db/repos/science/profiles/profiles.desc", R_OK, AT_EACCESS) =3D -=
1
> > ENOENT (No such file or directory)
> >
> > All of my additional repos are missing a required profiles.desc. I'll
> > have to reread how to add a repo.  Perhaps something has changed in
> > the past year or so.
> >
> > You are always quite helpful. Thanks!
> >
> > John
>
> Does sync'ing not bring the right file? (Does it not exist or does it
> not have the right ownership + permissions?)
>
> --
> D. Ben Knoble
>

I have had those overlays for years and have never had the
profiles.desc file in any but the main gentoo repo. Sync'ing, which I
do frequently and regularly, does not bring those files in at all.
Checking the guru overlay at
https://github.com/gentoo-mirror/guru/tree/master/profiles indicates
that profiles.desc is just not a part of the overlay at all. Similarly
for the science overlay at github. I presume the remaining overlays
similarly lack that file.

John