jurplel / install-qt-action Goto Github PK
View Code? Open in Web Editor NEWInstall Qt on your Github Actions workflows with just one simple action
License: MIT License
Install Qt on your Github Actions workflows with just one simple action
License: MIT License
Seems install-qt-action
is installing the MSVC-version of Qt, I have a dependency which enforced me build it on a minGW platform.
Any suggestions that how I can do it?
Seems to be #2 again.
Curiosity: how do releases work for actions? I was expecting the compiled version as a GitHub Releases artifact but only the source code is available. It would be nice if the release process was automated to avoid this issue resurfacing.
I have a really hard time getting this running on Windows.
Let me first say that I'm not really knowing what I'm doing, C++ is not my comfort zone and Qt even less.
I'm just trying to get this running on Windows too and hope you can maybe help.
https://github.com/Vampire/svn2git/runs/879715535 works fine with the setup on Linux.
Now I try to get it running on Windows.
But here is the problem: https://github.com/Vampire/svn2git/runs/879875430
Qt is installed fine, but when trying to run qmake
the error from the title is raised and I'm kind of lost. :-/
Hi,
First of all, thanks a lot for this action! Saved me from quite a lot of headaches!
I recently added linux ci to one of my projects, and I noticed it failed installing Qt because setuptools seems to be missing.
I patched my yml file and added this just before the install-qt-action step:
- name: Patch install-qt-action
shell: bash
run: pip3 install setuptools
and it fixed the problem, but it would be better if it worked as is on ubuntu-latest too :)
(you can see the action run here: https://github.com/dcourtois/QmlDev/commit/78cf81c006b94eff05cbcdeb1512c6bfcc38e4f1/checks?check_suite_id=334841384)
Excerpt:
python -m aqt install -O d:\a\SingleApplication/Qt 5.15.0 windows desktop win64_msvc2017_64 -m ""
Finished installation
Error while parsing package information!
##[error]The process 'python' failed with exit code 1
Platform: windows-latest
Version: 5.15.0
Hi, I'm getting a strange error when installing Qt with Github workflows on Linux. The step failed with the error : "Download error: invalid block data". Here is the full log file and here my project where it happened. I haven't changed anything and the workflow for Linux broke today. I tried changing the Qt version but it didn't change anything.
The actions toolkit now has @actions/tool-cache and @actions/cache where the latter is the same that the official cache action uses internally. So you could do the caching inside your action instead of depending on the user doing it and telling you he cached.
For some reason, the action just hangs after we finished downloading on Windows and Linux. Could you look into this?
The config file is here: https://github.com/wario-land/WL4Editor/blob/master/.github/workflows/main.yml
Hello! Thank you for your action. In the last few days the action crashes when unpacking. Here is the log. I use this with the default configuration:
- name: Install Qt
uses: jurplel/[email protected]
I'm having an issue where pip3
uses python3.9 but python3
default defaults to python3.8
:
Run jurplel/install-qt-action@v2
brew install p7zip
Warning: p7zip 16.02_2 is already installed and up-to-date
To reinstall 16.02_2, run `brew reinstall p7zip`
pip3 install setuptools wheel
Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (50.3.0)
Requirement already satisfied: wheel in /usr/local/lib/python3.9/site-packages (0.35.1)
[ … snip; Not the python3.9 above … ]
python3 -m aqt install -O /Users/runner/work/explicitcad/Qt 5.10.0 mac desktop
/usr/local/opt/[email protected]/bin/python3.8: No module named aqt
Error: The process 'python3' failed with exit code 1
python3
obviously calls /usr/local/opt/[email protected]/bin/python3.8
.
This happens on a Github-hosted runner under macOS.
from the README no, but from tests ubuntu is listed
BTW thanks for your & miurahr's work!
Is it possible to support static qt installs for projects that want to statically link? Thanks!
python3 -m aqt install -O /home/runner/work/xxx/Qt 5.5.1 linux desktop
2020-06-16 17:27:40,458 - aqt - INFO - aqtinstall(aqt) v0.9.0 on Python 3.5.2 [CPython GCC 5.4.0 20160609]
2020-06-16 17:27:40,458 - aqt - WARNING - Specified Qt version is unknown: 5.5.1.
2020-06-16 17:27:41,090 - aqt - ERROR - Download error when access to https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt5_551/Updates.xml
Server response code: 404, reason: Not Found
##[error]The process 'python3' failed with exit code 1
When looking into https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/
a differently named folder 5.5 is listed.
After adding modules: qtcharts
, the build still failed doe to a lack of QtCharts
file: https://github.com/lhy0403/Qv2ray/blob/8f5c5cf7d870a406f13f72ffed9cde31682e3bd4/.github/workflows/build-push.yml#L19
It should be that on any android or windows build, the arch argument should be added, but it actually only worked on windows builds.
I'm trying to compile desktop application without success (https://github.com/dev-0x7C6/laser-engraver/runs/301986135). I'm not sure if this qt installation is suitable to build desktop application or cmake pulling to much system stuff. Any idea?
Recently (just few hours ago) OSX jobs e.g. https://github.com/KomodoPlatform/atomicDEX-Desktop/pull/492/checks?check_run_id=1252867966 started to fail with:
pip3 install aqtinstall==0.9.4
Collecting aqtinstall==0.9.4
Downloading aqtinstall-0.9.4-py2.py3-none-any.whl (27 kB)
Collecting requests
Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting packaging
Downloading packaging-20.4-py2.py3-none-any.whl (37 kB)
Requirement already satisfied: wheel in /usr/local/lib/python3.9/site-packages (from aqtinstall==0.9.4) (0.35.1)
Requirement already satisfied: py7zr>=0.9.1 in /usr/local/lib/python3.9/site-packages (from aqtinstall==0.9.4) (0.9.1)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting chardet<4,>=3.0.2
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna<3,>=2.5
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting certifi>=2017.4.17
Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting six
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting pyparsing>=2.0.2
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Requirement already satisfied: pycryptodome in /usr/local/lib/python3.9/site-packages (from py7zr>=0.9.1->aqtinstall==0.9.4) (3.9.8)
Requirement already satisfied: texttable in /usr/local/lib/python3.9/site-packages (from py7zr>=0.9.1->aqtinstall==0.9.4) (1.6.3)
Installing collected packages: urllib3, chardet, idna, certifi, requests, six, pyparsing, packaging, aqtinstall
Successfully installed aqtinstall-0.9.4 certifi-2020.6.20 chardet-3.0.4 idna-2.10 packaging-20.4 pyparsing-2.4.7 requests-2.24.0 six-1.15.0 urllib3-1.25.10
python3 -m aqt install -O /Users/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/Qt 5.15.0 mac desktop -m qtcharts qtwidgets debug_info
/usr/local/opt/[email protected]/bin/python3.8: No module named aqt
Error: The process 'python3' failed with exit code 1
a little bit confused rn, probably there were some changes in worker image (package installing for python3.9 but python3 aliased for python3.8)
pip3
is used throughout the action, and while it's there on GitHub runners, it needs to be installed on seld-hosted ones.
May be worth installing it, or at least documenting the assumptions about the environment the actions has.
Thank you for providing the support to build qt applications on github actions! Really great work!
Have you thought about supporting the webassembly target platform as well? Maybe this is the last missing part for the full support of all target platforms of Qt.
Qt blog announces changes on Qt binary download policy in Febrary.
https://lwn.net/Articles/810652/
It may affect aqtinstall and here may also become not working.
2020-04-06T09:15:41.6609829Z [command]sudo apt-get update 2020-04-06T09:15:41.8958431Z Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 2020-04-06T09:15:41.8984561Z Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease 2020-04-06T09:15:41.9086870Z Get:4 https://packages.microsoft.com/repos/azure-cli bionic InRelease [3964 B] 2020-04-06T09:15:41.9184908Z Get:5 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease [4002 B] 2020-04-06T09:15:41.9187675Z Get:6 https://download.mono-project.com/repo/ubuntu stable-bionic InRelease [5143 B] 2020-04-06T09:15:41.9264004Z Get:7 http://packages.cloud.google.com/apt cloud-sdk InRelease [6340 B] 2020-04-06T09:15:41.9347941Z Get:8 https://cli-assets.heroku.com/apt ./ InRelease [2879 B] 2020-04-06T09:15:41.9430582Z Hit:9 https://storage.googleapis.com/bazel-apt stable InRelease 2020-04-06T09:15:41.9436471Z Hit:10 https://dl.yarnpkg.com/debian stable InRelease 2020-04-06T09:15:41.9719112Z Get:11 http://dl.google.com/linux/chrome/deb stable Release [943 B] 2020-04-06T09:15:41.9939755Z Hit:12 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease 2020-04-06T09:15:41.9968231Z Get:13 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B] 2020-04-06T09:15:42.1062865Z Get:14 https://packages.microsoft.com/repos/azure-cli bionic/main amd64 Packages [8652 B] 2020-04-06T09:15:42.1514642Z Hit:15 http://ppa.launchpad.net/apt-fast/stable/ubuntu bionic InRelease 2020-04-06T09:15:42.2021424Z Get:16 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages [104 kB] 2020-04-06T09:15:42.2081892Z Ign:17 https://dl.bintray.com/sbt/debian InRelease 2020-04-06T09:15:42.2952348Z Get:19 https://dl.bintray.com/sbt/debian Release [815 B] 2020-04-06T09:15:42.3087585Z Hit:20 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease 2020-04-06T09:15:42.3256284Z Hit:1 https://packages.cloud.google.com/apt kubernetes-xenial InRelease 2020-04-06T09:15:42.3850814Z Get:21 https://dl.bintray.com/sbt/debian Release.gpg [821 B] 2020-04-06T09:15:42.4295480Z Get:22 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [677 kB] 2020-04-06T09:15:42.4585095Z Hit:18 https://packagecloud.io/github/git-lfs/ubuntu bionic InRelease 2020-04-06T09:15:42.4681375Z Hit:23 http://ppa.launchpad.net/hvr/ghc/ubuntu bionic InRelease 2020-04-06T09:15:42.4819793Z Get:24 http://packages.cloud.google.com/apt cloud-sdk/main amd64 Packages [101 kB] 2020-04-06T09:15:42.4961654Z Get:25 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [218 kB] 2020-04-06T09:15:42.5001690Z Get:26 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [28.5 kB] 2020-04-06T09:15:42.5012316Z Get:27 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [7568 B] 2020-04-06T09:15:42.5019275Z Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [653 kB] 2020-04-06T09:15:42.5206684Z Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [217 kB] 2020-04-06T09:15:42.6091936Z Get:30 https://cli-assets.heroku.com/apt ./ Packages [616 B] 2020-04-06T09:15:42.6262023Z Hit:31 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease 2020-04-06T09:15:42.7844851Z Hit:32 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease 2020-04-06T09:15:43.1227281Z Get:33 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1135 B] 2020-04-06T09:15:43.5685408Z Get:34 https://dl.bintray.com/sbt/debian Packages [4159 B] 2020-04-06T09:16:12.1049023Z Err:35 http://azure.archive.ubuntu.com/ubuntu bionic InRelease 2020-04-06T09:16:12.1082409Z Could not connect to azure.archive.ubuntu.com:80 (52.177.174.250), connection timed out 2020-04-06T09:16:12.1108763Z Err:36 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease 2020-04-06T09:16:12.1109788Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:12.1110654Z Err:37 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease 2020-04-06T09:16:12.1111241Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:17.1247520Z Fetched 2135 kB in 30s (70.5 kB/s) 2020-04-06T09:16:18.0890493Z Reading package lists... 2020-04-06T09:16:18.1258178Z W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to azure.archive.ubuntu.com:80 (52.177.174.250), connection timed out 2020-04-06T09:16:18.1273444Z W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:18.1278550Z W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:18.1281400Z W: Some index files failed to download. They have been ignored, or old ones used instead. 2020-04-06T09:16:18.1306164Z [command]sudo apt-get install build-essential libgl1-mesa-dev -y 2020-04-06T09:16:18.2209646Z Reading package lists... 2020-04-06T09:16:18.3851878Z Building dependency tree... 2020-04-06T09:16:18.3863487Z Reading state information... 2020-04-06T09:16:18.5144941Z build-essential is already the newest version (12.4ubuntu1). 2020-04-06T09:16:18.5147431Z The following packages were automatically installed and are no longer required: 2020-04-06T09:16:18.5148404Z bc dns-root-data dnsmasq-base ebtables grub-pc-bin landscape-common 2020-04-06T09:16:18.5149270Z liblldb-6.0 liblldb-8 liblxc-common liblxc1 libuv1 linux-headers-4.15.0-91 2020-04-06T09:16:18.5150108Z lxcfs lxd lxd-client python3-attr python3-automat python3-click 2020-04-06T09:16:18.5151131Z python3-colorama python3-constantly python3-hyperlink python3-incremental 2020-04-06T09:16:18.5152136Z python3-pam python3-pyasn1 python3-pyasn1-modules python3-service-identity 2020-04-06T09:16:18.5152808Z python3-twisted python3-twisted-bin python3-zope.interface uidmap xdelta3 2020-04-06T09:16:18.5153562Z Use 'sudo apt autoremove' to remove them. 2020-04-06T09:16:18.5153959Z The following additional packages will be installed: 2020-04-06T09:16:18.5154719Z libdrm-dev libegl-mesa0 libegl1 libgbm1 libgles1 libgles2 libglvnd-core-dev 2020-04-06T09:16:18.5155396Z libglvnd-dev libopengl0 libwayland-server0 libx11-xcb-dev libxcb-dri2-0-dev 2020-04-06T09:16:18.5156007Z libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0 2020-04-06T09:16:18.5156615Z libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0 2020-04-06T09:16:18.5157213Z libxcb-xfixes0-dev libxdamage-dev libxfixes-dev libxshmfence-dev 2020-04-06T09:16:18.5157824Z libxxf86vm-dev mesa-common-dev x11proto-damage-dev x11proto-fixes-dev 2020-04-06T09:16:18.5158564Z x11proto-xf86vidmode-dev 2020-04-06T09:16:18.6575826Z The following NEW packages will be installed: 2020-04-06T09:16:18.6577979Z libdrm-dev libegl-mesa0 libegl1 libgbm1 libgl1-mesa-dev libgles1 libgles2 2020-04-06T09:16:18.6578990Z libglvnd-core-dev libglvnd-dev libopengl0 libwayland-server0 libx11-xcb-dev 2020-04-06T09:16:18.6580061Z libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev 2020-04-06T09:16:18.6580928Z libxcb-randr0 libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev 2020-04-06T09:16:18.6581772Z libxcb-xfixes0 libxcb-xfixes0-dev libxdamage-dev libxfixes-dev 2020-04-06T09:16:18.6582966Z libxshmfence-dev libxxf86vm-dev mesa-common-dev x11proto-damage-dev 2020-04-06T09:16:18.6583882Z x11proto-fixes-dev x11proto-xf86vidmode-dev 2020-04-06T09:16:48.9287829Z 0 upgraded, 30 newly installed, 0 to remove and 29 not upgraded. 2020-04-06T09:16:48.9288825Z Need to get 1220 kB of archives. 2020-04-06T09:16:48.9289348Z After this operation, 7934 kB of additional disk space will be used. 2020-04-06T09:16:48.9290620Z Ign:1 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-dev amd64 2.4.99-1ubuntu1~18.04.2 2020-04-06T09:16:48.9347477Z Ign:2 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libwayland-server0 amd64 1.16.0-1ubuntu1.1~18.04.3 2020-04-06T09:16:48.9349199Z Err:3 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgbm1 amd64 19.2.8-0ubuntu0~18.04.3 2020-04-06T09:16:48.9350038Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9352381Z Err:4 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-xfixes0 amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9353042Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9353886Z Err:5 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libegl-mesa0 amd64 19.2.8-0ubuntu0~18.04.3 2020-04-06T09:16:48.9362237Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9364068Z Err:6 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgles1 amd64 1.0.0-2ubuntu2.3 2020-04-06T09:16:48.9364730Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9365686Z Err:7 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-xcb-dev amd64 2:1.6.4-3ubuntu0.2 2020-04-06T09:16:48.9366306Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9367346Z Err:8 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri2-0-dev amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9367896Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9368622Z Err:9 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-dri3-dev amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9369102Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9369787Z Err:10 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-glx0-dev amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9370256Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9371710Z Err:11 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-randr0 amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9372199Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9372887Z Err:12 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-randr0-dev amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9373360Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9374039Z Err:13 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-shape0-dev amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9374531Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9375894Z Err:14 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-xfixes0-dev amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9376371Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9377069Z Err:15 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-sync-dev amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9377538Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9378238Z Err:16 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-present-dev amd64 1.13-2~ubuntu18.04 2020-04-06T09:16:48.9378711Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9379513Z Err:17 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-fixes-dev all 1:2018.4-4 2020-04-06T09:16:48.9379963Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9381145Z Err:18 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 libxfixes-dev amd64 1:5.0.3-1 2020-04-06T09:16:48.9381665Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9382565Z Err:19 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-damage-dev all 1:2018.4-4 2020-04-06T09:16:48.9383066Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9383906Z Err:20 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 libxdamage-dev amd64 1:1.1.4-3 2020-04-06T09:16:48.9384600Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9385792Z Err:21 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 libxshmfence-dev amd64 1.3-1 2020-04-06T09:16:48.9386269Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9386941Z Err:22 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-xf86vidmode-dev all 2018.4-4 2020-04-06T09:16:48.9387414Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9388214Z Err:23 http://azure.archive.ubuntu.com/ubuntu bionic/main amd64 libxxf86vm-dev amd64 1:1.1.4-1 2020-04-06T09:16:48.9388655Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9389328Z Err:24 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 mesa-common-dev amd64 19.2.8-0ubuntu0~18.04.3 2020-04-06T09:16:48.9389789Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9390427Z Err:25 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libegl1 amd64 1.0.0-2ubuntu2.3 2020-04-06T09:16:48.9390884Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9391549Z Err:26 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglvnd-core-dev amd64 1.0.0-2ubuntu2.3 2020-04-06T09:16:48.9392013Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9392656Z Err:27 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgles2 amd64 1.0.0-2ubuntu2.3 2020-04-06T09:16:48.9393115Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9393762Z Err:28 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libopengl0 amd64 1.0.0-2ubuntu2.3 2020-04-06T09:16:48.9394219Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9394871Z Err:29 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglvnd-dev amd64 1.0.0-2ubuntu2.3 2020-04-06T09:16:48.9395329Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:48.9395998Z Err:30 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgl1-mesa-dev amd64 19.2.8-0ubuntu0~18.04.3 2020-04-06T09:16:48.9396461Z Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.1134196Z Get:1 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-dev amd64 2.4.99-1ubuntu1~18.04.2 [125 kB] 2020-04-06T09:16:49.4578262Z Get:2 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libwayland-server0 amd64 1.16.0-1ubuntu1.1~18.04.3 [29.6 kB] 2020-04-06T09:16:49.5019774Z Fetched 155 kB in 31s (5019 B/s) 2020-04-06T09:16:49.5021104Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgbm1_19.2.8-0ubuntu0~18.04.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5022228Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-xfixes0_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5023197Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libegl-mesa0_19.2.8-0ubuntu0~18.04.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5024186Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libgles1_1.0.0-2ubuntu2.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5025409Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-xcb-dev_1.6.4-3ubuntu0.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5026462Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-dri2-0-dev_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5027445Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-dri3-dev_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5028409Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-glx0-dev_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5029526Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-randr0_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5030525Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-randr0-dev_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5031509Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-shape0-dev_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5032580Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-xfixes0-dev_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5033525Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-sync-dev_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5034476Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxcb/libxcb-present-dev_1.13-2~ubuntu18.04_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5035409Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/x/xorgproto/x11proto-fixes-dev_2018.4-4_all.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5036352Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxfixes/libxfixes-dev_5.0.3-1_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5037269Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/x/xorgproto/x11proto-damage-dev_2018.4-4_all.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5038193Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxdamage/libxdamage-dev_1.1.4-3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5039119Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxshmfence/libxshmfence-dev_1.3-1_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5040617Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/x/xorgproto/x11proto-xf86vidmode-dev_2018.4-4_all.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5041572Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libx/libxxf86vm/libxxf86vm-dev_1.1.4-1_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5042530Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/mesa-common-dev_19.2.8-0ubuntu0~18.04.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5043455Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libegl1_1.0.0-2ubuntu2.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5044400Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libglvnd-core-dev_1.0.0-2ubuntu2.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5045435Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libgles2_1.0.0-2ubuntu2.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5046412Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libopengl0_1.0.0-2ubuntu2.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5055003Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libg/libglvnd/libglvnd-dev_1.0.0-2ubuntu2.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5055991Z E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgl1-mesa-dev_19.2.8-0ubuntu0~18.04.3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http: 2020-04-06T09:16:49.5056974Z E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 2020-04-06T09:16:49.5066205Z ##[error]The process 'sudo' failed with exit code 100 2020-04-06T09:16:49.5810212Z Post job cleanup.
This happens per 10~30 runs to me. Re-run usually fix this.
This seems like a problem with the network. I think the best solution is to retry several times if it fails.
I use jurplel/install-qt-action@v2
and running qmake I get
Project ERROR: Unknown module(s) in QT: charts
Is that module missing from the installation?
recently all runs started to fail on ubuntu QT installation without any changes in CI configuration
example of such run:
https://github.com/KomodoPlatform/atomicDEX-Pro/runs/774029777?check_suite_focus=true
install-qt-action configuration:
- name: Install QT (Linux)
uses: jurplel/install-qt-action@v2
with:
version: '5.15.0'
host: 'linux'
target: 'desktop'
dir: '${{ github.workspace }}'
modules: 'qtcharts qtwidgets debug_info'
fail output:
python3 -m aqt install -O /home/runner/work/atomicDEX-Pro/atomicDEX-Pro/Qt 5.15.0 linux desktop -m qtcharts qtwidgets debug_info
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.5/runpy.py", line 133, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.5/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/home/runner/.local/lib/python3.5/site-packages/aqt/__init__.py", line 25, in <module>
from aqt.cli import Cli
File "/home/runner/.local/lib/python3.5/site-packages/aqt/cli.py", line 35, in <module>
from aqt.installer import QtInstaller
File "/home/runner/.local/lib/python3.5/site-packages/aqt/installer.py", line 32, in <module>
import py7zr
File "/home/runner/.local/lib/python3.5/site-packages/py7zr/__init__.py", line 24, in <module>
from py7zr.py7zr import ArchiveInfo, FileInfo, SevenZipFile, is_7zfile, pack_7zarchive, unpack_7zarchive
File "/home/runner/.local/lib/python3.5/site-packages/py7zr/py7zr.py", line 827
item: Optional[Tuple[str, str, str]] = self.q.get(timeout=1)
^
SyntaxError: invalid syntax
##[error]The process 'python3' failed with exit code 1
I do exppect that it caused by these changes:
Per miurahr/aqtinstall#116 (comment) it's been recommended to try aqtinstall's --external 7z
option - how can one do that with this action?
in order to facilitate transition to Qt6:
https://doc-snapshots.qt.io/qt6-dev/cmake-qt5-and-qt6-compatibility.html#versionless-targets
Lot of project will need both Qt5 and Qt6 support for lot of modules such as QtWebEngine when the release come in december
For example, if I used cache to restore Qt, would it still download/overwrite it?
Hey there. I am using this action to install qt for our project. You can find our yml file here: https://github.com/LorenzE/mne-cpp/blob/master/.github/workflows/main.yml
The Qt install step seems to run fine but I run into the following errors:
sh: 1: /home/runner/work/mne-cpp/Qt/5.10.1/gcc_64/bin/: Permission denied
Project ERROR: License check failed! Giving up ...
Windows build gives me the same error:
https://github.com/LorenzE/mne-cpp/runs/316826096
Any idea why the license check failed?
Deleted
Is there any way you could release the current status as v2.2.0? v.2.1.0 only supports aqt5.* which saw a lot of bug fixes since.
Hello,
I try to use the Windows cache but tar does not seem to be able to create some subdirectories.
The relevant yaml file content is:
steps:
- name: Show ..
run: |
ls ..
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: QtCache
- name: Show Qt dir
run: |
ls -R ../Qt
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
cached: ${{ steps.cache-qt.outputs.cache-hit }}
version: 5.13.2
- name: Show Qt dir
run: |
ls ../Qt
The ls
outputs are clearly just for debugging.
Now, when the cache is off or it runs for the first time, everything works. However, at the second time, at the step Cache Qt
, I get the following lines:
Cache Size: ~137 MB (143671112 B)
C:\windows\System32\tar.exe -xz -f D:\a\_temp\923447e5-67f2-431f-895f-6de3fc8e5d36\cache.tgz -C D:\a\QtTest\Qt
./5.13.2/clang_64/lib/QtConcurrent.framework/Resources: Can't create '\\\\?\\D:\\a\\QtTest\\Qt\\5.13.2\\clang_64\\lib\\QtConcurrent.framework\\Resources'
./5.13.2/clang_64/lib/QtConcurrent.framework/Headers: Can't create '\\\\?\\D:\\a\\QtTest\\Qt\\5.13.2\\clang_64\\lib\\QtConcurrent.framework\\Headers'
...
and many many more for other sub-sub-directories of lib...
And "Show Qt dir" after loading the cache shows:
Directory: D:\a\QtTest\Qt\5.13.2\clang_64\lib\QtConcurrent.framework
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 10/28/2019 1:00 PM Versions
-a--- 10/28/2019 11:47 AM 1554 QtConcurrent.prl
-a--- 10/28/2019 11:47 AM 1558 QtConcurrent_debug.prl
so the parent directories exist and some files could be created but, for some unknown reason, it cannot create the further subdirectory...
All this works fine with macOS and your script works fine for Windows and macOS WITHOUT cache...
Any ideas?
sudo apt-get install build-essential libgl1-mesa-dev -y
fails for ubuntu-latest, see our repo and yours. Ubuntu 16.04 seems to be working ok, see here. Everything was working fine yesterday.
Looks like no download connection can be established for some packages. Any ideas why? Might be a server problem?
Installation failed with:
python -m aqt install -O d:\a\colorOverlay/Qt 5.12.6 windows desktop win64_mingw53 -m ""
2020-02-11 19:55:43,107 - aqt - WARNING - Some of specified modules are unknown.
By adding any module (qtcharts) no package can be found:
python -m aqt install -O d:\a\colorOverlay/Qt 5.11.3 windows desktop win64_mingw53 -m qtcharts
2020-02-11 20:21:09,658 - aqt - ERROR - Error while parsing package information!
Here a sample configuration
jobs:
build:
name: Build on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Install Qt5
uses: jurplel/install-qt-action@v2
if: contains( matrix.os, 'windows')
with:
arch: win64_mingw53
An installation path is changed from '/example/Qt5.12.5/5.12.5/(your_arch)/bin' to '/example/Qt/5.12.5/(your_arch)/bin' as same as GUI installer in version v0.5.2.
It is introduced in v0.5a2.
From yesterday my build is failing in Windows-2016 because of the following error:
The term 'qmake' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
My settings are:
First of all thank you for your work, having a GitHub action to install Qt in a cross-platform way is a lifesaver. I'm currently in the process of switching CI for the qxmpp
project over to GitHub actions, and Linux and OS X are building and running their test suite just fine.
On Windows I have been able to compile the test suite, but running it fails with Exit code 0xc0000135
. Unless I'm mistaken this means the dynamic linker is not finding a DLL, which surprises me as your action does add Qt5_DIR/bin
to PATH.
An example failing run:
https://github.com/qxmpp-project/qxmpp/actions/runs/62230835
Do you have any suggestion as to how to debug this?
Hi @jurplel, I tried to install Qt 5.15.1 for Windows (https://github.com/pbek/QOwnNotes/runs/1017680624?check_suite_focus=true) and it currently fails with:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\a\\QOwnNotes/Qt\\5.15.1\\mingw73_64\\bin\\qt.conf'
Traceback (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\__main__.py", line 28, in <module>
sys.exit(main())
File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\__init__.py", line 38, in main
return cli.run()
File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\cli.py", line 340, in run
return args.func(args)
File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\cli.py", line 158, in run_install
installer.finalize()
File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\installer.py", line 174, in finalize
self.make_conf_files(target.version, target.arch)
File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\installer.py", line 157, in make_conf_files
raise e
File "C:\hostedtoolcache\windows\Python\3.7.8\x64\lib\site-packages\aqt\installer.py", line 141, in make_conf_files
with open(os.path.join(self.base_dir, qt_version, arch_dir, 'bin', 'qt.conf'), 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\a\\QOwnNotes/Qt\\5.15.1\\mingw73_64\\bin\\qt.conf'
The actual downloading of the packages seems to work.
Regarding the documentation, the arch
option should only be available on windows.
When using the arch
option on a build matrix, other operating systems than windows are failing:
https://github.com/thebino/colorOverlay/runs/438909057
I guess it is not feasible to support Qt 4 too, as aqt does not support it as far as I have seen?
But at least aqt now supports Qt 6, but you always set Qt 5 environment variables.
This can be pretty slow on windows, even when cached due to the size.
For projects that don't need all of Qt, this can be reduced by passing --archives qtbase
to aqtinstall - however, the action doesn't appear to support this.
Hi
thanks for this action and a good idea to include this variable. Did you want to make this CMake compatible with this? At least this is what I was hoping for.
If that is the case, I think the current implementation has some flaws:
@jurplel Thank you for utilizing aqtinstall!
I plan to release aqtinstall v0.7b1 as a next major release v0.7.
It changed its behavior for extracting packages and more features.
Could you validate and confirm an aqtinstall v0.7 beta versions?
Thank you for this great GitHub Action, I'm currently using it on https://github.com/pbek/QOwnNotes!
I'm currently having issues with the Qt 5.7 installation on Windows (some still are using Windows XP) with win32_mingw53
.
Config: https://github.com/pbek/QOwnNotes/blob/48f5b73e1b0a200b88c93d82ef6192f7d80fbe03/.github/workflows/build.yml#L61-L69
Build log: https://github.com/pbek/QOwnNotes/runs/880829548?check_suite_focus=true
I always get the error Download error: decompression get wrong: no output data.
for all packages:
2020-07-17 06:56:23,560 - aqt - INFO - Downloading qtsvg...
2020-07-17 06:56:23,560 - aqt - DEBUG - Download URL: http://mirrors.ocf.berkeley.edu/qt//online/qtsdkrepository/windows_x86/desktop/qt5_57/qt.57.win32_mingw53/5.7.1-0qtsvg-Windows-Windows_7-Mingw53-Windows-Windows_7-X86.7z
2020-07-17 06:56:24,064 - aqt - ERROR - Download error: decompression get wrong: no output data.
Has anyone seen something like that?
I'm getting the following when trying to use this:
python3 -m aqt install -O /qt/Qt 5.12.6 linux android
Specified target combination is not valid: linux android None
My current entry look like this
I'm new to GitHub's CI and Actions but know how to build Qt projects from command line - so excuse me if I'm missing something obvious
Using the following action:
- name: Installing QT
uses: jurplel/install-qt-action@v2
with:
modules: qtscript xmlpatterns
produces the following call:
[command]python -m aqt install -O d:\a\meshlab/Qt 5.12.6 windows desktop win64_msvc2017_64 "-m qtscript xmlpatterns"
I think the quotes are wrong.
Linking fails for one of my builds because libQt5Multimedia
is missing libpulse-dev
. Could you add it to the dependencies being installed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.