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

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

Closed
firewave opened this issue Apr 2, 2024 · 6 comments
Closed

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

firewave opened this issue Apr 2, 2024 · 6 comments

Comments

@firewave
Copy link

firewave commented Apr 2, 2024

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.

@firewave firewave changed the title Installation of Qt 6.70 fails Installation of Qt 6.7.0 fails Apr 2, 2024
@firewave firewave changed the title Installation of Qt 6.7.0 fails Installation of Qt 6.7.0 fails (qt_base module no longer exists) Apr 2, 2024
@pzhlkj6612
Copy link
Contributor

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

@firewave
Copy link
Author

firewave commented Apr 2, 2024

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

@firewave
Copy link
Author

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

@firewave
Copy link
Author

firewave commented Apr 14, 2024

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

@alemuntoni
Copy link

The install-qt-action is still failing though.

I am using:

    - name: Install Qt
      uses: jurplel/install-qt-action@v4
      with:
        cache: 'true'
        version: '6.7.*'

And just on ubuntu22.04 and ubuntu24.04 I get:

[...]
Installing collected packages: patch, urllib3, soupsieve, semantic-version, idna, humanize, defusedxml, charset-normalizer, certifi, requests, beautifulsoup4, bs4, aqtinstall
Successfully installed aqtinstall-3.1.18 beautifulsoup4-4.12.3 bs4-0.0.2 certifi-2024.8.30 charset-normalizer-3.4.0 defusedxml-0.7.1 humanize-4.11.0 idna-3.10 patch-1.16 requests-2.32.3 semantic-version-2.10.0 soupsieve-2.6 urllib3-2.2.3
/opt/hostedtoolcache/Python/3.11.10/x64/bin/python3 -m aqt version
INFO    : aqtinstall(aqt) v3.1.18 on Python 3.11.10 [CPython GCC 13.2.0]
/opt/hostedtoolcache/Python/3.11.10/x64/bin/python3 -m aqt install-qt linux desktop 6.7.* --autodesktop --outputdir /home/runner/work/vclib/Qt
INFO    : aqtinstall(aqt) v3.1.18 on Python 3.11.10 [CPython GCC 13.2.0]
INFO    : Resolved spec '6.7.*' to 6.7.3
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.
ERROR   : The packages ['qt_base'] were not found while parsing XML of package information!
==============================Suggested follow-up:==============================
* Please use 'aqt list-qt linux desktop --arch 6.7.3' to show architectures available.

Perhaps this issue should remain open until the action no longer fails.

@pzhlkj6612
Copy link
Contributor

Hi, @alemuntoni:

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

aqtinstall is the backend of this action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants