jurplel / install-qt-action

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

The packages ['qtwayland'] were not found while parsing XML of package information #164

Closed akiyosi closed 1 year ago

akiyosi commented 1 year ago

Hi :) When I try to install Qt by the following CI script on a linux workload, I get an error.

    - name: Install Qt for linux
      uses: jurplel/install-qt-action@v3
      with:
        version: 5.15.2
        host: linux
        target: desktop
        dir: ${{ github.workspace }}
        modules: 'qtcharts qtdatavis3d qtpurchasing qtvirtualkeyboard qtwebengine qtnetworkauth qtwebglplugin qtscript qtwayland'

here the CI output log.

...
Collecting idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 14.6 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
  Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 30.8 MB/s eta 0:00:00
Collecting soupsieve>1.2
  Downloading soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Using legacy 'setup.py install' for patch, since package 'wheel' is not installed.
Using legacy 'setup.py install' for bs4, since package 'wheel' is not installed.
Installing collected packages: texttable, patch, brotli, wheel, urllib3, soupsieve, semantic-version, pyzstd, pyppmd, pycryptodomex, pybcj, psutil, multivolumefile, inflate64, idna, defusedxml, charset-normalizer, certifi, requests, py7zr, beautifulsoup4, bs4, aqtinstall
  Running setup.py install for patch: started
  Running setup.py install for patch: finished with status 'done'
  Running setup.py install for bs4: started
  Running setup.py install for bs4: finished with status 'done'
Successfully installed aqtinstall-2.1.0 beautifulsoup4-4.11.1 brotli-1.0.9 bs4-0.0.1 certifi-2022.9.24 charset-normalizer-2.1.1 defusedxml-0.7.1 idna-3.4 inflate64-0.3.0 multivolumefile-0.2.3 patch-1.16 psutil-5.9.2 py7zr-0.19.0 pybcj-1.0.1 pycryptodomex-3.15.0 pyppmd-0.18.3 pyzstd-0.15.3 requests-2.28.1 semantic-version-2.10.0 soupsieve-2.3.2.post1 texttable-1.6.4 urllib3-1.26.12 wheel-0.37.1
/opt/hostedtoolcache/Python/3.10.7/x64/bin/python3 -m aqt install-qt linux desktop 5.15.2 --outputdir /home/runner/work/goneovim/goneovim/Qt --modules qtcharts qtdatavis3d qtpurchasing qtvirtualkeyboard qtwebengine qtnetworkauth qtwebglplugin qtscript qtwayland
aqtinstall(aqt) v2.1.0 on Python 3.10.7 [CPython GCC 9.4.0]
Some of specified modules are unknown.
The packages ['qtwayland'] were not found while parsing XML of package information!
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt linux desktop --modules 5.15.2 <arch>' to show modules available.
Error: Error: The process '/opt/hostedtoolcache/Python/3.10.7/x64/bin/python3' failed with exit code 1

I understand that qtwayland is a valid submodule name, am I doing something wrong?

ddalcino commented 1 year ago

Have you tried checking aqt list-qt or https://ddalcino.github.io/aqt-list-server/? Looks like qtwayland is not a valid module for that release, but qtwaylandcompositor is. Is that the module you meant?

akiyosi commented 1 year ago

@ddalcino Thanks! I guess I was mistaken.