Re: eselect profile list fails

"D. Ben Knoble" <[email protected]> Wed, 3 Jun 2026 17:10:50 -0400
Newsgroups gmane.linux.gentoo.user
Message-ID <CALnO6CBLH=VEhzOZhLG6iaXN7_atX81=SnHCecmvVDGTj79rUw@mail.gmail.com>
On Wed, Jun 3, 2026 at 4:10=E2=80=AFPM John Blinka <[email protected]> =
wrote:
>
> On Wed, Jun 3, 2026 at 3:55=E2=80=AFPM D. Ben Knoble <[email protected]=
m> wrote:
> >
> > On Wed, Jun 3, 2026 at 11:20=E2=80=AFAM John Blinka <john.blinka@gmail.=
com> wrote:
> > >
> > > On Wed, Jun 3, 2026 at 10:23=E2=80=AFAM Javier Martinez <tazok.id0@gm=
ail.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=
@gmail.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/des=
ktop,
> > > > >>> whose contents are:
> > > > >>> eapi  gnome/  parent  plasma/  systemd/
> > > > >>>
> > > > >>> I run openrc and xfce4 with a smattering of rarely used gnome/k=
de/
> > > > >>> apps. For the most part I run a stable system, with occasional =
use of
> > > > >>> ~amd64. I keep up-to-date with portage. My systems have been ve=
ry
> > > > >>> stable, although I am wrestling with the recent python upgrade,=
 with
> > > > >>> sound support on one box, and the recent spate of kernel upgrad=
es. The
> > > > >>> problems with eselect profile list have existed for months and =
predate
> > > > >>> 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 Googl=
ing
> > > > >>> doesn't uncover much except recommendations to update portage, =
which 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

Doh, right.

I wonder _why_ Portage is looking for profiles there=E2=80=A6

--=20
D. Ben Knoble