-
Notifications
You must be signed in to change notification settings - Fork 338
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
Installation of Agda fails when missing executable from executables
file
#5762
Comments
There is an option |
Do we have to verify the contents of the |
I postponed the check in #5786. It's checking every time an executable is called rather than only the first time. I haven't measured anything, but I don't believe the checks take any significant amount of time. I don't see any problems delaying the check. One concern might be that executables can appear or disappear (or change) during the execution of Agda, but checking up front doesn't help anything with that. |
…it's called Conflicts: src/full/Agda/TypeChecking/Serialise.hs
…it's called Conflicts: src/full/Agda/TypeChecking/Serialise.hs
If you have an executable listed in your
executables
file that is missing, and you try to install Agda, it fails. The error message given does mention that the executable is missing, but doesn't flag that its the main cause. I'd diagnosed it as a configuration problem with Cabal, and I've spent about 10 hours in the last few days nuking and reinstalling cabal/Agda repeatedly trying to get to the root of it 😢The installation really shouldn't fail in this scenario.
The error message given is as follows:
If I remove
'/home/matthew/.cabal/bin/vehicle'
from the executables file, then it installs fine.The text was updated successfully, but these errors were encountered: