miurahr / aqtinstall

aqt: Another (unofficial) Qt CLI Installer on multi-platforms
https://aqtinstall.readthedocs.io/en/latest/
MIT License
949 stars 90 forks source link

[Bug]: Fails to install-src for Qt 6.8.1 on Linux #843

Open Matthew-McRaven opened 1 day ago

Matthew-McRaven commented 1 day ago

Bug description

When attempting to install the source code for Qt 6.8.1 on Linux, it fails to find the Update.xml file.

I am working inside a fresh docker container with python (e.g., docker run -it python /bin/bash). Inside the container, I execute pip install aqtinstall followed by aqt install-src linux 6.8.1, which leads to the error message reported below.

This might be related to #810?

Expected behavior

Installing source code for Qt 6.8.1 should not cause an error.

aqt and python version

v3.1.19 with Python 3.12.4

Operating System

Linux/Unix

Relevant log output

root@43354294a782:/# aqt install-src -O /build-qt linux 6.8.1
INFO    : aqtinstall(aqt) v3.1.19 on Python 3.12.4 [CPython GCC 12.2.0]
WARNING : Failed to download checksum for the file 'Updates.xml'. This may happen on unofficial mirrors.
ERROR   : Failed to locate XML data for Qt version '6.8.1'.
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt all_os qt' to show versions available.

Code of Conduct

ddalcino commented 1 day ago

The qt repo directory structure changed again for 6.8.1; source/docs /examples are now at https://download.qt.io/online/qtsdkrepository/all_os/qt/qt6_681_windows_line_endings_src/ and https://download.qt.io/online/qtsdkrepository/all_os/qt/qt6_681_unix_line_endings_src/

The https://download.qt.io/online/qtsdkrepository/all_os/qt/qt6_680_src_doc_examples/ directory we’re using doesn’t exist for 6.8.1 anymore.