pkgcore / pkgcheck

pkgcore-based QA utility for ebuild repos
https://pkgcore.github.io/pkgcheck
BSD 3-Clause "New" or "Revised" License
34 stars 29 forks source link

[Bug]: sudden error: repos.conf: default repo 'gentoo' is undefined or invalid #686

Closed NHOrus closed 1 week ago

NHOrus commented 1 week ago

Is there an existing issue for this?

Current Behavior

While working in clone of git "gentoo" repository located well outside /var/db/repos, every inocation of pkgcheck ends with message error: repos.conf: default repo 'gentoo' is undefined or invalid instead of doing anything at all.

Expected Behavior

pkgcheck and pkgdev to work normally, like they did three weeks ago. My workflow involves mounting clone of git repository inside different containers and working with copy on host, including pkgdev/pkgcheck invocations.

pkgcheck version

pkgcheck 0.10.30

pkgcore version

pkgcore 0.12.27

NHOrus commented 1 week ago

This may be a bug in stage3 instead.

After eselect repository add gentoo everything started working

arthurzam commented 1 week ago

I suspect "/etc/portage/repos.conf/" wasn't configured correctly, or pointing to non existing repo. pkgcheck requires correctly configured repos & stuff to work.