GNU bug report logs

#30647 [PATCH] guix build: Support '--remote-log-file=PACKAGE'.

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Full log

Message #20 received at 30647@debbugs.gnu.org (full text, mbox, reply):

Received: (at 30647) by debbugs.gnu.org; 1 Mar 2018 15:41:04 +0000
From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 01 10:41:04 2018
Received: from localhost ([127.0.0.1]:39474 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1erQKO-0002mD-7S
	for submit@debbugs.gnu.org; Thu, 01 Mar 2018 10:41:04 -0500
Received: from mail-wr0-f178.google.com ([209.85.128.178]:46138)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <go.wigust@gmail.com>) id 1erQKM-0002lb-2a
 for 30647@debbugs.gnu.org; Thu, 01 Mar 2018 10:41:02 -0500
Received: by mail-wr0-f178.google.com with SMTP id m12so6945471wrm.13
 for <30647@debbugs.gnu.org>; Thu, 01 Mar 2018 07:41:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=0hmVE5+KPWgircU+cKRk6sxaF3S8mZOTgum3LfoJoWw=;
 b=kFXQ2aLmihNn+L0WTsJ0EbG/yGZOMQUs9AH8Cpb1lGKSciiUJWdCC1g0zhBPNncf9Z
 FZbz34Dl0qQcxCnaoZWLP86dNFdHhFK3i+IW6W4/MSZ2KFa7WsdM/KxWe0p+e9o7eWd/
 0XXutlhnnzCXxci7yinISyddugsa526sLP1UyhlJk73NYvFNjZsYV+PwIcxwEkuvLfEY
 zWxsWU2b+mUHdzw35Y36I2AqW4uFNUqqprhR20yFHC0BUOssTGsjpL9WXV5jnEITUnXJ
 0qw7g5Xzcj9Najez7u/X3WlCT0cQ+sZevdecCRsIbwMcWY6FQQaJ50guyO2C6BFU5+d+
 otGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=0hmVE5+KPWgircU+cKRk6sxaF3S8mZOTgum3LfoJoWw=;
 b=dh6qC08nfRnDhR/SRYGBWhi8c3J7Pl2LDQNaPfR9Bsl6rbD5SO/CUa+ZZFBEL17zoe
 wu6VKX0Aaj77wMC3COaCq6QWR1g/CYDDBiDEoN3oa0u5YrQn0vtoxHj5W5IgIPFq0dBD
 JwN/nZb9mVdWjw2lLKkdEA0pvjQe+h+Z0Pi46TXM2x+esFBcfj1vkabsyhKTzV66r537
 pqI93bmNwSwF718iKFESaM7RNcSt1JIWX2pgAED5ri2lKwAALOAVvr4anf1z8unQZMza
 uFtFsbcgrHc8XpgtNAXjpy8setQs38zw7gSOwt5Sqfv2hv+pKUYqmI2r590gQlBf2bYy
 Hrjg==
X-Gm-Message-State: AElRT7GmdYvQu6hDx91Ycy/OK/zEhhxKBkBTd3AizK0mi1fFmk3/yLcT
 K4l4pDym1RN5ISM4KBpNwOoRWQ==
X-Google-Smtp-Source: AG47ELvL/hJ6bacyS3yi/XVqjIQZja6DLznZ1HmH5FO1QtKQqO5SLM3bPQmLA4FQctD4PLwAwzpW/w==
X-Received: by 10.25.229.129 with SMTP id i1mr1806035lfk.66.1519918855622;
 Thu, 01 Mar 2018 07:40:55 -0800 (PST)
Received: from magnolia (ppp78-37-138-236.pppoe.avangarddsl.ru.
 [78.37.138.236])
 by smtp.gmail.com with ESMTPSA id n11sm922055lje.15.2018.03.01.07.40.54
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 01 Mar 2018 07:40:54 -0800 (PST)
From: Oleg Pykhalov <go.wigust@gmail.com>
To: ludo@gnu.org (Ludovic Courtès)
Subject: Re: [bug#30647] [PATCH] guix build: Support
 '--remote-log-file=PACKAGE'.
References: <20180228141959.19789-1-go.wigust@gmail.com>
 <87po4ou5ie.fsf@gnu.org> <87606ge8c5.fsf@gmail.com>
 <874lm06ic9.fsf@gnu.org>
Date: Thu, 01 Mar 2018 18:40:50 +0300
In-Reply-To: <874lm06ic9.fsf@gnu.org> ("Ludovic
 \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\=
 \=\?utf-8\?Q\?s\?\= message of "Thu, 01 Mar 2018 14:22:46 +0100")
Message-ID: <87606f3it9.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 30647
Cc: 30647@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: 0.0 (/)
[Message part 1 (text/plain, inline)]
ludo@gnu.org (Ludovic Courtès) writes:

>>>> ‘--remote-log-file’ allows to get a URL for a build log file on a substitute
>>>> server regardless is it built locally.  ‘--log-file’ returns always local
>>>> build log file.
>>>
>>> What did you think of having ‘--log-file’ transparently fall back to
>>> searching for log files on substitute servers?
>
> To put it differently: what do you dislike about the current behavior?

Suppose package build failed locally.  I want to receive a log from a
remote server.  I could do it manually by:

1.  Removing local failed log.
2.  ‘wget’, but I need to know a URL.
3.  Hydra web interface, which is slow (especially multiple packages).

> No no: keep the current behavior, but print something when we’re looking
> for a remote log file (currently it silently checks whether the remote
> log file is available.)

Still not clear to me.  If ‘guix --log-file’ checks for a remote log
file, then it gets a valid URL to a remote build log file for free,
doesn't it?

>> I don't think mixing those in one output is good, because for example
>> you cannot do like:
>>
>> diff -u <(guix build --log-file hello) <(guix build --remote-log-file hello)
>
> I see.  I guess I’ve never wanted that, or rather, when I do, I
> explicitly wget the remote log file.  :-)

Could I ask What's your workflow for ‘wget’?

> So I guess I’m unconvinced about the need for a separate
> ‘--remote-log-file’ option.
>
> What do people think?  Ricardo?

Maybe CC him?  Or is it a bad etiquette for a mailing list, because he
is subscribed?

>> As a better approach in addition to ‘--no-substitutes’, maybe we could
>> implement ‘--only-substitutes’ (as I remember Nix has it)?  Such flag
>> will return a remote log file and will avoid building packages locally.
>
> That could be an option, but that’s much more work (not limited to log
> file handling.)

Yes, but benefits (especially avoid building packages locally) are
worth.

If you don't agree with the patch, I'll not complain and will try to
work on ‘--only-substitutes’.  :-)

Oleg.
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Sep 10 08:44:27 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.