Gentoo Archives: gentoo-alt

From: Michael Schubert <mschu.dev@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] prefix bootstrap on RHEL7
Date: Tue, 26 Jul 2016 17:24:25
Message-Id: CAPVh6Y5BQtJNzwdNTjO19tj+QA889W_MPSXh5a2VE0Uhv7Vx8A@mail.gmail.com
In Reply to: Re: [gentoo-alt] prefix bootstrap on RHEL7 by Fabian Groffen
1 Thank you for your answers (and sorry for the delayed reply).
2
3 I managed a bootstrap with prefix now (rap failed for other reasons), but I
4 had to do what I mentioned above and the following:
5
6 * add ebuild for python 3.5.2 and adjust patches
7 * disable python 3.4
8 * try..except in setting user and group in portage (this fails on my system)
9 * openssh-7.1_p1.ebuild --> openssh-7.1_p2.ebuild and fix patch levels
10
11 cheers
12 Michael
13
14 On Sat, 16 Jul 2016 at 17:46 Fabian Groffen <grobian@g.o> wrote:
15
16 > On 16-07-2016 21:58:41 +0900, Benda Xu wrote:
17 > > Hi Michael,
18 > >
19 > > Have you tried RAP at
20 > >
21 > > https://wiki.gentoo.org/wiki/Prefix/libc
22 > >
23 > > It passed the test on CentOS 7.
24 > >
25 > > Michael Schubert <mschu.dev@×××××.com> writes:
26 > >
27 > > > I'm currently trying to bootstrap prefix on RH7.
28 > > >
29 > > > I'm running into a couple of issues, but would rather try and sort
30 > > > them out than submitting a bug report.
31 > > >
32 > > > * ${ROOT}/bin/bash [defunct link] collides with bash in stage3
33 > > > line #1448, disable collision protect works as a workaround:
34 > > > USE=-collision-protect emerge_pkgs --nodeps "${pkgs[@]}" || return 1
35 > >
36 > > This one look unfamilar to me. How could it become a [defunct link]?
37 >
38 > bootstrap_portage:
39 > [[ -x ${ROOT}/tmp/bin/bash ]] || [[ ! -x ${ROOT}/tmp/usr/bin/bash ]]
40 > || ln -s ../usr/bin/bash "${ROOT}"/tmp/bin/bash || return 1
41 >
42 > so all that needs to happen is ${ROOT}/tmp/ to be wiped, which we do in
43 > stage3, because we assume that emerge -e system has taken care of this.
44 > I guess the hash -r needs to move after the rm, which was forgotten in
45 >
46 > https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f3c51fb01b54321c026cfb2857ba3ee65cecaf98
47 >
48 > > > * =sys-libs/libseccomp-2.3.1 needs keywords ** in $
49 > > > {ROOT}/etc/portage/package.accept_keywords, otherwise fail in emerge -
50 > > > u system #1544
51 > >
52 > > That's because prefix overlay is a bit behind the main tree.
53 >
54 > If it's keyworded in gx86 and not in prefix-overlay, then that's just
55 > stupid IMO.
56 >
57 > > > * python 3.5 fails building _crypt and nis
58 > > > WARNING: renaming "_crypt" since importing it failed:
59 > > > build/lib.linux-x86_64-3.5/_crypt.cpython-35-x86_64-linux-gnu.so:
60 > > > undefined symbol: crypt
61 > > > WARNING: renaming "nis" since importing it failed:
62 > > > build/lib.linux-x86_64-3.5/nis.cpython-35-x86_64-linux-gnu.so:
63 > > > undefined symbol: yp_master
64 > >
65 > > It is https://bugs.gentoo.org/show_bug.cgi?id=587664
66 > >
67 > > Probably a glibc compatibility issue, could be solved by a new glibc
68 > > with RAP.
69 >
70 > Yes, could be, but there's likely another problem here.
71 >
72 > Fabian
73 >
74 > --
75 > Fabian Groffen
76 > Gentoo on a different level
77 >

Replies

Subject Author
Re: [gentoo-alt] prefix bootstrap on RHEL7 Benda Xu <heroxbd@g.o>