Gentoo Archives: gentoo-alt

From: heroxbd <heroxbd@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] problems with bootstrapping in Gentoo-prefix
Date: Thu, 24 Jan 2013 04:43:38
Message-Id: 874ni7199z.fsf@proton.in.awa.tohoku.ac.jp
In Reply to: Re: [gentoo-alt] problems with bootstrapping in Gentoo-prefix by Linpeng Tang
1 Hi,
2
3 Linpeng Tang <chnttlp@×××××.com> writes:
4
5 > emerge python:2.7
6 >
7 > python-updater
8 > according to 
9 > http://en.gentoo-wiki.com/wiki/Python_maintenance
10
11 This site is not official Gentoo Wiki. And this page is outdated.
12
13 The documentation is here:
14
15 http://www.gentoo.org/proj/en/Python/python-r1/user-guide.xml
16
17
18 What I did was:
19
20 To pin portage with python2.7, add lines like
21
22 sys-apps/portage python27
23
24 to $EPREFIX/etc/portage/package.use
25
26 And add
27
28 PYTHON_TARGETS="python_2.7"
29
30 to $EPREFIX/etc/portage/make.conf
31
32
33 > before resuming the installation process, but the
34 > gentoo-prefix-bootstrap.sh fails again. Attached is the build log for
35 > openssh.
36 >
37 > ....
38 > ....
39 > * ${EPREFIX}/bin/chown: changing ownership of
40 > ‘gentoo-headers-base-3.7/include/config’: Operation not permitted
41 >  * ${EPREFIX}/bin/chown: changing ownership of
42 > ‘gentoo-headers-base-3.7/include’: Operation not permitted
43 >  * ${EPREFIX}/bin/chown: changing ownership of
44 > ‘gentoo-headers-base-3.7’: Operation not permitted
45 >
46 >  * Messages for package dev-libs/glib-2.34.1:
47 >
48 >  * Unable to find kernel sources at /usr/src/linux
49 >  * Unable to calculate Linux Kernel version for build, attempting to
50 > use running version
51 >
52 >  * Messages for package net-misc/openssh-6.1_p1:
53 >
54 >  * ERROR: net-misc/openssh-6.1_p1 failed (compile phase):
55 >  *   emake failed
56 >  *
57 >  * Call stack:
58 >  *          ebuild.sh, line   93:  Called call-ebuildshell
59 > 'src_compile'
60 >  *        environment, line  835:  Called src_compile
61 >  *        environment, line 3505:  Called __eapi2_src_compile
62 >  *   phase-helpers.sh, line  622:  Called die
63 >  * The specific snippet of code:
64 >  *              emake || die "emake failed"
65 >  *
66 >  * If you need support, post the output of `emerge --info
67 > '=net-misc/openssh-6.1_p1'`,
68 >  * the complete build log and the output of `emerge -pqv
69 > '=net-misc/openssh-6.1_p1'`.
70 >  * The complete build log is located at
71 > '/state/partition1/linpengt/gentoo/var/tmp/portage/net-misc/openssh-6.1_
72 > p1/temp/build.log'.
73 >  * The ebuild environment file is located at
74 > '/state/partition1/linpengt/gentoo/var/tmp/portage/net-misc/openssh-6.1_
75 > p1/temp/environme\
76 > nt'.
77 >  * Working directory:
78 > '/state/partition1/linpengt/gentoo/var/tmp/portage/net-misc/openssh-6.1_
79 > p1/work/openssh-6.1p1'
80 >  * S:
81 > '/state/partition1/linpengt/gentoo/var/tmp/portage/net-misc/openssh-6.1_
82 > p1/work/openssh-6.1p1'
83 >
84 >  * GNU info directory index is up-to-date.
85 >    
86 >  * IMPORTANT: 4 news items need reading for repository 'gentoo_prefix'.
87 >  * Use eselect news to read news items.
88
89 These seem to be irrelavent to python/portage. Better fire a bug for
90 openssh at http://bugs.gentoo.org