From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A2E71382C5 for ; Tue, 16 Jun 2020 19:35:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC7C7E098F; Tue, 16 Jun 2020 19:35:30 +0000 (UTC) Received: from gw1.antarean.org (gw1.antarean.org [194.145.200.214]) by pigeon.gentoo.org (Postfix) with ESMTP id 54919E08FE for ; Tue, 16 Jun 2020 19:35:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 49mdF06PRBz17Qp for ; Tue, 16 Jun 2020 21:15:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from gw1.antarean.org ([127.0.0.1]) by localhost (gw1.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F2rJyvw3-MWi for ; Tue, 16 Jun 2020 21:15:00 +0200 (CEST) Received: from mailstore1.antarean.org (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 49mdF03xRJz16FG for ; Tue, 16 Jun 2020 21:15:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailstore1.antarean.org (Postfix) with ESMTP id 49mdhV3CtLz15 for ; Tue, 16 Jun 2020 21:35:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from mailstore1.antarean.org ([127.0.0.1]) by localhost (mailstore1.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z9wKREJ2wqFH for ; Tue, 16 Jun 2020 21:35:22 +0200 (CEST) Received: from lan102.nl.antarean.org (lan102.nl.antarean.org [10.20.13.202]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mailstore1.antarean.org (Postfix) with ESMTPSA id 49mdhV0NX5zj for ; Tue, 16 Jun 2020 21:35:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1592336122; bh=cMd+rKn7aLkAVLDzdUi5hlpaGh1Kmq4OBWRTgKWOzjI=; h=Date:In-Reply-To:References:Subject:To:From; b=JacTlmavX1daDKqrzCFpNg6BDoRkQf+TH0FOjLk0MVeeupirGMmVJPElsAOnx5lMA pBgIqqVPP2Psh09EhhPnS07x038foUdgn1vqZFPojiyGOMzH+3nTtWexn5Sl8kbTZ4 Ll+0WxqFrsoBHH0+VDqNvJ3wx9monX4QbyZSu9Us= Date: Tue, 16 Jun 2020 21:35:20 +0200 User-Agent: K-9 Mail for Android In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [gentoo-user] emerge -u fails with "OSError: [Errno 12] Cannot allocate memory" To: gentoo-user@lists.gentoo.org From: "J. Roeleveld" Message-ID: <44C21CB3-B137-4753-AEE7-50EDE29A43AD@antarean.org> X-Archives-Salt: 4c15de4f-1619-4f63-ba67-368267453bf4 X-Archives-Hash: e5d4af6b4884eb2bd1afa077ad2fe009 On 16 June 2020 20:31:56 CEST, n952162 wrote: >Admonished to get everything updated, I turned to my raspberry pi with >Sakaki's binary image=2E=C2=A0 Synced and updated portage with no problem= =2E=C2=A0 >Then I did an emerge -u @world and got (after *hours* of dependency >checking): > > >>> Jobs: 0 of 206 complete, 1 running Load avg: 2=2E84, 3=2E44, 3=2E85 > >>> Emerging binary (1 of 206) sys-libs/glibc-2=2E31-r5::gentoo > >>> Jobs: 0 of 206 complete, 1 running Load avg: 2=2E84, 3=2E44, 3=2E85 > >>> Jobs: 0 of 206 complete Load avg: 3=2E60, 3=2E54, 3=2E87 > >>> Installing (1 of 206) sys-libs/glibc-2=2E31-r5::gentoo > >>> Jobs: 0 of 206 complete Load avg: 3=2E60, 3=2E54, 3=2E87 >Exception in callback AsynchronousTask=2E_exit_listener_cb(method=2E=2E=2E0x7f9180d9d8>>) >handle: method=2E=2E=2E0x7f9180d9d8>>)> >Traceback (most recent call last): > =C2=A0 File "/usr/lib64/python3=2E6/asyncio/events=2Epy", line 145, in _= run > =C2=A0=C2=A0=C2=A0 self=2E_callback(*self=2E_args) > =C2=A0 File >"/usr/lib64/python3=2E6/site-packages/_emerge/AsynchronousTask=2Epy", lin= e >201, in _exit_listener_cb > =C2=A0=C2=A0=C2=A0 listener(self) > =C2=A0 File >"/usr/lib64/python3=2E6/site-packages/_emerge/BinpkgPrefetcher=2Epy", lin= e >31, in _fetcher_exit > =C2=A0=C2=A0=C2=A0 self=2E_start_task(verifier, self=2E_verifier_exit) > =C2=A0 File "/usr/lib64/python3=2E6/site-packages/_emerge/CompositeTask= =2Epy", >line 113, in _start_task > =C2=A0=C2=A0=C2=A0 task=2Estart() > =C2=A0 File >"/usr/lib64/python3=2E6/site-packages/_emerge/AsynchronousTask=2Epy", lin= e >30, in start > =C2=A0=C2=A0=C2=A0 self=2E_start() > =C2=A0 File "/usr/lib64/python3=2E6/site-packages/_emerge/BinpkgVerifier= =2Epy", >line 59, in _start > =C2=A0=C2=A0=C2=A0 self=2E_digester_exit) > =C2=A0 File "/usr/lib64/python3=2E6/site-packages/_emerge/CompositeTask= =2Epy", >line 113, in _start_task > =C2=A0=C2=A0=C2=A0 task=2Estart() > =C2=A0 File >"/usr/lib64/python3=2E6/site-packages/_emerge/AsynchronousTask=2Epy", lin= e >30, in start > =C2=A0=C2=A0=C2=A0 self=2E_start() > =C2=A0 File >"/usr/lib64/python3=2E6/site-packages/portage/util/_async/FileDigester=2E= py", >line 30, in _start > =C2=A0=C2=A0=C2=A0 ForkProcess=2E_start(self) > =C2=A0 File "/usr/lib64/python3=2E6/site-packages/_emerge/SpawnProcess= =2Epy", >line 112, in _start > =C2=A0=C2=A0=C2=A0 retval =3D self=2E_spawn(self=2Eargs, **kwargs) > =C2=A0 File >"/usr/lib64/python3=2E6/site-packages/portage/util/_async/ForkProcess=2Ep= y", >line 24, in _spawn > =C2=A0=C2=A0=C2=A0 pid =3D os=2Efork() > =C2=A0 File "/usr/lib64/python3=2E6/site-packages/portage/__init__=2Epy"= , line >246, in __call__ > =C2=A0=C2=A0=C2=A0 rval =3D self=2E_func(*wrapped_args, **wrapped_kwargs= ) >OSError: [Errno 12] Cannot allocate memory > >What's the recommended course of action here? > >Log attached=2E Suggestion: 1) ensure you only have 1 job running and absolutely no parallel builds=2E= "--jobs 1" for both emerge and make 2) get SWAP, preferably on USB stick/harddrive so as not to kill the SD ca= rd=2E Because rasppis are low on memory and they have very specific uses, I tend= not to bother with Gentoo on them=2E -- Joost --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E