1 |
Hi, |
2 |
|
3 |
> Which gcc requires glibc-2.29. Could you elaborate on that? |
4 |
Sorry, I have not logged the version but it was using keyword ~amd64 (Steps |
5 |
to reproduce |
6 |
<https://gist.github.com/zshzero/e9f7d763923203b3e8a14c8883ce4ed6>) |
7 |
|
8 |
> I am concerned that if you use this profile, the system will not be a |
9 |
chromebook anymore. |
10 |
I was missing many keywords, so i changed the profile Also, I was prefixing |
11 |
it to /usr/local to keep the system safe |
12 |
|
13 |
> Where are you compiling perl? Why do you need to cross compile perl? I |
14 |
am completely confused. |
15 |
Here is the list <https://pastebin.com/1esZwLcc> of circular dependencies. |
16 |
I was trying to add them to crOS |
17 |
|
18 |
> This is wrong. 'amd64' is a Gentoo KEYWORD, do not mix it with USE. |
19 |
I got this advice from irc channel for error => invalid: REDEPEND: USE flag |
20 |
'amd64' referenced in conditional 'amd64?' is not in use |
21 |
|
22 |
|
23 |
On Sun, 28 Jun 2020 at 19:33, Benda Xu <heroxbd@g.o> wrote: |
24 |
|
25 |
> Hi Ashwin, |
26 |
> |
27 |
> Ashwin Kumar <ashwinkumar3098@×××××.com> writes: |
28 |
> |
29 |
> > As gcc needed glibc version 2.29, |
30 |
> |
31 |
> Which gcc requires glibc-2.29. Could you elaborate on that? |
32 |
> |
33 |
> > I started emerging it with its dependencies and also by adding |
34 |
> > required use flags. But it built a glibc that doesn’t work and failed |
35 |
> > sanity checks. So, I changed the profile to |
36 |
> > default/linux/amd64/17.1/desktop |
37 |
> |
38 |
> I am concerned that if you use this profile, the system will not be a |
39 |
> chromebook anymore. |
40 |
> |
41 |
> > and added gcc, glibc to packages.provided which overcame the problem |
42 |
> > of circular dependencies. |
43 |
> > |
44 |
> > Then, It needed perl package, So I had to cross compile it using |
45 |
> > crossdev. |
46 |
> |
47 |
> (from your blog) |
48 |
> > After all this, perl package failed to emerge by giving an error that it |
49 |
> > couldn’t cross-compile perl. I asked on IRC Channel and they asked me to |
50 |
> > find the right version of perl to emerge which is compatible perl-cross |
51 |
> |
52 |
> > x86_64-cros-linux-gnu-emerge -av1 =dev-lang/perl-5.30.1 |
53 |
> |
54 |
> Where are you compiling perl? Why do you need to cross compile perl? I |
55 |
> am completely confused. |
56 |
> |
57 |
> > At last, I zipped the toolchain directory, copied to crOS and unzipped |
58 |
> > it. But it failed as it had less space on its root partition. I |
59 |
> > referred a script called chromeos-resize.sh and learnt things that was |
60 |
> > required. It successfully extended the root partition. |
61 |
> |
62 |
> (from your blog) |
63 |
> > Similarly as above, Missing USE flag 'amd64' So, added amd64 use flag |
64 |
> > under IUSE_IMPLICIT variable to |
65 |
> > /etc/portage/make.profile/make.defaults |
66 |
> |
67 |
> > IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest kernel_linux amd64" |
68 |
> |
69 |
> This is wrong. 'amd64' is a Gentoo KEYWORD, do not mix it with USE. |
70 |
> Please look for ACCEPT_KEYWORDS in the profile. Refer to, |
71 |
> |
72 |
> https://wiki.gentoo.org/wiki/ACCEPT_KEYWORDS |
73 |
> |
74 |
> |
75 |
> Benda |
76 |
> |
77 |
|
78 |
|
79 |
-- |
80 |
- Regards |
81 |
|
82 |
Ashwin A Kumar |