Repository navigation
fix: explain a missing dynamic loader when a process plugin fails to start - #1403
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a process plugin's dynamic loader (ELF interpreter) doesn't exist on the system, such as a glibc-linked plugin on NixOS, spawning it fails with
No such file or directory (os error 2)even though the executable exists. This was confusing because it reads like the plugin file is missing (dprint/dprint-plugin-prettier#69).Now when spawning fails with
NotFoundon unix and the executable exists, the error says the system is likely missing the dynamic loader or interpreter it needs and mentions nix-ld as a workaround on NixOS.The existing forget-and-redownload retry is unchanged, so dprint still re-downloads once and then fails with this message.