From: | Sam Pfeiffer <sammypfeiffer@×××××.com> | ||
---|---|---|---|
To: | gentoo-alt@l.g.o | ||
Subject: | Re: [gentoo-alt] Gentoo Prefix bootstrap fails on Stage 3 due to circular dependencies (dev-lang/python-3.7.7-r2 pulls virtual/libcrypt-1-r1:0/1::gentoo) | ||
Date: | Wed, 01 Jul 2020 02:04:54 | ||
Message-Id: | CABVqfw8okG8Zk8ypte=sy+q5VC6m2_kZBagSjTjrxJbiqApn+A@mail.gmail.com | ||
In Reply to: | Re: [gentoo-alt] Gentoo Prefix bootstrap fails on Stage 3 due to circular dependencies (dev-lang/python-3.7.7-r2 pulls virtual/libcrypt-1-r1:0/1::gentoo) by Jeff |
1 | Hello Jeff, |
2 | |
3 | |
4 | > > Alternatively you could use an already bootstrapped prefix |
5 | > > from https://github.com/awesomebytes/gentoo_prefix_ci#try-gentoo-prefix |
6 | > > from a couple of weeks ago. |
7 | > |
8 | > Thanks for providing these. These seem to have been built at |
9 | > /tmp/gentoo. You suggest that they should just work at (more or less) |
10 | > any new path. |
11 | > |
12 | |
13 | Yeah, it has worked to me on any system thanks to a different trick as |
14 | shown here: |
15 | https://github.com/awesomebytes/gentoo_prefix_ci/blob/master/package_stage/startprefix |
16 | |
17 | Instead of relocating the binaries (which failed in a system I had) I |
18 | create a softlink in /tmp/gentoo to wherever the Gentoo Prefix is extracted |
19 | when executing 'startprefix'. |
20 | This makes it work anywhere, as far as I've tried. |
21 | |
22 | |
23 | > |
24 | > The FAQ says: |
25 | > |
26 | > If the dynamic loader is prefixified, it should be found at runtime. |
27 | > |
28 | > Install elfutils on the hosting operating system. See for example: |
29 | > $ ldd ${EPREFIX}/bin/bash |
30 | > $ readelf --relocs ${EPREFIX}/bin/bash |
31 | > $ readelf --all ${EPREFIX}/bin/bash |
32 | > |
33 | > Under what circumstances do you have to do the ldd and readelf stuff above? |
34 | > |
35 | > Regards |
36 | > |
37 | > Jeff |
38 | > |
39 | > [1] |
40 | > |
41 | > https://wiki.gentoo.org/wiki/Project:Prefix/FAQ#Can_I_move_binaries_to_another_host.3F |
42 | > |
43 | > |
44 | |
45 | -- |
46 | |
47 | *Sammy Pfeiffer* |
48 | PhD Candidate at The Magic Lab within UTS. |