From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id SNzSHOQL8l7sKgAA0tVLHw
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 23 Jun 2020 14:04:20 +0000
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id sPeyGOQL8l6cPQAAB5/wlQ
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 23 Jun 2020 14:04:20 +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 C85F294060B
	for <larch@yhetil.org>; Tue, 23 Jun 2020 14:04:19 +0000 (UTC)
Received: from localhost ([::1]:35708 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 1jnjX7-0006QY-41
	for larch@yhetil.org; Tue, 23 Jun 2020 10:04:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43934)
 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 1jnjWs-0006QQ-0X
 for bug-guix@gnu.org; Tue, 23 Jun 2020 10:04:02 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:53593)
 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 1jnjWr-0005Sm-Mr
 for bug-guix@gnu.org; Tue, 23 Jun 2020 10:04:01 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jnjWr-0004d8-JD
 for bug-guix@gnu.org; Tue, 23 Jun 2020 10:04:01 -0400
X-Loop: help-debbugs@gnu.org
Subject: bug#42002: Bug: Signal kill during build
Resent-From: Bengt Richter <bokr@bokr.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Tue, 23 Jun 2020 14:04:01 +0000
Resent-Message-ID: <handler.42002.B42002.159292102317774@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: Efraim Flashner <efraim@flashner.co.il>
Received: via spool by 42002-submit@debbugs.gnu.org id=B42002.159292102317774
 (code B ref 42002); Tue, 23 Jun 2020 14:04:01 +0000
Received: (at 42002) by debbugs.gnu.org; 23 Jun 2020 14:03:43 +0000
Received: from localhost ([127.0.0.1]:36906 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1jnjWP-0004cT-LS
 for submit@debbugs.gnu.org; Tue, 23 Jun 2020 10:03:43 -0400
Received: from imta-36.everyone.net ([216.200.145.36]:55900
 helo=imta-38.everyone.net)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bokr@oz.net>) id 1jnjWM-0004cJ-Da
 for 42002@debbugs.gnu.org; Tue, 23 Jun 2020 10:03:32 -0400
Received: from pps.filterd (omta002.sj2.proofpoint.com [127.0.0.1])
 by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 05NE2S9s001070;
 Tue, 23 Jun 2020 07:03:27 -0700
X-Eon-Originating-Account: fdI57AE3mcChC_tx2fabwWK_dmsFwB6FTB_Kq378RoA
X-Eon-Dm: m0116953.ppops.net
Received: by m0116953.mta.everyone.net (EON-AUTHRELAY2 - 53b929ba)
 id m0116953.5e67f935.a80527; Tue, 23 Jun 2020 07:03:13 -0700
X-Eon-Sig: AQMHrIJe8guharbqgQIAAAAE,eefb8de36361c839ad1b0c81257189b9
X-Eip: Km2Nl0Xl_xNCXpgsCCXwTB_tCrynqyRu2cF8QSDCu7I
Date: Tue, 23 Jun 2020 16:03:03 +0200
From: Bengt Richter <bokr@bokr.com>
Message-ID: <20200623140303.GB6340@LionPure>
References: <CAHecTjd+wTovtoo+nFNP-HTeiPprch5Bro_04ouP7EWa_Z758Q@mail.gmail.com>
 <20200622124708.GC22974@E5400>
 <CAHecTjfasFvWbgC2+s7WDodDhSqQJxxM7GbksSaBgDdcZOQH0Q@mail.gmail.com>
 <86zh8u39bk.fsf@gmail.com> <20200623055752.GF22974@E5400>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20200623055752.GF22974@E5400>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687
 definitions=2020-06-23_07:2020-06-23,
 2020-06-23 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0
 priorityscore=1501 malwarescore=0
 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034
 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006120000
 definitions=main-2006230110
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-Spam-Score: -1.7 (-)
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>
Reply-To: Bengt Richter <bokr@bokr.com>
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: -0.51
X-TUID: uWrNCB7tNJts

Hi all,

On +2020-06-23 08:57:52 +0300, Efraim Flashner wrote:
> On Tue, Jun 23, 2020 at 03:38:39AM +0300, Bonface M. K. wrote:
> > Léon Lain Delysid <leon.lain.delysid@gmail.com> writes:
> > 
> > > 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 the binaries everytime I "guix pull". What command line
> > > option should I use to only download the binaries instead of building everything myself? Could you please give me the command?
> > >
> > You could try: `guix pull --substitute-urls="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.
>

If one has a powerful-enough pc or laptop on local ethernet,
is there a package that would set up a local user as simple builder-server
that the pi could download binary substitutes from?

Such a local server might have other uses as well, if browser-friendly :)
I'm sure you don't need help imagining that :)

> I think the best option would be to make sure you run 'guix pull'
> targeting a derivation which has substitutes. If you check here¹ you can
> see if there's a substitute already available for armhf-linux and run
> 'guix pull --commit=the-commit-listed-in-the-link'. Right now, that
> would be 42a2ee1f9294614bd85892f2cc7318afb80b174c, which is actually the
> latest commit.
> 
> ¹ https://ci.guix.gnu.org/jobset/guix-modular-master
> 
> > 
> > > On Mon, Jun 22, 2020, 14:47 Efraim Flashner <efraim@flashner.co.il> wrote:
> > >
> > >     On Mon, Jun 22, 2020 at 02:28:33PM +0200, Léon Lain Delysid wrote:
> > >     > 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:
> > >     >
[...]
> > >     >
> > >     > What can I do? Some help would be much appreciated. Thanks!
> > >     >
> > >     > Best regards,
> > >     > Léon
> > >    
> > >     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.
> > >    
> > >     --
> > >     Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
> > >     GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> > >     Confidentiality cannot be guaranteed on emails sent or received unencrypted
> > 
> > -- 
> > Bonface M. K. (https://www.bonfacemunyoki.com)
> > One Divine Emacs To Rule Them All
> > GPG key = D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
>
Above sig reminds me:

BTW: if your Divine Emacs, like mine on debian-based distro , has recently been disrupted by Alt-Shift,
(probably because you have two kbd languages and emacs Alt '<' is Alt-Shift-comma on your en kbd)
stack-overflow had the recipe that worked for me. tl;dr in snip:

    disabling alt-shift toggling of us/sv ..
    read old value, write new value, read new value to check:
--8<---------------cut here---------------start------------->8---
    dconf read /org/gnome/desktop/input-sources/xkb-options
    ['grp:alt_shift_toggle', 'grp_led:scroll']
    dconf write /org/gnome/desktop/input-sources/xkb-options "['grp_led:scroll']"
    dconf read /org/gnome/desktop/input-sources/xkb-options
    ['grp_led:scroll']
--8<---------------cut here---------------end--------------->8---

Please excuse the off-topic BTW, but that bug cost me a lot of time,
so I hope that's useful to someone. Meta-question: how should one offer
hints like this so we can find them easily?

Seems like we need browsable open-gis/open-streetmap to map the ux territory and its potholes ;)

> -- 
> Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted

-- 
Regards,
Bengt Richter