Problems while attempting configure the CI to build Konqueror for both KF5 and KF6
Stefano Crocco
stefano.crocco at alice.it
Sun Oct 1 15:37:19 BST 2023
Hello to everyone,
in the last weeks, I worked on making Konqueror compile with both KF5 and KF6.
I had all the code on my PC and today I tried to upload it on GitLab. I
created a kf6 branch for Konqueror, pushed the code in my Konqueror fork and
created a merge request [1] for the kf6 branch. However, I don't know what to
do so that the CI tries compiling the code both with KF5 and KF6.
I wasn't able to find any documentation explicitly stating how to do this, so
Konqueror's current .gitlab-ci.yml with that of other KDE programs, I added
the following two lines at the former:
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/
linux-qt6.yml
- https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/
freebsd-qt6.yml
Unfortunately, this doesn't seem to work: the CI will indeed try to compile
Konqueror with both KF5 and KF6 in linux and FreeBSD, but the compilation with
KF6 fails in both platforms. I don't know whether this is because I didn't
correctly configure the CI or because there's something wrong in the way I
changed the CMakeLists.txt files (on my system Konqueror built correctly with
both KF5 and KF6).
The error message I get from the CI is the following (the full build log is
attached):
Exception: Unable to locate requested dependency in the registry: kdesu
(branch: kf5)
If I read this correctly, it seems that the system tries to find kdesu in the
kf5 branch which seems wrong, since the compilation should be for KF6.
Looking at the CMakeLists.txt files, I can't spot anything wrong. Before going
on investigating them, I'd like to be sure that what I did to make the CI
compile Konqueror with KF6 is correct and there's nothing else to do. Can
anyone give any hints or pointers to documentation about this?
Thanks in advance
Stefano
[1] https://invent.kde.org/network/konqueror/-/merge_requests/237
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ci_kf6_build_log
Type: application/octet-stream
Size: 4864 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-devel/attachments/20231001/f3a60217/attachment.obj>
More information about the kde-devel
mailing list