Skip to content
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

libuv failing to build #31369

Closed
rowhit opened this issue Nov 7, 2017 · 3 comments
Closed

libuv failing to build #31369

rowhit opened this issue Nov 7, 2017 · 3 comments

Comments

@rowhit
Copy link

rowhit commented Nov 7, 2017

Issue description

make[1]: *** [Makefile:4480: check-TESTS] Error 1
make[1]: Leaving directory '/home/ryadav/tmp/nix-build-libuv-1.15.0.drv-0/libuv-v1.15.0-src'
make: *** [Makefile:4737: check-am] Error 2
builder for ‘/home/ryadav/opt/nix/store/m0m8aa3dw0drzbb7m3qk39yabizsk3qm-libuv-1.15.0.drv’ failed with exit code 2
cannot build derivation ‘/home/ryadav/opt/nix/store/h4d0binr891a8kk60dw7mlhfi7v68hid-cmake-3.9.4.drv’: 1 dependencies couldn't be built
building path(s) ‘/home/ryadav/opt/nix/store/0kdiri183235wxi1a6gdb0ra44brnbm5-libva-1.7.3.tar.bz2’
cannot build derivation ‘/home/ryadav/opt/nix/store/yh0r3zf5liw6k2dpbkqbfx28axi949p1-bullet-2.86.1.drv’: 1 dependencies couldn't be built
killing process 54642
cannot build derivation ‘/home/ryadav/opt/nix/store/ldz45dl65rcld3z6bvny46idhlg4h4ax-doxygen-1.8.11.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/home/ryadav/opt/nix/store/hrri3rylg03330yq9lxymczkc5gnrj46-graphite2-1.3.6.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/home/ryadav/opt/nix/store/a419jg1w437izxvgds8a53azxrghdlpz-jasper-2.0.13.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/home/ryadav/opt/nix/store/p0igsf2g63ibhnaqdk68jv7wqqkv827b-llvm-5.0.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/home/ryadav/opt/nix/store/7cc9v9wlvczmqcfxzmy714rrajbq9hqz-openjpeg-1.5.2.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/home/ryadav/opt/nix/store/qxf5q49j3spsgbjz1n59w71c1mr9dmps-openjpeg-2.1.2.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/home/ryadav/opt/nix/store/9bmxxj3c9gb8nvl56wx12hqb54d6wrfj-soxr-0.1.2.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/home/ryadav/opt/nix/store/0cq3rwbjmcscc6l08fqc1nd3sjpn6ay8-taglib-1.10.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/home/ryadav/opt/nix/store/1prjar4c213ivaclhv5lz6c156b3mi4v-x265-2.5.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/home/ryadav/opt/nix/store/4d5c520win02fgcaljn9zz5hmy7v8kh4-efl-1.20.5.drv’: 1 dependencies couldn't be built
building path(s) ‘/home/ryadav/opt/nix/store/jy231v7bl25766pbqfk6ksxxg5vl05h3-terminology-1.1.1.tar.xz’
killing process 54699
cannot build derivation ‘/home/ryadav/opt/nix/store/zighwipwxwwjxjbsnfaykca3iwv5f1sr-terminology-1.1.1.drv’: 1 dependencies couldn't be built
error: build of ‘/home/ryadav/opt/nix/store/zighwipwxwwjxjbsnfaykca3iwv5f1sr-terminology-1.1.1.drv’ failed

Steps to reproduce

I am trying to build terminology and several other packages in non-default nix-store. However, libuv derivation seems to have conflict. I do not know how to override this and continue building.

Technical details

ubuntu: 17.04
nix-env (Nix) 1.11.15
18.03pre118668.0e4be9e5f0

@vcunat
Copy link
Member

vcunat commented Nov 7, 2017

Your output doesn't show the actual error. That would be above, or you can retrieve it by nix-store --read-log /home/ryadav/opt/nix/store/m0m8aa3dw0drzbb7m3qk39yabizsk3qm-libuv-1.15.0.drv

Using sandboxing might help to avoid (many) errors if you build yourself, but I understand it's harder to set up on non-NixOS...

@c0bw3b
Copy link
Contributor

c0bw3b commented Nov 7, 2017

From make[1]: *** [Makefile:4480: check-TESTS] Error 1
I guess the build was done but it failed in the tests. Apparently those tests were known to fail randomly on Darwin before... #23651

@rowhit
Copy link
Author

rowhit commented Nov 8, 2017

Actually, there is some issue with my network. However, if I try to build inside an lxc container, then it builds fine.

@rowhit rowhit closed this as completed Nov 9, 2017
zimbatm added a commit that referenced this issue Nov 16, 2017
google-cloud-sdk: disable gce as a dependency by default (fixes #31369)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants