jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
446 stars 78 forks source link

Installation of Qt 6.7.0 fails (`qt_base` module no longer exists) #231

Closed firewave closed 2 months ago

firewave commented 3 months ago

Using ubuntu-22.04 runner:

      - name: Install Qt 6.7.0
        uses: jurplel/install-qt-action@v3
        with:
          version: 6.7.0
          modules: 'qtcharts'
          cache: true
/opt/hostedtoolcache/Python/3.11.8/x64/bin/python3 -m aqt install-qt linux desktop 6.7.0 --outputdir /home/runner/work/cppcheck/Qt --modules qtcharts
INFO    : aqtinstall(aqt) v3.1.12 on Python 3.11.8 [CPython GCC 11.4.0]
ERROR   : The packages ['qt_base', 'qtcharts'] were not found while parsing XML of package information!
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt linux desktop --arch 6.7.0' to show architectures available.
* Please use 'aqt list-qt linux desktop --modules 6.7.0 <arch>' to show modules available.
Error: Error: The process '/opt/hostedtoolcache/Python/3.11.8/x64/bin/python3' failed with exit code 1
$ aqt list-qt linux desktop --modules 6.7.0 linux_gcc_64 
debug_info qt3d qt3d.debug_information qt5compat qt5compat.debug_information qtcharts qtcharts.debug_information qtconnectivity qtconnectivity.debug_information qtdatavis3d qtdatavis3d.debug_information qtgraphs qtgraphs.debug_information qtgrpc qtgrpc.debug_information qthttpserver qthttpserver.debug_information qtimageformats qtimageformats.debug_information qtlanguageserver qtlanguageserver.debug_information qtlocation qtlocation.debug_information qtlottie qtlottie.debug_information qtmultimedia qtmultimedia.debug_information qtnetworkauth qtnetworkauth.debug_information qtpdf qtpositioning qtpositioning.debug_information qtquick3d qtquick3d.debug_information qtquick3dphysics qtquick3dphysics.debug_information qtquickeffectmaker qtquickeffectmaker.debug_information qtquicktimeline qtquicktimeline.debug_information qtremoteobjects qtremoteobjects.debug_information qtscxml qtscxml.debug_information qtsensors qtsensors.debug_information qtserialbus qtserialbus.debug_information qtserialport qtserialport.debug_information qtshadertools qtshadertools.debug_information qtspeech qtspeech.debug_information qtvirtualkeyboard qtvirtualkeyboard.debug_information qtwaylandcompositor qtwaylandcompositor.debug_information qtwebchannel qtwebchannel.debug_information qtwebengine qtwebengine.debug_information qtwebsockets qtwebsockets.debug_information qtwebview qtwebview.debug_information

The package qt_base no longer exists.

pzhlkj6612 commented 3 months ago

Hi. I think you'd better report it in aqtinstall's repository. This action depends on it.

firewave commented 3 months ago

I assumed the package might be requested by the action. The upstream issue is already known: https://github.com/miurahr/aqtinstall/issues/769.

firewave commented 2 months ago

It appears the issue was fixed upstream but no new version has been released yet.

firewave commented 2 months ago

The fixed version has been released and it is able to install 6.7.0 now:

/__t/Python/3.11.9/x64/bin/python3 -m aqt install-qt linux desktop 6.7.0 --outputdir /__w/cppcheck/Qt --modules qtcharts
INFO    : aqtinstall(aqt) v3.1.13 on Python 3.11.9 [CPython GCC 11.4.0]
INFO    : Downloading qtcharts...
INFO    : Downloading qtbase...
INFO    : Downloading qtsvg...
INFO    : Downloading qtdeclarative...
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-Linux-RHEL_8_8-GCC-Linux-RHEL_8_8-X86_64.7z in 1.2[181](https://github.com/danmar/cppcheck/actions/runs/8680928843/job/23802578970?pr=6218#step:8:185)2008
INFO    : Finished installation of qtcharts-Linux-RHEL_8_8-GCC-Linux-RHEL_8_8-X86_64.7z in 1.46012127
INFO    : Downloading qttools...
INFO    : Downloading qttranslations...
INFO    : Redirected: qt.mirror.constant.com
INFO    : Redirected: qt.mirror.constant.com
INFO    : Finished installation of qttranslations-Linux-RHEL_8_8-GCC-Linux-RHEL_8_8-X86_64.7z in 1.35626877
INFO    : Downloading qtwayland...
INFO    : Redirected: qt.mirror.constant.com
INFO    : Finished installation of qtwayland-Linux-RHEL_8_8-GCC-Linux-RHEL_8_8-X86_64.7z in 1.10457713
INFO    : Downloading icu...
INFO    : Redirected: qt.mirror.constant.com
INFO    : Finished installation of qtbase-Linux-RHEL_8_8-GCC-Linux-RHEL_8_8-X86_64.7z in 5.49853334
INFO    : Finished installation of qttools-Linux-RHEL_8_8-GCC-Linux-RHEL_8_8-X86_64.7z in 5.71768268
INFO    : Finished installation of icu-linux-Rhel8.6-x86_64.7z in 3.65337631
INFO    : Finished installation of qtdeclarative-Linux-RHEL_8_8-GCC-Linux-RHEL_8_8-X86_64.7z in 14.29811373