-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bash build failure on 15.09 #9504
Comments
Since e1f78bf? Does this happen only without chrooting, or why doesn't Hydra at least have the probem? |
What kind of |
I believe it has to do with the case where you pull the binary for one of On Fri, Aug 28, 2015 at 11:21 PM Vladimír Čunát notifications@github.com
|
Ex. On Fri, Aug 28, 2015 at 11:27 PM William Kennington william@wkennington.com
|
There certainly was code for handling this in nix IIRC, but it's possible it doesn't cover all cases yet. |
The store itself is fundamentally impure, and so its state-space {(0,0),(1,0),(0,1),(1,1)} comes and bites us.. The state of a derivation evolved from a boolean to an N-tuple. The state-space of a derivation evolved, in the general case, from {0, 1} to an infinite set of N-tuples of booleans. |
The
and..
|
@vcunat, I have |
If there's an issue with nix's implementation of multiple outputs, has anyone filed a bug against the NixOS/nix repo? |
Did anyone reproduce this one? |
@domenkozar I suspect it went like this:
Now, why would something want bash-for-doc, don't ask me : -) |
@domenkozar, I had the same error on |
@peti I don't think it's the same, the build just timed out due to sqlite being busy |
Actually, I believe that the original log file was lost when I restarted one of those Hydra builds. 😞 Unfortunately, Hydra destroys the original build log and stores only the one of the re-run -- which succeeded. Anyway, the the build says clearly "failed"; it doesn't say "timed out". |
(Off topic) IMHO the log storage is handled on nix-level already. (I know very little about Hydra, but sometimes I do find myself regretting the overwriting of logs in nix.) |
Hydra no longer uses Nix for storing logs, but it still overwrites old logs. |
(Off topic, I'm sorry.) Is there a reason not to just extend the handling of logs on the nix level already? |
Well, the presumption is that builds are pure, so repeated builds will produce the same log output, and then there is no reason to store multiple logs. |
if |
That's still pure (modulo Nix bugs and impurities in the build itself). |
Yes, so can we fix this in Nix? We could require all mulitple outputs to be present at build time. Not sure how hard is that to achieve in current code. |
…n outputs. Fixes NixOS/nixpkgs#9504. Note that this means we may have a non-functional /bin/sh in the chroot while rebuilding Bash or one of its dependencies. Ideally those packages don't rely on /bin/sh though.
During
nix-shell
invocation:The text was updated successfully, but these errors were encountered: