Skip to content
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

[Bug]: Install fails for win64_llvm_mingw arch #825

Open
1 task done
pcolby opened this issue Oct 5, 2024 · 2 comments
Open
1 task done

[Bug]: Install fails for win64_llvm_mingw arch #825

pcolby opened this issue Oct 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@pcolby
Copy link

pcolby commented Oct 5, 2024

Bug description

For Qt 6.7 (and 6.8) it should be possible to install the win64_llvm_mingw arch, however, it appears that aqt expects to find the qconfig.pri in an incorrect location eg:

ERROR   : Updater caused an IO error: [Errno 2] No such file or directory: '/home/paul/tmp/aqt/6.7.3/llvm_mingw/mkspecs/qconfig.pri'

But the qconfig.pri file is under a llvm-mingw_64 directory, not llvm_mingw.

Expected behavior

This should work, without error:

aqt install-qt windows desktop 6.7.3 win64_llvm_mingw
aqt install-qt windows desktop 6.8.0 win64_llvm_mingw

Thanks!

aqt and python version

v3.1.17 on Python 3.10.4 [CPython GCC 13.2.0]

Operating System

Linux/Unix, Windows

Relevant log output

paul@jafar:~/tmp/aqt$ aqt install-qt windows desktop 6.7.3 win64_llvm_mingw
INFO    : aqtinstall(aqt) v3.1.17 on Python 3.10.4 [CPython GCC 13.2.0]
WARNING : Specified Qt version "6.7.3" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
INFO    : Downloading qtdeclarative...
INFO    : Downloading qtsvg...
INFO    : Downloading qtbase...
INFO    : Downloading qttools...
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Finished installation of qtsvg-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 3.12440094
INFO    : Finished installation of qttools-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 4.44455947
INFO    : Downloading qttranslations...
INFO    : Downloading llvm...
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Finished installation of qttranslations-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 2.88042200
INFO    : Finished installation of qtbase-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 6.98255987
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Finished installation of llvm-mingw-20231128-ucrt-x86_64-runtime.7z in 2.73452832
INFO    : Downloading d3dcompiler_47...
INFO    : Downloading opengl32sw...
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Finished installation of d3dcompiler_47-x64.7z in 2.80330106
INFO    : Finished installation of qtdeclarative-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 8.91979386
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Finished installation of opengl32sw-64-mesa_11_2_2-signed_sha256.7z in 3.12606544
ERROR   : Updater caused an IO error: [Errno 2] No such file or directory: '/home/paul/tmp/aqt/6.7.3/llvm_mingw/mkspecs/qconfig.pri'
paul@jafar:~/tmp/aqt$ aqt install-qt windows desktop 6.8.0 win64_llvm_mingw
INFO    : aqtinstall(aqt) v3.1.17 on Python 3.10.4 [CPython GCC 13.2.0]
WARNING : Specified Qt version "6.8.0" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
INFO    : Downloading qtbase...
INFO    : Downloading qttools...
INFO    : Downloading qtdeclarative...
INFO    : Downloading qtsvg...
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Finished installation of qtsvg-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 2.75022045
INFO    : Downloading qttranslations...
INFO    : Finished installation of qttools-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 6.77735378
INFO    : Finished installation of qtbase-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 7.68534680
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Downloading llvm...
INFO    : Finished installation of qttranslations-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 5.50731286
INFO    : Downloading d3dcompiler_47...
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Finished installation of llvm-mingw-20231128-ucrt-x86_64-runtime.7z in 2.68107407
INFO    : Downloading opengl32sw...
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Finished installation of d3dcompiler_47-x64.7z in 2.86295934
INFO    : Finished installation of qtdeclarative-Windows-Windows_11_23H2-Clang-Windows-Windows_11_23H2-X86_64.7z in 10.97629081
INFO    : Redirected: mirror.aarnet.edu.au
INFO    : Finished installation of opengl32sw-64-mesa_11_2_2-signed_sha256.7z in 3.19139364
ERROR   : Updater caused an IO error: [Errno 2] No such file or directory: '/home/paul/tmp/aqt/6.8.0/llvm_mingw/mkspecs/qconfig.pri'
paul@jafar:~/tmp/aqt$ ls 6.7.3/ 6.8.0/
6.7.3/:
llvm-mingw_64

6.8.0/:
llvm-mingw_64
paul@jafar:~/tmp/aqt$

Code of Conduct

  • I agree to follow this project's Code of Conduct
@pcolby pcolby added bug Something isn't working triage labels Oct 5, 2024
pcolby added a commit to pcolby/dokit that referenced this issue Oct 5, 2024
pcolby added a commit to pcolby/dokit that referenced this issue Oct 5, 2024
In preparation for llvm-mingw builds, and, eventually
native ARM builds for Qt 6.8+ (when GitHub hosted runners
are available).

Squashed commit of the following:

commit 5204b38
Author: Paul Colby <[email protected]>
Date:   Sun Oct 6 10:22:50 2024 +1100

    Restore the Linux and macOS builds

commit fe26553
Author: Paul Colby <[email protected]>
Date:   Sun Oct 6 10:08:24 2024 +1100

    Don't override exclusion with inclusion

commit 459bca3
Author: Paul Colby <[email protected]>
Date:   Sun Oct 6 10:05:18 2024 +1100

    Don't override exclusion with inclusions

commit e47dfbc
Author: Paul Colby <[email protected]>
Date:   Sun Oct 6 10:02:33 2024 +1100

    Temporarily exclude LLVM builds for Qt 6.7 and 6.8

    Just until miurahr/aqtinstall#825 is
    resolved.

commit 2658da6
Author: Paul Colby <[email protected]>
Date:   Sun Oct 6 09:35:16 2024 +1100

    Don't include an excluded matrix combination

commit 02b2d13
Author: Paul Colby <[email protected]>
Date:   Sun Oct 6 09:29:17 2024 +1100

    Correct workflow syntax

commit bbeed1e
Author: Paul Colby <[email protected]>
Date:   Sun Oct 6 09:27:08 2024 +1100

    Refactor the Windows matrix for llvm-mingw support
@miurahr miurahr removed the triage label Oct 5, 2024
@jdpurcell
Copy link
Contributor

jdpurcell commented Oct 8, 2024

I think the same problem is happening when trying to install Qt 6.8 cross-compiled ARM64 on an X64 host.

C:\Users\WDAGUtilityAccount\Downloads>aqt version
INFO    : aqtinstall(aqt) v3.1.18 on Python 3.12.4 [CPython MSC v.1940 64 bit (AMD64)]

C:\Users\WDAGUtilityAccount\Downloads>aqt list-qt windows desktop --arch 6.8.0
win64_llvm_mingw win64_mingw win64_msvc2022_64 win64_msvc2022_arm64_cross_compiled

C:\Users\WDAGUtilityAccount\Downloads>aqt install-qt windows desktop 6.8.0 win64_msvc2022_arm64_cross_compiled --autodesktop
INFO    : aqtinstall(aqt) v3.1.18 on Python 3.12.4 [CPython MSC v.1940 64 bit (AMD64)]
WARNING : Specified Qt version "6.8.0" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
WARNING : Specified target combination "windows desktop win64_msvc2022_arm64_cross_compiled" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
INFO    : Downloading qtbase...
INFO    : Downloading qtsvg...
INFO    : Downloading qtdeclarative...
INFO    : Downloading qttools...
INFO    : Redirected: qt.mirror.constant.com
INFO    : Redirected: qt.mirror.constant.com
INFO    : Redirected: qt.mirror.constant.com
INFO    : Redirected: qt.mirror.constant.com
INFO    : Finished installation of qtsvg-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-ARM64.7z in 1.36060130
INFO    : Downloading qttranslations...
INFO    : Redirected: qt.mirror.constant.com
INFO    : Finished installation of qttranslations-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-ARM64.7z in 2.28810100
INFO    : Finished installation of qttools-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-ARM64.7z in 4.92074820
INFO    : Finished installation of qtbase-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-ARM64.7z in 21.28903570
INFO    : Finished installation of qtdeclarative-Windows-Windows_11_23H2-MSVC2022-Windows-Windows_11_23H2-ARM64.7z in 44.54433420
ERROR   : Updater caused an IO error: [Errno 2] No such file or directory: 'C:\\Users\\WDAGUtilityAccount\\Downloads\\6.8.0\\msvc2022_arm64_cross_compiled\\mkspecs\\qconfig.pri'

I looked on disk and found that the file is really located at C:\Users\WDAGUtilityAccount\Downloads\6.8.0\msvc2022_arm64\mkspecs\qconfig.pri

EDIT: See #832

@tsteven4
Copy link
Contributor

tsteven4 commented Dec 7, 2024

aqt install-qt windows desktop 6.7.3 win64_llvm_mingw
aqt install-qt windows desktop 6.8.0 win64_llvm_mingw

These install errors were fixed in 3.1.19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants