all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: guix-devel@gnu.org, Mathieu Lirzin <mthl@gnu.org>
Subject: Re: guix weather issue? (was Re: guix package builds, subsitutes and --no-build)
Date: Tue, 26 Feb 2019 23:29:35 -0800	[thread overview]
Message-ID: <874l8pu1sw.fsf@gmail.com> (raw)
In-Reply-To: <87imx651y5.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Tue, 26 Feb 2019 10:33:22 +0100")

[-- Attachment #1: Type: text/plain, Size: 3331 bytes --]

Hi Giovanni,

Giovanni Biscuolo <g@xelera.eu> writes:

> AFAIU the issue is "guix weather" reporting on the availability related
> to current master and not of user commit: am I wrong?

I'm not sure.  That would explain the issue you saw.  I haven't checked
the code.  Maybe you could take a peek?  If "guix weather" is using
master branch and ignoring the current channel configuration, it seems
like it might be unintended behavior.

> a little (digression
>
>   anyway even if that is not the issue, users should have some way to
>   check if a substitute is available for their current commit, so they
>   can decide if they are willing to locally build or not.
>     
>   also, it would be useful if "guix package -i/-u" allowed users to
>   choose to fail (via a flag or a CLI prompt) in case a substitute is
>   not available; AFAIU "Substitution failure" [1] works when a
>   substitute *is available* but download fails (and we have "--fallback"
>   just in case), but there is non way to fail in case substitute in not
>   available.
>     
>   in my specific case with ungoogled-chromium, it took about 8 hours on
>   a 8 cores + 16GB RAM machine (although heavily used) to reach 75% of
>   the build process... and finally I had to cancel the build since the
>   machine load reached 40 (since other "heavy" processes started via
>   cronjobs).)

I agree it would be nice if one could control the behavior more easily.
However, someone needs to put in the time to design and implement the
solution.  So far, I think people with time and energy have chosen
instead to focus on improving substitute availability, in the hopes that
it will prove more useful in the long term.

Would you be interesting in working on it?  I have sometimes wanted a
feature like that, but I do believe substitute availability will help
more in the long term.

> I posted them yesterday in this thread; they are:
>
> .ungoogled-chromium.manifest:
>
> (specifications->manifest
>  '("ungoogled-chromium"))
>
> $ guix describe
> Generation 3	Feb 19 2019 19:35:54	(current)
>   guix a4fc802
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: a4fc80254a53b46b33f138d1009ddd044b8cb6be

Excellent - thank you.  I think I missed this in your emails earlier.

I have attempted to reproduce the issue using that information.  When I
ran "guix pull" to use the same version of Guix you were using
(a4fc80254a53b46b33f138d1009ddd044b8cb6be) and then ran "guix weather",
I saw the same output as you (i.e., ci.guix.info reported that the
substitute was available).  However, when I ran...

  guix package \
       --substitute-urls=https://ci.guix.info \
       -p /tmp/test-profile \
       -m /tmp/manifest.scm

...Guix began downloading chromium from ci.guix.info.  The contents of
/tmp/manifest.scm is the same manifest you provided.  So, unfortunately
this means I wasn't able to reproduce the issue you experienced.
Everything seems to be working correctly on my end.

I'm afraid I'm out of time at the moment - I have to go.  But if you
could the check "guix weather" source code to find out if it respects
the current channels, that would be great.  I'll try to get around to it
if you don't beat me to it.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-02-27  7:30 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20 16:39 guix package builds, subsitutes and --no-build Giovanni Biscuolo
2019-02-20 21:44 ` Leo Famulari
2019-02-21 15:14   ` ci.guix.info 504 gateway timeout (was Re: guix package builds, subsitutes and --no-build) Giovanni Biscuolo
2019-02-21 15:49     ` Ricardo Wurmus
2019-02-21 16:32       ` Mathieu Lirzin
2019-02-21 17:03         ` Giovanni Biscuolo
2019-02-21 18:29           ` Ricardo Wurmus
2019-02-22  4:46           ` Chris Marusich
2019-02-23 13:01         ` Alex Vong
2019-02-22  3:41     ` Chris Marusich
2019-02-25 13:11       ` Giovanni Biscuolo
2019-02-25 13:17         ` Ricardo Wurmus
2019-02-25 13:22           ` Ricardo Wurmus
2019-02-25 14:53             ` Giovanni Biscuolo
2019-02-25 15:10               ` Ricardo Wurmus
2019-02-25 15:37                 ` Mathieu Lirzin
2019-02-25 15:49                   ` Ricardo Wurmus
2019-02-25 16:18                     ` guix weather issue? " Giovanni Biscuolo
2019-02-26  7:07                       ` Chris Marusich
2019-02-26  9:33                         ` Giovanni Biscuolo
2019-02-27  7:29                           ` Chris Marusich [this message]
2019-02-27  8:21                             ` Giovanni Biscuolo
2019-02-27 17:53                               ` Chris Marusich
2019-02-27  8:26                             ` Björn Höfling
2019-03-03 16:06         ` ci.guix.info 504 gateway timeout " Mark H Weaver
2019-03-04 18:56           ` Leo Famulari
2019-02-25 19:13     ` swedebugia
2019-02-25 20:26       ` Giovanni Biscuolo
2019-02-25 20:31       ` Ricardo Wurmus
2019-02-25 20:46         ` Leo Famulari
2019-02-26 10:26           ` Giovanni Biscuolo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874l8pu1sw.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=g@xelera.eu \
    --cc=guix-devel@gnu.org \
    --cc=mthl@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.