-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
'spack install' on Windows errors with DLL trying to link to itself #44163
Comments
The commit that introduces this error is: |
@johnwparent This is the result of my git bisect. |
Thanks for spending the time to track that down Dan! |
attn @scheibelp |
Three steps to proper resolution:
|
You mean beyond the reasoning given in #42445 (i.e. that the generated manifest file is wrong if you generate additional paths after hooks are run)? I'm confused why moving Overall I'm fine with #44164, but the PR description should explain that it isn't clear why #44164 is needed (i.e. above reasoning suggests the changes in c3b131e should be fine), and that it is a temporary fix to accommodate working CI in Windows. |
#42445 does not provide an explanation for why #40773 breaks functionality on Windows (I agree it doesn't make a lot of sense on the surface as to why that change breaks anything), just why that change was needed (although made in an decidedly sub-optimal context that prevented any testing) in the first place. Change is not required for Windows CI but for developers trying to get Paraview working on Windows on develop (i.e. Dan). Will update PR description. |
It's the reason why c3b131e was required in the first place. Not why that change is causing the issue Dan points out above, which I think we agree is somewhat of a head-scratcher at the moment, or am I missing something? To be perfectly clear, I do not disagree with the need to resolve #42445, not do I disagree with c3b131e, I just do not see a clear reason why that change is causing the bug that inspired this issue, nor do I see how that first issue explains this bug, unless I'm misunderstanding either this bug, or the issue in #42445. |
OK cool
OK yep, sounds like we agree that part's a mystery Thanks for the clarification including links etc. |
c3b131e Solves a bug where |
Steps to reproduce
spack uninstall --all
spack install paraview
Error message
[spack] C:\Users\dan.lipsa\projects\spack>spack install paraview
==> Installing bzip2-1.0.8-lua5n47dgpejpbfinuqewbceq3yoaca3 [1/38]
==> No binary for bzip2-1.0.8-lua5n47dgpejpbfinuqewbceq3yoaca3 found: installing from source
==> Using cached archive: C:\Users\dan.lipsa\projects\spack\var\spack\cache_source-cache\archive\ab\ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269.tar.gz
==> Ran patch() for bzip2
==> bzip2: Successfully installed bzip2-1.0.8-lua5n47dgpejpbfinuqewbceq3yoaca3
Stage: 0.10s. Install: 6.62s. Post-install: 0.14s. Total: 6.90s
[+] C:\Users\dan.lipsa\projects\spack\opt\spack\windows-windows10.0.22631-skylake\msvc-19.39.33523\bzip2-1.0.8-lua5n47dgpejpbfinuqewbceq3yoaca3
[+] C:\Program Files\cmake (external cmake-3.29.0-rc1-fj44ws7t4rj44farqvfogb2nqewueexs)
[+] C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja (external ninja-1.11.0-3mpj42ci3xgxgmwygavomw57fsc3ipir)
==> Error: [WinError 5] Access is denied: 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\Microsoft.WindowsAzure.Storage.dll' -> 'C:\Program Files (x86)\Windows Kits\10\bin\Microsoft.WindowsAzure.Storage.dll'
Information on your system
General information
spack debug report
and reported the version of Spack/Python/PlatformThe text was updated successfully, but these errors were encountered: