1 |
How do unsubscrib |
2 |
|
3 |
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 |
4 |
|
5 |
From: J. Roeleveld<mailto:joost@××××××××.org> |
6 |
Sent: Tuesday, June 16, 2020 3:36 PM |
7 |
To: gentoo-user@l.g.o<mailto:gentoo-user@l.g.o> |
8 |
Subject: Re: [gentoo-user] emerge -u fails with "OSError: [Errno 12] Cannot allocate memory" |
9 |
|
10 |
On 16 June 2020 20:31:56 CEST, n952162 <n952162@×××.de> wrote: |
11 |
>Admonished to get everything updated, I turned to my raspberry pi with |
12 |
>Sakaki's binary image. Synced and updated portage with no problem. |
13 |
>Then I did an emerge -u @world and got (after *hours* of dependency |
14 |
>checking): |
15 |
> |
16 |
> >>> Jobs: 0 of 206 complete, 1 running Load avg: 2.84, 3.44, 3.85 |
17 |
> >>> Emerging binary (1 of 206) sys-libs/glibc-2.31-r5::gentoo |
18 |
> >>> Jobs: 0 of 206 complete, 1 running Load avg: 2.84, 3.44, 3.85 |
19 |
> >>> Jobs: 0 of 206 complete Load avg: 3.60, 3.54, 3.87 |
20 |
> >>> Installing (1 of 206) sys-libs/glibc-2.31-r5::gentoo |
21 |
> >>> Jobs: 0 of 206 complete Load avg: 3.60, 3.54, 3.87 |
22 |
>Exception in callback AsynchronousTask._exit_listener_cb(<bound |
23 |
>method...0x7f9180d9d8>>) |
24 |
>handle: <Handle AsynchronousTask._exit_listener_cb(<bound |
25 |
>method...0x7f9180d9d8>>)> |
26 |
>Traceback (most recent call last): |
27 |
> File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run |
28 |
> self._callback(*self._args) |
29 |
> File |
30 |
>"/usr/lib64/python3.6/site-packages/_emerge/AsynchronousTask.py", line |
31 |
>201, in _exit_listener_cb |
32 |
> listener(self) |
33 |
> File |
34 |
>"/usr/lib64/python3.6/site-packages/_emerge/BinpkgPrefetcher.py", line |
35 |
>31, in _fetcher_exit |
36 |
> self._start_task(verifier, self._verifier_exit) |
37 |
> File "/usr/lib64/python3.6/site-packages/_emerge/CompositeTask.py", |
38 |
>line 113, in _start_task |
39 |
> task.start() |
40 |
> File |
41 |
>"/usr/lib64/python3.6/site-packages/_emerge/AsynchronousTask.py", line |
42 |
>30, in start |
43 |
> self._start() |
44 |
> File "/usr/lib64/python3.6/site-packages/_emerge/BinpkgVerifier.py", |
45 |
>line 59, in _start |
46 |
> self._digester_exit) |
47 |
> File "/usr/lib64/python3.6/site-packages/_emerge/CompositeTask.py", |
48 |
>line 113, in _start_task |
49 |
> task.start() |
50 |
> File |
51 |
>"/usr/lib64/python3.6/site-packages/_emerge/AsynchronousTask.py", line |
52 |
>30, in start |
53 |
> self._start() |
54 |
> File |
55 |
>"/usr/lib64/python3.6/site-packages/portage/util/_async/FileDigester.py", |
56 |
>line 30, in _start |
57 |
> ForkProcess._start(self) |
58 |
> File "/usr/lib64/python3.6/site-packages/_emerge/SpawnProcess.py", |
59 |
>line 112, in _start |
60 |
> retval = self._spawn(self.args, **kwargs) |
61 |
> File |
62 |
>"/usr/lib64/python3.6/site-packages/portage/util/_async/ForkProcess.py", |
63 |
>line 24, in _spawn |
64 |
> pid = os.fork() |
65 |
> File "/usr/lib64/python3.6/site-packages/portage/__init__.py", line |
66 |
>246, in __call__ |
67 |
> rval = self._func(*wrapped_args, **wrapped_kwargs) |
68 |
>OSError: [Errno 12] Cannot allocate memory |
69 |
> |
70 |
>What's the recommended course of action here? |
71 |
> |
72 |
>Log attached. |
73 |
|
74 |
Suggestion: |
75 |
1) ensure you only have 1 job running and absolutely no parallel builds. "--jobs 1" for both emerge and make |
76 |
|
77 |
2) get SWAP, preferably on USB stick/harddrive so as not to kill the SD card. |
78 |
|
79 |
Because rasppis are low on memory and they have very specific uses, I tend not to bother with Gentoo on them. |
80 |
|
81 |
-- |
82 |
Joost |
83 |
-- |
84 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |