Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487156 - emerge --sync regression from 2.1
Summary: emerge --sync regression from 2.1
Status: RESOLVED DUPLICATE of bug 484730
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2013-10-06 22:12 UTC by Rick Farina (Zero_Chaos)
Modified: 2013-10-07 14:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Rick Farina (Zero_Chaos) gentoo-dev 2013-10-06 22:12:34 UTC
on a fresh stage, gentoo ships an empty /usr/portage.

When a user unpacks said fresh stage and tries to sync, they are greeted with:

Atropos-XR usr # ls portage/
Atropos-XR usr # emerge --sync
!!! Section 'gentoo' in repos.conf refers to repository without repository name set in '/usr/portage/profiles/repo_name'
Unavailable repository 'gentoo' referenced by masters entry in '/var/lib/layman/pentoo/metadata/layout.conf'
!!! Unable to parse profile: '/etc/portage/make.profile'
!!! ParseError: Parent 'gentoo:default/linux/arm/13.0/armv7a' not found: '/var/lib/layman/pentoo/profiles/pentoo/default/linux/arm/parent'

!!! 'sys-apps/portage' has a category that is not listed in /etc/portage/categories

 * An update to portage is available. It is _highly_ recommended
 * that you update portage now, before any other packages are updated.

 * To update portage, run 'emerge --oneshot portage' now.

Not only is this a regression from 2.1 (which had no issues syncing from an empty /usr/portage) but the message is beyond useless as it gives entirely bad advice.

Please fix to properly sync from an empty /usr/portage without error.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2013-10-06 22:20:58 UTC
sorry, not on a fresh stage, just on any system where /usr/portage was a bind mount (like all of the stages I create)
Comment 2 Arfrever Frehtes Taifersar Arahesis 2013-10-07 08:20:11 UTC
Portage 2.2.7 or and older version?
Comment 3 Steev Klimaszewski (RETIRED) gentoo-dev 2013-10-07 08:29:15 UTC
Current stable (2.2.1) - you can reproduce by simply deleting everything in /usr/portage - but leave /usr/portage there, and attempt to sync.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2013-10-07 13:49:59 UTC
Looks like 2.2.7 fixes this, we really need to get that stabled.
Comment 5 Alexander Berntsen (RETIRED) gentoo-dev 2013-10-07 13:58:56 UTC

This bug last appears in this commit:
5efeeb8fe8618e2ae8ecc6f774221746896774ee | dohtml: restore behavior noted in bug #425214

It disappears with this commit:
1e8c9a72279eeec615a3c25d3fef360888528b8b | Bug #484730: In sync mode, use repos.conf section name when repo_name file is missing.

This means it should be fixed in v2.2.5.
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2013-10-07 14:01:32 UTC

*** This bug has been marked as a duplicate of bug 484730 ***