From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp1 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id IOhLCzGa8V4paQAA0tVLHw
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 23 Jun 2020 05:59:13 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1 with LMTPS
	id IKDyBjGa8V5lPAAAbx9fmQ
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 23 Jun 2020 05:59:13 +0000
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 6D34C94053A
	for <larch@yhetil.org>; Tue, 23 Jun 2020 05:59:12 +0000 (UTC)
Received: from localhost ([::1]:44084 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	id 1jnbxe-000568-52
	for larch@yhetil.org; Tue, 23 Jun 2020 01:59:10 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33412)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1jnbxW-00054R-HC
 for bug-guix@gnu.org; Tue, 23 Jun 2020 01:59:02 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:51978)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1jnbxW-0000Un-72
 for bug-guix@gnu.org; Tue, 23 Jun 2020 01:59:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jnbxW-0006yt-5T
 for bug-guix@gnu.org; Tue, 23 Jun 2020 01:59:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#42002: Bug: Signal kill during build
Resent-From: Efraim Flashner <efraim@flashner.co.il>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Tue, 23 Jun 2020 05:59:02 +0000
Resent-Message-ID: <handler.42002.B42002.159289191626802@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 42002
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: "Bonface M. K." <bonfacemunyoki@gmail.com>
Received: via spool by 42002-submit@debbugs.gnu.org id=B42002.159289191626802
 (code B ref 42002); Tue, 23 Jun 2020 05:59:02 +0000
Received: (at 42002) by debbugs.gnu.org; 23 Jun 2020 05:58:36 +0000
Received: from localhost ([127.0.0.1]:35291 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1jnbx5-0006yD-Jz
 for submit@debbugs.gnu.org; Tue, 23 Jun 2020 01:58:35 -0400
Received: from flashner.co.il ([178.62.234.194]:57044)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@flashner.co.il>) id 1jnbx1-0006xu-Dn
 for 42002@debbugs.gnu.org; Tue, 23 Jun 2020 01:58:34 -0400
Received: from localhost (unknown [31.210.181.184])
 by flashner.co.il (Postfix) with ESMTPSA id 0CB6C4007B;
 Tue, 23 Jun 2020 05:58:24 +0000 (UTC)
Date: Tue, 23 Jun 2020 08:57:52 +0300
From: Efraim Flashner <efraim@flashner.co.il>
Message-ID: <20200623055752.GF22974@E5400>
References: <CAHecTjd+wTovtoo+nFNP-HTeiPprch5Bro_04ouP7EWa_Z758Q@mail.gmail.com>
 <20200622124708.GC22974@E5400>
 <CAHecTjfasFvWbgC2+s7WDodDhSqQJxxM7GbksSaBgDdcZOQH0Q@mail.gmail.com>
 <86zh8u39bk.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="nqkreNcslJAfgyzk"
Content-Disposition: inline
In-Reply-To: <86zh8u39bk.fsf@gmail.com>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: 1.5 (+)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-Spam-Score: 0.5 (/)
X-BeenThere: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Cc: =?UTF-8?Q?L=C3=A9on?= Lain Delysid <leon.lain.delysid@gmail.com>,
 42002@debbugs.gnu.org
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+larch=yhetil.org@gnu.org>
X-Scanner: scn0
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org
X-Spam-Score: -2.61
X-TUID: K4JV6FXKIR/O


--nqkreNcslJAfgyzk
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 23, 2020 at 03:38:39AM +0300, Bonface M. K. wrote:
> L=C3=A9on Lain Delysid <leon.lain.delysid@gmail.com> writes:
>=20
> > Oh! Yes, of course, I see!
> > Yes, those little credit card sized one-chip computers are very low on =
resources.
> > So I think it shouldn't build the programs itself but rather download t=
he binaries everytime I "guix pull". What command line
> > option should I use to only download the binaries instead of building e=
verything myself? Could you please give me the command?
> >
> You could try: `guix pull --substitute-urls=3D"https://berlin.guixsd.org
> https://ci.guix.gnu.org https://mirror.hydra.gnu.org"`. Since you are on
> Debian, you should authorize the servers. More of the authorization
> here:
> https://guix.gnu.org/manual/en/html_node/Substitute-Server-Authorization.=
html.
> You could always dry-run your commands to see if the substitutes work.

Actually, berlin.guixsd.org and ci.guix.gnu.org are the same server, and
mirror.hydra.gnu.org was decommissioned a while ago. The second server
for substitutes is https://bayfront.guix.gnu.org.

I think the best option would be to make sure you run 'guix pull'
targeting a derivation which has substitutes. If you check here=C2=B9 you c=
an
see if there's a substitute already available for armhf-linux and run
'guix pull --commit=3Dthe-commit-listed-in-the-link'. Right now, that
would be 42a2ee1f9294614bd85892f2cc7318afb80b174c, which is actually the
latest commit.

=C2=B9 https://ci.guix.gnu.org/jobset/guix-modular-master

>=20
> > On Mon, Jun 22, 2020, 14:47 Efraim Flashner <efraim@flashner.co.il> wro=
te:
> >
> >     On Mon, Jun 22, 2020 at 02:28:33PM +0200, L=C3=A9on Lain Delysid wr=
ote:
> >     > Hello! I'm having a problem on a Banana Pi M3 that runs Debian 10=
 Buster
> >     > (ARM like instruction set).
> >     > "guix pull" always results in failure with this message:
> >     >
> >     > building
> >     > /gnu/store/3has7cgd39q9jb9a78vdzjcyycsa6z96-guix-packages-base.dr=
v...
> >     >=C2=A0 76% [#######################################################
> >     >=C2=A0 =C2=A0 ]builder for
> >     > `/gnu/store/3has7cgd39q9jb9a78vdzjcyycsa6z96-guix-packages-base.d=
rv' failed
> >     > due to signal 9 (Killed)
> >     > build of /gnu/store/3has7cgd39q9jb9a78vdzjcyycsa6z96-guix-package=
s-base.drv
> >     > failed
> >     > View build log at
> >     > '/var/log/guix/drvs/3h/as7cgd39q9jb9a78vdzjcyycsa6z96-guix-packag=
es-base.drv.bz2'.
> >     > cannot build derivation
> >     > `/gnu/store/z728xwhxnaczkjky15939zjp4v2pvrld-guix-cli.drv': 1 dep=
endencies
> >     > couldn't be built
> >     > building
> >     > /gnu/store/rmbf654gah845f3hbzn9hdamn3xn1s25-guix-config-source.dr=
v...
> >     > cannot build derivation
> >     > `/gnu/store/1i3w8dgf5lzapb8l59i3lriskcd8q30c-guix-packages-base-m=
odules.drv':
> >     > 1 dependencies couldn't be built
> >     > cannot build derivation
> >     > `/gnu/store/4rzrb0xwgh2achzijn6fsdkhgqych6br-guix-packages.drv': 1
> >     > dependencies couldn't be built
> >     > cannot build derivation
> >     > `/gnu/store/4hk3v9q8nlzy18xg6cklmrv1x1hi1f4j-guix-system-tests.dr=
v': 1
> >     > dependencies couldn't be built
> >     > cannot build derivation
> >     > `/gnu/store/ha53vvwh6v1d68v1kj5m43csinxlrflc-guix-system.drv': 1
> >     > dependencies couldn't be built
> >     > cannot build derivation
> >     > `/gnu/store/3q6g7ppayihip0wxhghwkq2nc0qg8kd9-guix-fae72ebb4-modul=
es.drv': 1
> >     > dependencies couldn't be built
> >     > cannot build derivation
> >     > `/gnu/store/gl3gim8cd8p920iw3m5qwdyv6zvlhwnv-guix-fae72ebb4.drv':=
 1
> >     > dependencies couldn't be built
> >     > cannot build derivation
> >     > `/gnu/store/85vkb01zgkfmy902m352hjcv35d7hzqb-profile.drv': 1 depe=
ndencies
> >     > couldn't be built
> >     > guix pull: error: build of
> >     > `/gnu/store/85vkb01zgkfmy902m352hjcv35d7hzqb-profile.drv' failed1
> >     >
> >     >
> >     >
> >     > What can I do? Some help would be much appreciated. Thanks!
> >     >
> >     > Best regards,
> >     > L=C3=A9on
> >   =20
> >     The signal 9 (killed) makes me think a C++ program killed. I checked
> >     wikipedia and it says the Banana Pi M3 has 2GB of RAM. Was there
> >     anything else running at the time? 'guix pull' can be resource
> >     intensive, especially on lower powered machines.
> >   =20
> >     --
> >     Efraim Flashner=C2=A0 =C2=A0<efraim@flashner.co.il>=C2=A0 =C2=A0=D7=
=90=D7=A4=D7=A8=D7=99=D7=9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
> >     GPG key =3D A28B F40C 3E55 1372 662D=C2=A0 14F7 41AA E7DC CA3D 8351
> >     Confidentiality cannot be guaranteed on emails sent or received une=
ncrypted
>=20
> --=20
> Bonface M. K. (https://www.bonfacemunyoki.com)
> One Divine Emacs To Rule Them All
> GPG key =3D D4F09EB110177E03C28E2FE1F5BBAE1E0392253F

--=20
Efraim Flashner   <efraim@flashner.co.il>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--nqkreNcslJAfgyzk
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl7xmdwACgkQQarn3Mo9
g1GqWw//Zk2lGFfa2onnJoQb6SbPKSroJFtEjaftkYjH0t5r2ymFeFLiaaJDCed2
FG65P02uTc6s4iBw/RMNeyzFFpMwmaLV48wmP/ZF4GtAMIUTPW7n4oCKwKM2bEcx
QG8lqjVShy2uElDkl+Loe0bSm5pNBATMtubEgjYkZxgCTP6aR4iRU/rImorat0w0
1xiVLuyj5yooUnyjG8rPTcudBJls5pYPEZuhsUkRY/NJtU09zdrbjabahylBOHHY
AIvD2iJi6MkRqGIJqTvtofkO/+3WCawToH8ukUUki1oUTEK9ViI8APDLwNBqkA5R
wq9fX2WhMgSSzkVL+GRL+TV2foGG0K3tRfVOtK/m+Th5sJfucJKyiioINy4eu9SA
7DjULUB21v3IT/cvFhj55ujGWs/xNwGygSBNwOAhqMlO3NWVDTPWJ96hG75yMLsi
g+wx+oQluVZMvvVoXOvpsH0RhYvcQmc8Vli+cKeYdWjQOjHc4CcGWH07sGiByUs0
HoIZJLXp2bKOJArB9GFKKwgZDqHc2mqbhb7i2t8D0LhL29Cl8C9eglOcbu6xwNh9
o4BXLN08xWD2M0fsjWqXPq7vEYHgGvdEGSnvLWVXclMlWfRnL4N9Zl5m9SfNivCd
dRcDDsZ103coXgVF0E19jkSss5bhYcqdrUzbr/b7nKdTSGGb2wY=
=97ku
-----END PGP SIGNATURE-----

--nqkreNcslJAfgyzk--