notepanda icon indicating copy to clipboard operation
notepanda copied to clipboard

fix: revive the CI

Open pzhlkj6612 opened this issue 3 years ago • 5 comments

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

pzhlkj6612 avatar Apr 01 '21 08:04 pzhlkj6612

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.

pzhlkj6612 avatar Apr 02 '21 03:04 pzhlkj6612

Thx.

ChungZH avatar Apr 23 '21 14:04 ChungZH

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 avatar Oct 07 '23 16:10 pzhlkj6612

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 avatar Oct 07 '23 16:10 pzhlkj6612

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.

pzhlkj6612 avatar Oct 07 '23 16:10 pzhlkj6612