-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
resolve-system-dependencies.pl segfaults if Nix is used on Mac OS X in combination with Hydra's queue runner #786
Comments
Downgrading to nix-1.10 on the Mac OS X build slave, seems to have solved this issue for me atm... |
Any updates on this? I seem to be hitting other issues with 1.10 and would like to upgrade. |
The workaround is to add |
This has been coming up again lately: https://hydra.nixos.org/build/51897213 Any ideas what's going on? |
I think |
When using Nix 1.11.x, and Hydra Mac OS X builds refuse to build. In the queue runner log, I observed the following:
possibly transient failure building ‘/nix/store/11hdvirhq6xzn26b81ykm97jchpjs3n2-package.drv’ on ‘sander@192.168.88.63’: program ‘/nix/store/zg7r946ndp3fag3bxy0v5xi3vw624jvi-nix-1.11.1/libexec/nix/resolve-system-dependencies.pl’ failed due to signal 11 (Segmentation fault: 11)
Jan 29 17:28:40 milou hydra-queue-runner[17848]: will retry ‘/nix/store/11hdvirhq6xzn26b81ykm97jchpjs3n2-package.drv’ after 180s
Jan 29 17:28:41 milou hydra-queue-runner[17848]: performing step ‘/nix/store/44f7jw17h3bwpvrccy1dy0c879qdcj98-package.drv’ on ‘sander@192.168.88.63’ (needed by build 123896 and 1 others)
Jan 29 17:28:41 milou hydra-queue-runner[17848]: killing process 19024
Jan 29 17:28:41 milou hydra-queue-runner[17848]: possibly transient failure building ‘/nix/store/44f7jw17h3bwpvrccy1dy0c879qdcj98-package.drv’ on ‘sander@192.168.88.63’: program ‘/nix/store/zg7r946ndp3fag3bxy0v5xi3vw624jvi-nix-1.11.1/libexec/nix/resolve-system-dependencies.pl’ failed due to signal 11 (Segmentation fault: 11)
Jan 29 17:28:41 milou hydra-queue-runner[17848]: will retry ‘/nix/store/44f7jw17h3bwpvrccy1dy0c879qdcj98-package.drv’ after 181s
Jan 29 17:28:42 milou hydra-queue-runner[17848]: performing step ‘/nix/store/klkj7l2gn7ms9xqbn1hwi4jk8sxjdrg0-package.drv’ on ‘sander@192.168.88.63’ (needed by build 123899 and 2 others)
Jan 29 17:28:42 milou hydra-queue-runner[17848]: killing process 19034
Jan 29 17:28:42 milou hydra-queue-runner[17848]: possibly transient failure building ‘/nix/store/klkj7l2gn7ms9xqbn1hwi4jk8sxjdrg0-package.drv’ on ‘sander@192.168.88.63’: program ‘/nix/store/zg7r946ndp3fag3bxy0v5xi3vw624jvi-nix-1.11.1/libexec/nix/resolve-system-dependencies.pl’ failed due to signal 11 (Segmentation fault: 11)
Jan 29 17:28:42 milou hydra-queue-runner[17848]: will retry ‘/nix/store/klkj7l2gn7ms9xqbn1hwi4jk8sxjdrg0-package.drv’ after 180s
As far as I know, the issue is caused by the fact that the script tries the open the corresponding store derivation file, which does not seem to exists.
The reason why this drv-file does not exist is that hydra-queue-runner transfers an in-memory representation of a derivation closure from the coordinator machine to each target (using the Nix daemon protocol), instead of actual files, for performance reasons. As a result, this script consistently fails for all builds.
This makes it in impossbile to use Hydra for building anything Mac OS X related.
The text was updated successfully, but these errors were encountered: