-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fails on Mac, and Linux CentOS #30
Comments
I haven't ever tested That's why |
Understood. Though what could be different about Mac...?
Understood. Speaking of other problems: on a different machine (where I did not do
UpdateSecond attempt:
|
On one Mac machine (where it failed the first time): I re-created
Besides ignoring the install flags, it somehow considers On another Mac machine:
On a Linux machine (everything dynamic):
I guess, if one could teach this tool to treat UpdateOn Linux (CentOS 8):
Update 2It seems that your tools not only expect presence of certain files, but do not tolerate at all when those files are absent. Example:
|
@phadej do you know what part of code is responsible for determining whether an object with "execute" permissions is a file or a directory? And where that determination result could get lost/ignored? It's most unpleasant when |
@phadej any chance you can fix this for Mac, with me running tests for you? |
The If it works now when you create |
Which is why I'm asking you to look into this, as I assume it's your code?
It should when the system is configured to do dynamic builds. Here's what's stored in that directory: $ exa -l /Users/ur20980/.cabal/store/ghc-8.10.1/lib
.rwxr-xr-x 1.6M ur20980 13 Jul 21:58 libHSbfnctrs-5.5.7-5c50f76d-ghc8.10.1.dylib
.rwxr-xr-x 1.6M ur20980 13 Jul 22:03 libHSbfnctrs-5.5.7-5d53f676-ghc8.10.1.dylib
.rwxr-xr-x 287k ur20980 13 Jul 22:01 libHSbnry-nstncs-1.0.0.1-44530138-ghc8.10.1.dylib
.rwxr-xr-x 287k ur20980 17 Jul 17:42 libHSbnry-nstncs-1.0.0.1-dbb72788-ghc8.10.1.dylib
.rwxr-xr-x 9.1k ur20980 13 Jul 21:58 libHSbnry-rphns-1.0.1-e9052b83-ghc8.10.1.dylib
.rwxr-xr-x 84k ur20980 13 Jul 21:58 libHSbs-cmpt-0.11.1-266c13b1-ghc8.10.1.dylib
.rwxr-xr-x 84k ur20980 13 Jul 22:02 libHSbs-cmpt-0.11.1-fa655d8b-ghc8.10.1.dylib
.rwxr-xr-x 97k ur20980 13 Jul 22:02 libHSbs-cmpt-bttrs-0.11.1-8d0b0544-ghc8.10.1.dylib
.rwxr-xr-x 97k ur20980 13 Jul 21:58 libHSbs-cmpt-bttrs-0.11.1-26684db9-ghc8.10.1.dylib
.rwxr-xr-x 9.6k ur20980 13 Jul 21:58 libHSbs-rphns-0.8.2-14a7478e-ghc8.10.1.dylib
.rwxr-xr-x 9.6k ur20980 13 Jul 22:02 libHSbs-rphns-0.8.2-277fdc36-ghc8.10.1.dylib
.rwxr-xr-x 37k ur20980 13 Jul 21:58 libHSbs16-bytstrng-0.1.1.7-d942f8ed-ghc8.10.1.dylib
.rwxr-xr-x 37k ur20980 13 Jul 22:02 libHSbs16-bytstrng-0.1.1.7-e0ca7f7b-ghc8.10.1.dylib
.rwxr-xr-x 33M ur20980 13 Jul 22:07 libHSCbl-3.0.2.0-46621065-ghc8.10.1.dylib
.rwxr-xr-x 159k ur20980 13 Jul 21:58 libHScbl-dctst-1.0.8-2b2ca77c-ghc8.10.1.dylib
.rwxr-xr-x 159k ur20980 13 Jul 22:02 libHScbl-dctst-1.0.8-52950e58-ghc8.10.1.dylib
.rwxr-xr-x 2.0M ur20980 13 Jul 22:07 libHScbl-hlpr-1.1.0.0-56f5ca28-ghc8.10.1.dylib
.rwxr-xr-x 1.1M ur20980 13 Jul 22:01 libHScbl-nstll-prsrs-0.3.0.1-4fb451a9-ghc8.10.1.dylib
.rwxr-xr-x 1.1M ur20980 17 Jul 17:42 libHScbl-nstll-prsrs-0.3.0.1-f89028ce-ghc8.10.1.dylib
.rwxr-xr-x 769k ur20980 13 Jul 22:06 libHScbl-pln-0.7.0.0-57fdd036-ghc8.10.1.dylib
.rwxr-xr-x 153k ur20980 13 Jul 22:02 libHSclck-0.8-af64b80e-ghc8.10.1.dylib
. . . . . [and so on] As you can see, that's where Cabal places the shared libraries it builds. A specific example to the point:
My setup seems to work reasonably fine until something like |
@phadej ? |
@phadej here's the current problem with
I'm pretty sure that Again, can you help, please? Making |
MacOS Catalina 10.15.5, Xcode-11.5, GHC-8.8.3, Cabal-3.2.0.0 (ghcup-installed), clean
~/.cabal/
directory - has only config files. First thing done - installed all of thecabal-extras
, then triedcabal-store-check --repair
- with disastrous consequences:~/.cabal/config
:The text was updated successfully, but these errors were encountered: