From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: Chris Marusich <cmmarusich@gmail.com>
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: Wed, 27 Feb 2019 09:26:27 +0100 [thread overview]
Message-ID: <20190227092627.4bb6591c@alma-ubu> (raw)
In-Reply-To: <874l8pu1sw.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2711 bytes --]
On Tue, 26 Feb 2019 23:29:35 -0800
Chris Marusich <cmmarusich@gmail.com> wrote:
> Hi Giovanni,
>
> Giovanni Biscuolo <g@xelera.eu> writes:
[...]
> > 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.
There is already a bug created about this topic: "do not attempt to
build a package known to be broken":
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33737
It seams like the discussion faded out because the daemon is not yet
ready for this, and there were some discussions about corner cases like
indeterministic build failures.
> > 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).)
Another related topic discussed before (I'm not sure if there is a
ticket for this) is to collect build resource consumption (wall-time,
cpu-time, memory-usage, ...) and store it in a local or even
global database. With that data available you could at least roughly
calculate the cost of compilation and if you want to put that effort in
(or to plan your heavy compilation say overnight).
> 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 found with a huge profile there is always some dependency failing.
And it is not clear which leaf packages to exclude to "just" update the
rest of your profile. This could be automated. I would like to see that
feature.
Though on the other hand as you said, everyone's resources are limited
and we tend to look at the packages and getting them fixed.
Björn
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2019-02-27 8:26 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87pnrm76ta.fsf@roquette.mug.biscuolo.net>
[not found] ` <20190220214442.GA22965@jasmine.lan>
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
2019-02-27 8:21 ` Giovanni Biscuolo
2019-02-27 17:53 ` Chris Marusich
2019-02-27 8:26 ` Björn Höfling [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190227092627.4bb6591c@alma-ubu \
--to=bjoern.hoefling@bjoernhoefling.de \
--cc=cmmarusich@gmail.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).