Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453986 - Cannot bootstrap - emerge -e system dies due to pkgconfig blocked by EAPI 5
Summary: Cannot bootstrap - emerge -e system dies due to pkgconfig blocked by EAPI 5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: Normal major
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 12:53 UTC by Krzysztof Nowicki
Modified: 2013-03-24 10:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Nowicki 2013-01-25 12:53:50 UTC
When trying to bootstrap a fresh prefix installation (on Ubuntu) the bootstrapping process dies after completing stage 3 when trying to perform emerge -e system.

The reason for the breakage is that the prefix overlay contains an old portage version which is not updated during any of the stages.



Reproducible: Always

Steps to Reproduce:
1. Download latest bootstrap-prefix.sh
2. Execute bootstrap-prefix.sh to create a fresh prefix installation.
Actual Results:  
Bootstrap fails after completing stage 3:

* stage3 successfully finished

 * IMPORTANT: 4 news items need reading for repository 'gentoo_prefix'.
 * Use eselect news to read news items.

Calculating dependencies... done!
Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=dev-util/pkgconfig-0.27.1" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/pkgconfig-9999::gentoo_prefix (masked by: EAPI 5)
- dev-util/pkgconfig-0.28::gentoo_prefix (masked by: EAPI 5)
- dev-util/pkgconfig-0.27.1::gentoo_prefix (masked by: EAPI 5)

The current version of portage supports EAPI '4'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.


Expected Results:  
Bootstrap should complete without problems.

The problem can be resolved by manually upgrading portage inside the prefix and running emerge -e system again. This time it works without problems.
Comment 1 Benda Xu gentoo-dev 2013-01-25 13:14:12 UTC
Thanks a lot for reporting. This bug is being worked upon.
Comment 2 Fabian Groffen gentoo-dev 2013-01-27 21:22:44 UTC
snapshot update impossible, bootstrapping is in a miserable state, due to portage erroring out (xception BlockingIOError: BlockingIOError(35, 'write could not complete without blocking', 0) in <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'> ignored)
Comment 3 Benda Xu gentoo-dev 2013-01-28 01:54:35 UTC
(In reply to comment #2)
> snapshot update impossible, bootstrapping is in a miserable state, due to
> portage erroring out (xception BlockingIOError: BlockingIOError(35, 'write
> could not complete without blocking', 0) in <_io.TextIOWrapper
> name='<stdout>' mode='w' encoding='UTF-8'> ignored)

Not aware of details of the snapshot update. What does this error mean?
Comment 4 Fabian Groffen gentoo-dev 2013-01-28 21:46:18 UTC
this means we have a portage that is horribly broken, preventing the whole bootstrap process to succeed
Comment 5 Eric Huang 2013-02-17 23:53:23 UTC
On OpenSUSE 11, I ran into this error with the automated bootstrap script. When it aborted with the EAPI4 error, I was able to continue by doing the following: 1) set the environment variables per the manual bootstrap process, 2) emerge portage, 3) emerge -e system (what the script originally failed on). I ran into another error after that but at least this allowed me to move forward from the EAPI4 error and get further along.
Comment 6 Fabian Groffen gentoo-dev 2013-03-24 10:34:13 UTC
this should be fixed tomorrow, thanks