-
Notifications
You must be signed in to change notification settings - Fork 697
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
cabal install --lib
errors should point to the package environment that cause the error
#7820
Comments
May this be caused by #7819? |
If I understand #7819 correctly, it is about |
Yes, I'm generally confused what's going on here, before I even consider misleading error messages, so I'm grasping at straws. E.g., are you able to reproduce the problem? Or just produce a different, less mysterious, case of the misleading error message? How will we test the errors are improved? Perhaps if we instead fix the root cause of the problem, the better error messages won't be required? To be clear: tickets with non-reproducible problems are valuable, as well, especially if several cases are recorded, but I'm not sure about the status of this one. |
Ok, maybe I will find a reproducer. |
Remark (by @andreasabel): The following comment refers to agda/agda#5693. the reference to the file content was - the last line is the likely culprit!
|
E.g., trying (GHC 9.2.1, cabal
master
):This is surprising, as
microlens
does not have any dependencies exceptbase
.With
ghc-pkg
there was no problem, but after some longer digging I remembered https://ghc.gitlab.haskell.org/ghc/doc/users_guide/packages.html#package-environments and found.ghc/x86_64-darwin-9.2.1/environments/default
:So with knowledge of #7209 I can identify
drctry
(dorctry? --- no,directory
!!) as source of conflict. (I still wonder how it ended up here if it conflicts withghc-9.2.1
??)I still think that
is inaccurate when I invoked
cabal
onmicrolens
.The output should rather reveal the correct source of the
directory-1.3.7.0
goal.The text was updated successfully, but these errors were encountered: