https://bugs.winehq.org/show_bug.cgi?id=53547
Bug ID: 53547 Summary: msys2 installer fails to check disk space: "harddisk_query_volume Unsupported volume query 3" Product: Wine Version: 7.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: mountmgr.sys Assignee: wine-bugs@winehq.org Reporter: joel@airwebreathe.org.uk Distribution: ---
The msys2 installer is powered by Qt IFW (Installer Framework). When installing in CLI mode, the installer fails to determine the available disk space:
$ wine msys2-x86_64-20220603.exe in com.msys2.root -t 'c:\msys64' 0120:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 0120:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems [0] Arguments: Z:\home\user\Downloads\msys2-x86_64-20220603.exe, in, com.msys2.root, -t, c:\msys64 [45] Operations sanity check succeeded. [66] Loaded control script ":/metadata/installer-config/control_js.js" [101] Preparing meta information download... 0120:fixme:nls:get_dummy_preferred_ui_language (0x8 000000000021F118 000000000021F140 000000000021F11C) returning a dummy value (current locale) 0120:fixme:nls:get_dummy_preferred_ui_language (0x8 000000000021F118 000000000021F140 000000000021F11C) returning a dummy value (current locale) [134] Warning: QFont::setPixelSize: Pixel size <= 0 (-1) [159] Selected components without dependencies: com.msys2.root com.msys2.root.base [193] Installation space required: "527.19 MB" Temporary space required: "256.00 MB" Local repository size: "0.00 bytes" 0058:fixme:mountmgr:harddisk_query_volume Unsupported volume query 3 0058:fixme:mountmgr:harddisk_query_volume Unsupported volume query 3 0058:fixme:mountmgr:harddisk_query_volume Unsupported volume query 3 0058:fixme:mountmgr:harddisk_query_volume Unsupported volume query 3 0058:fixme:mountmgr:harddisk_query_volume Unsupported volume query 3 0058:fixme:mountmgr:harddisk_query_volume Unsupported volume query 3 [284] Cannot determine available space on device. Volume descriptor: "\\?\Volume{00000000-0000-0000-0000-000000000043}\", Mount path: "C:\". Continue silently. [359] [362] Do you want to continue? [375] Yes|No
https://bugs.winehq.org/show_bug.cgi?id=53547
--- Comment #1 from Joel Holdsworth joel@airwebreathe.org.uk --- This has something to do with NT-style GUID drive paths. The installer gets the drive list from FindFirstVolumeW/FindNextVolumeW. We can trigger the fixme with a very simple test like this:
-----------------
#include <windows.h>
int main(int argc, char **argv) { GetDiskFreeSpaceW(L"\\?\Volume{00000000-0000-0000-0000-000000000043}\", NULL, NULL, NULL, NULL); }
-----------------
https://bugs.winehq.org/show_bug.cgi?id=53547
--- Comment #2 from Joel Holdsworth joel@airwebreathe.org.uk --- This issue is addressed by this patch:
https://gitlab.winehq.org/wine/wine/-/merge_requests/710/diffs?commit_id=3fa...
https://bugs.winehq.org/show_bug.cgi?id=53547
Joel Holdsworth joel@airwebreathe.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Joel Holdsworth joel@airwebreathe.org.uk --- Fixed: https://gitlab.winehq.org/wine/wine/-/commit/7546b4a63d437c2f7f8673cae9341d3...
https://bugs.winehq.org/show_bug.cgi?id=53547
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Fixed by SHA1| |7546b4a63d437c2f7f8673cae93 | |41d358f84f1a5
https://bugs.winehq.org/show_bug.cgi?id=53547
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.17.