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

fix: revive the CI #46

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

fix: revive the CI #46

wants to merge 4 commits into from

Conversation

pzhlkj6612
Copy link
Contributor

Nowadays, some workflows can no longer be executed successfully, so let's fix them.

@pzhlkj6612
Copy link
Contributor Author

I'm trying to make some changes on jurplel/install-qt-action. To avoid noise and duplication (of GitHub reference, notifying someone, etc), I will not put any analysis here until I make any progress.

@ChungZH
Copy link
Owner

ChungZH commented Apr 23, 2021

Thx.

@pzhlkj6612 pzhlkj6612 changed the title [WIP] Revive the CI [WIP] fix: revive the CI Apr 23, 2021
* Run CI on "ubuntu-20.04"
* Checkout code with "actions/checkout@v4"
* Deploy Qt with "jurplel/install-qt-action@v3"
* Install Python 3.8 with "actions/setup-python@v4"
* Set output by "$GITHUB_OUTPUT"
* Make AppImage with "linuxdeploy" instead of "linuxdeployqt"
* Upload artifacts with "actions/upload-artifact@v3"
* Fix "KSyntaxHighlighting" headers
@pzhlkj6612
Copy link
Contributor Author

The Debian package (DEB) does not seem to work on my Ubuntu 20.04.6 environment...

$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

$ uname -a
Linux vm-20-04-6-d 5.15.0-67-generic #74~20.04.1-Ubuntu SMP Wed Feb 22 14:52:34 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ sudo dpkg -i Notepanda-0.1.4-Linux.deb  # newly built deb
(Reading database ... 121761 files and directories currently installed.)
Preparing to unpack Notepanda-0.1.4-Linux.deb ...
Unpacking notepanda (0.1.4) over (0.1.4) ...
dpkg: dependency problems prevent configuration of notepanda:
 notepanda depends on qtbase5-dev; however:
  Package qtbase5-dev is not installed.
 notepanda depends on qttools5-dev; however:
  Package qttools5-dev is not installed.
 notepanda depends on libkf5syntaxhighlighting-dev; however:
  Package libkf5syntaxhighlighting-dev is not installed.

dpkg: error processing package notepanda (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 notepanda

$ sudo apt install qtbase5-dev qttools5-dev libkf5syntaxhighlighting-dev -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libkf5syntaxhighlighting-dev : Depends: libkf5syntaxhighlighting5 (= 5.68.0-0ubuntu1) but it is not going to be installed
                                Depends: libqt5xmlpatterns5-dev (>= 5.8.0~) but it is not going to be installed
                                Recommends: libkf5syntaxhighlighting-doc (= 5.68.0-0ubuntu1) but it is not going to be installed
 qtbase5-dev : Depends: libegl-dev but it is not going to be installed
               Depends: libgl-dev but it is not going to be installed
               Depends: libglu1-mesa-dev but it is not going to be installed or
                        libglu-dev
               Depends: libqt5concurrent5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libqt5core5a (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libqt5dbus5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libqt5gui5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libqt5network5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libqt5printsupport5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libqt5sql5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libqt5test5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libqt5widgets5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libqt5xml5 (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: libvulkan-dev but it is not going to be installed
               Depends: libxext-dev but it is not going to be installed
               Depends: qt5-qmake (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
               Depends: qtbase5-dev-tools (= 5.12.8+dfsg-0ubuntu2.1)
               Depends: qtchooser
               Recommends: libqt5opengl5-dev (= 5.12.8+dfsg-0ubuntu2.1) but it is not going to be installed
 qttools5-dev : Depends: libqt5designer5 (= 5.12.8-0ubuntu1) but it is not going to be installed
                Depends: libqt5designercomponents5 (= 5.12.8-0ubuntu1) but it is not going to be installed
                Depends: libqt5help5 (= 5.12.8-0ubuntu1) but it is not going to be installed
                Depends: qttools5-dev-tools (= 5.12.8-0ubuntu1)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

@pzhlkj6612 pzhlkj6612 marked this pull request as ready for review October 7, 2023 16:18
@pzhlkj6612 pzhlkj6612 changed the title [WIP] fix: revive the CI fix: revive the CI Oct 7, 2023
@pzhlkj6612
Copy link
Contributor Author

I'm trying to make some changes on jurplel/install-qt-action. To avoid noise and duplication (of GitHub reference, notifying someone, etc), I will not put any analysis here until I make any progress.

The issue with the previous CI configuration relates to 64 bit pip installs 32 bit DLLs (PyQt5 and PySide2) · Issue #8649 · pypa/pip, but I have not enough time to dig into it. Upgrading Python version makes things work, though.

In the past two years I learned: going for the target is the top essential thing.

@pzhlkj6612
Copy link
Contributor Author

The changes about KSyntaxHighlighting are copied from "Fix KSyntaxHighlighting includes. by krop · Pull Request #72 · radareorg/iaito". I don't know where the documentation is.

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

Successfully merging this pull request may close these issues.

None yet

2 participants