Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 482356

Summary: sys-apps/portage: Section 'gentoo' in repos.conf has name different from repository name 'gentoo_prefix' set inside repository
Product: Gentoo/Alt Reporter: Guilherme Amadio <amadio>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED CANTFIX    
Severity: minor CC: dev-portage
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: repos.conf

Description Guilherme Amadio gentoo-dev 2013-08-24 19:53:52 UTC
I keep getting the message below when using emerge. I have a fresh install of prefix, so I don't know why it's happening. Portage functions normally, though.

The message always appears right after running eautoreconf on an emerge:

!!! Section 'gentoo' in repos.conf has name different from repository name 'gentoo_prefix' set inside repository

Not all packages produce this message. Try emerging media-libs/gd, for example.

The only repos.conf I have in the system was created by portage at:
$EPREFIX/usr/share/portage/config/repos.conf


Reproducible: Sometimes
Comment 1 Fabian Groffen gentoo-dev 2013-08-27 16:31:21 UTC
can you post the contents of that file?  ($EPREFIX/usr/share/portage/config/repos.conf)
Comment 2 Guilherme Amadio gentoo-dev 2013-08-28 17:54:12 UTC
Created attachment 357264 [details]
repos.conf

This is the contents of my repos.conf. It belongs to portage.
Comment 3 Fabian Groffen gentoo-dev 2013-08-28 19:34:42 UTC
@Zac: looks like we nowhere reference "gentoo", is there a default hardwired into portage somewhere?
Comment 4 Zac Medico gentoo-dev 2013-08-28 19:40:35 UTC
(In reply to Fabian Groffen from comment #3)
> @Zac: looks like we nowhere reference "gentoo", is there a default hardwired
> into portage somewhere?

Other than, $EPREFIX/usr/share/portage/config/repos.conf, also check $EPREFIX/etc/portage/repos.conf. It's not hardwired anywhere.
Comment 5 Benda Xu gentoo-dev 2013-08-28 19:43:17 UTC
It's at ${EPREFIX}/usr/share/portage/config/repos.conf
Comment 6 Fabian Groffen gentoo-dev 2013-09-16 18:20:12 UTC
I have the impresion Arfrever fixed this in 2.2.4+
Comment 7 Guilherme Amadio gentoo-dev 2013-09-16 21:46:46 UTC
I just tested this and I still see the message on portage 2.2.4. Try emerging media-libs/gd, for example, and watching for the message to appear right after eautoreconf is run.

I can provide more information on my system if needed.
Comment 8 Fabian Groffen gentoo-dev 2013-10-22 19:15:07 UTC
I see this happening too
Comment 9 Fabian Groffen gentoo-dev 2014-03-01 09:34:48 UTC
This warning sticks for some reason, but it doesn't seem to harm (yet).
Comment 10 Guilherme Amadio gentoo-dev 2014-12-05 16:13:53 UTC
FWIW, commenting out the 'aliases = gentoo' line in ${EPREFIX}/usr/portage/metadata/layout.conf makes these annoying messages go away.