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

Nix devshell build broken #11313

Closed
edolstra opened this issue Aug 16, 2024 · 0 comments · Fixed by #11342
Closed

Nix devshell build broken #11313

edolstra opened this issue Aug 16, 2024 · 0 comments · Fixed by #11342
Labels
bug build-problem Nix fails to compile or test; also improvements to build process regression Something doesn't work anymore

Comments

@edolstra
Copy link
Member

Describe the bug

Nix master (31f3f23) fails to build for me:

# nix develop 
# autoreconfPhase
# configurePhase
# installPhase
install flags: -j24 SHELL=/nix/store/5jw69mbaj5dg4l2bj58acg3gxywfszpj-bash-5.2p26/bin/bash profiledir=\$\(out\)/etc/profile.d PRECOMPILE_HEADERS=1 sysconfdir=\$\(out\)/etc install
...
  GEN    /home/eelco/Dev/nix-master/outputs/out/share/doc/nix/manual/index.html
error: File not found: ../store/types/
   ┌─ release-notes/rl-next.md:60:197
   │
60 │   The build hook protocol did in principle support custom ways of remote building, but that can also be accomplished with a custom service for the ssh or daemon/ssh-ng protocols, or with a custom [store type](../store/types/) i.e. `Store` subclass. <!-- we normally don't mention classes, but consider that this release note is about a library use case -->
   │                                                                                                                                                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File not found: ../store/types/

Error: One or more incorrect links
2024-08-16 19:41:56 [ERROR] (mdbook::renderer): Renderer exited with non-zero return code.
2024-08-16 19:41:56 [ERROR] (mdbook::utils): Error: Rendering failed
2024-08-16 19:41:56 [ERROR] (mdbook::utils):    Caused By: The "linkcheck" renderer failed
make: *** [doc/manual/local.mk:215: /home/eelco/Dev/nix-master/outputs/out/share/doc/nix/manual/index.html] Error 101

Also, installCheckPhase gives weird errors, e.g.

    umount: /tmp/nix-shell.RjTsff/nix-test/local-overlay-store/delete-refs/stores/merged-store/nix/store: filesystem was unmounted, but failed to update userspace mount table.
make: *** [mk/lib.mk:93: tests/functional/local-overlay-store/delete-refs.sh.test] Error 16

Finally, checkPhase no longer does anything (#11301).

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

nix-env --version output

Additional context

Add any other context about the problem here.

Priorities

Add 👍 to issues you find important.

@edolstra edolstra added bug build-problem Nix fails to compile or test; also improvements to build process regression Something doesn't work anymore labels Aug 16, 2024
This was referenced Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug build-problem Nix fails to compile or test; also improvements to build process regression Something doesn't work anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant