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

Unable to install vagrant. "failed to build" #370158

Open
dattn opened this issue Jan 2, 2025 · 3 comments · May be fixed by #368732
Open

Unable to install vagrant. "failed to build" #370158

dattn opened this issue Jan 2, 2025 · 3 comments · May be fixed by #368732
Labels
0.kind: bug Something is broken

Comments

@dattn
Copy link

dattn commented Jan 2, 2025

Describe the bug

I'm unable to install the vagrant package after the update to 2.4.3.

Steps To Reproduce

nix-shell -p vagrant
these 8 derivations will be built:
  /nix/store/s51w4v7ddgln73mmnnvkrbg2c7v2c8n6-ruby3.3-nokogiri-1.16.8.drv
  /nix/store/nrgws2l6k7b8wfsrzd9p92brr8lbn8qm-ruby3.3-fog-xml-0.1.4.drv
  /nix/store/wish1x0xbyw3fjq00wqcnxvjpid81c7m-ruby3.3-ruby-libvirt-0.8.4.drv
  /nix/store/2s69li12gpw1a4cjsvv88spv5f16knkx-ruby3.3-fog-libvirt-0.13.1.drv
  /nix/store/f6dvxxlbsnrl0c0b2v0ha8v6kj68b3kn-ruby3.3-grpc-1.68.1.drv
  /nix/store/v7qsn8hx7fg6x6fvjnfs2l07486vgcwi-ruby3.3-vagrant-libvirt-0.12.2.drv
  /nix/store/2ic36mlzgvl67qcia33gylb52wbkhcc3-vagrant-2.4.3.drv
  /nix/store/5bdmiki4k26c6m1gbl48bh871f7m7b8f-vagrant-2.4.3.drv
building '/nix/store/f6dvxxlbsnrl0c0b2v0ha8v6kj68b3kn-ruby3.3-grpc-1.68.1.drv'...
building '/nix/store/s51w4v7ddgln73mmnnvkrbg2c7v2c8n6-ruby3.3-nokogiri-1.16.8.drv'...
building '/nix/store/wish1x0xbyw3fjq00wqcnxvjpid81c7m-ruby3.3-ruby-libvirt-0.8.4.drv'...
Running phase: unpackPhase
Running phase: unpackPhase
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: installPhase
buildFlags: --use-system-libraries --with-zlib-lib=/nix/store/cqlaa2xf6lslnizyj9xqa8j0ii1yqw0x-zlib-1.3.1/lib --with-zlib-include=/nix/store/1lggwqzapn5mn49l9zy4h566ysv9kzdb-zlib-1.3.1-dev/include --with-xml2-lib=/nix/store/f1arw96zb04zn4zh0ycp0vpiz5ampgkz-libxml2-2.13.5/lib --with-xml2-include=/nix/store/7hwyxbsi39mzrl4kmqs0m478wd2pg63x-libxml2-2.13.5-dev/include/libxml2 --with-xslt-lib=/nix/store/19p63s3h5l3vjaav78k346a9ch5mfpni-libxslt-1.1.42/lib --with-xslt-include=/nix/store/8qxqx1i7h6z4g2nsl0909i6sjdr36l70-libxslt-1.1.42-dev/include --with-exslt-lib=/nix/store/19p63s3h5l3vjaav78k346a9ch5mfpni-libxslt-1.1.42/lib --with-exslt-include=/nix/store/8qxqx1i7h6z4g2nsl0909i6sjdr36l70-libxslt-1.1.42-dev/include
Running phase: unpackPhase
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
WARNING:  You build with buildroot.
  Build root: /
  Bin dir: /nix/store/0k4dj6w2ncxr64asf2405riwi7awf5fq-ruby3.3-nokogiri-1.16.8/lib/ruby/gems/3.3.0/bin
  Gem home: /nix/store/0k4dj6w2ncxr64asf2405riwi7awf5fq-ruby3.3-nokogiri-1.16.8/lib/ruby/gems/3.3.0
  Plugins dir: /nix/store/0k4dj6w2ncxr64asf2405riwi7awf5fq-ruby3.3-nokogiri-1.16.8/lib/ruby/gems/3.3.0/plugins
no configure script, doing nothing
Running phase: installPhase
buildFlags: --with-libvirt-include=/nix/store/k6yvvvapcc9kq0zyafwwqq0a0qc0g53k-libvirt-10.10.0/include --with-libvirt-lib=/nix/store/k6yvvvapcc9kq0zyafwwqq0a0qc0g53k-libvirt-10.10.0/lib
Building native extensions with: '--use-system-libraries --with-zlib-lib=/nix/store/cqlaa2xf6lslnizyj9xqa8j0ii1yqw0x-zlib-1.3.1/lib --with-zlib-include=/nix/store/1lggwqzapn5mn49l9zy4h566ysv9kzdb-zlib-1.3.1-dev/include --with-xml2-lib=/nix/store/f1arw96zb04zn4zh0ycp0vpiz5ampgkz-libxml2-2.13.5/lib --with-xml2-include=/nix/store/7hwyxbsi39mzrl4kmqs0m478wd2pg63x-libxml2-2.13.5-dev/include/libxml2 --with-xslt-lib=/nix/store/19p63s3h5l3vjaav78k346a9ch5mfpni-libxslt-1.1.42/lib --with-xslt-include=/nix/store/8qxqx1i7h6z4g2nsl0909i6sjdr36l70-libxslt-1.1.42-dev/include --with-exslt-lib=/nix/store/19p63s3h5l3vjaav78k346a9ch5mfpni-libxslt-1.1.42/lib --with-exslt-include=/nix/store/8qxqx1i7h6z4g2nsl0909i6sjdr36l70-libxslt-1.1.42-dev/include'
This could take a while...
WARNING:  You build with buildroot.
  Build root: /
  Bin dir: /nix/store/r73hiy5hzsh2d5jj6bi87s6dz3cmpina-ruby3.3-ruby-libvirt-0.8.4/lib/ruby/gems/3.3.0/bin
  Gem home: /nix/store/r73hiy5hzsh2d5jj6bi87s6dz3cmpina-ruby3.3-ruby-libvirt-0.8.4/lib/ruby/gems/3.3.0
  Plugins dir: /nix/store/r73hiy5hzsh2d5jj6bi87s6dz3cmpina-ruby3.3-ruby-libvirt-0.8.4/lib/ruby/gems/3.3.0/plugins
Building native extensions with: '--with-libvirt-include=/nix/store/k6yvvvapcc9kq0zyafwwqq0a0qc0g53k-libvirt-10.10.0/include --with-libvirt-lib=/nix/store/k6yvvvapcc9kq0zyafwwqq0a0qc0g53k-libvirt-10.10.0/lib'
This could take a while...
Unpacked gem: '/build/container/w7ra8z0kxy1n24vybyfbap1pclk7s8ih-grpc-1.68.1'
Running phase: patchPhase
applying patch /nix/store/m1mccpgnr5901sdrf764a9zmchy8pcac-gcc-14-fixes.patch
patching file third_party/boringssl-with-bazel/src/crypto/internal.h
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file third_party/boringssl-with-bazel/src/crypto/internal.h.rej
error: builder for '/nix/store/f6dvxxlbsnrl0c0b2v0ha8v6kj68b3kn-ruby3.3-grpc-1.68.1.drv' failed with exit code 1;
       last 9 log lines:
       > Running phase: unpackPhase
       > Unpacked gem: '/build/container/w7ra8z0kxy1n24vybyfbap1pclk7s8ih-grpc-1.68.1'
       > Running phase: patchPhase
       > applying patch /nix/store/m1mccpgnr5901sdrf764a9zmchy8pcac-gcc-14-fixes.patch
       > patching file third_party/boringssl-with-bazel/src/crypto/internal.h
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 2 out of 2 hunks ignored -- saving rejects to file third_party/boringssl-with-bazel/src/crypto/internal.h.rej
       For full logs, run 'nix log /nix/store/f6dvxxlbsnrl0c0b2v0ha8v6kj68b3kn-ruby3.3-grpc-1.68.1.drv'.
error: 1 dependencies of derivation '/nix/store/2ic36mlzgvl67qcia33gylb52wbkhcc3-vagrant-2.4.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5bdmiki4k26c6m1gbl48bh871f7m7b8f-vagrant-2.4.3.drv' failed to build

Expected behavior

Should install normally as before.

Additional context

I'm on unstable channel

Metadata

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.2-zen1, NixOS, 25.05 (Warbler), 25.05.20241229.88195a9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.11`
 - channels(root): `"nixos-23.11"`
 - nixpkgs: `/nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source`

Notify maintainers


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@dattn dattn added the 0.kind: bug Something is broken label Jan 2, 2025
@dattn
Copy link
Author

dattn commented Jan 2, 2025

Related to this #362117 ?

@dattn
Copy link
Author

dattn commented Jan 2, 2025

It seems to be related to this one:
#368732

@ryansobol
Copy link

ryansobol commented Jan 3, 2025

Just ran into this issue as well. I'm using aarch64-darwin

@devurandom devurandom linked a pull request Jan 3, 2025 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants