From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ACpuK7/aO2PtjgAAbAwnHQ (envelope-from ) for ; Tue, 04 Oct 2022 09:03:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MKOdKr/aO2NNdgAAG6o9tA (envelope-from ) for ; Tue, 04 Oct 2022 09:03:27 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 65C40864F for ; Tue, 4 Oct 2022 09:03:27 +0200 (CEST) Received: from localhost ([::1]:52744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofbxe-0006E3-DR for larch@yhetil.org; Tue, 04 Oct 2022 03:03:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofbnc-0000n0-Jt for guix-patches@gnu.org; Tue, 04 Oct 2022 02:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofbna-0000ps-Py for guix-patches@gnu.org; Tue, 04 Oct 2022 02:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofbna-0003r9-Gi for guix-patches@gnu.org; Tue, 04 Oct 2022 02:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57608] Upstreaming KDE Plasma and rest of packages Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Oct 2022 06:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57608 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Marek =?UTF-8?Q?Pa=C5=9Bnikowski?= Cc: Maxim Cournoyer , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxime Devos , Brendan Tildesley , Leo Famulari , "marius@gnu.org" , Hartmut Goebel , 57608@debbugs.gnu.org Received: via spool by 57608-submit@debbugs.gnu.org id=B57608.166486634014772 (code B ref 57608); Tue, 04 Oct 2022 06:53:02 +0000 Received: (at 57608) by debbugs.gnu.org; 4 Oct 2022 06:52:20 +0000 Received: from localhost ([127.0.0.1]:52195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofbmt-0003qC-Ry for submit@debbugs.gnu.org; Tue, 04 Oct 2022 02:52:20 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:25309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofbmr-0003pz-Df for 57608@debbugs.gnu.org; Tue, 04 Oct 2022 02:52:18 -0400 Date: Tue, 04 Oct 2022 06:52:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1664866330; x=1665125530; bh=zFdBjtUr14albdwF2TnwRAAc3UZ6fXTHo5JbDImu+wo=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=zZUQX7Y/RisfJJ12GzhgqisLkh4x7KrznNY0gIXUOI0AF6AamBxoo6pnJ3uKwxTYL X8zLTmDu4SyUG7YtNwqXQaM1fGGIFGpbu8LeQ0AwHvqASUVdPu+CfQtrbpzAXe0tlI Ki3u0dENDlK65gOQQXnLjUhPirUmKejpzeLiuXVTwwXV6E35jsN3F7t0g2hoocC+vz +JvqPehXd+mQH7E/lvfNSA/qM6aZw0yLwc3kGaK6sLHxZEv8AOb//gvr1De/M+ALKL 6i2mnJJdefxq8iHbFkwWmW4+8ah0o15scASCD94b7WqEJnjeHJVj++8gOc+q62ihL7 ldGuDSNfsbH/Q== Message-ID: In-Reply-To: References: <87h70wap7m.fsf_-_@gnu.org> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664867007; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zFdBjtUr14albdwF2TnwRAAc3UZ6fXTHo5JbDImu+wo=; b=PmxGjNRelrnQo8K4fBxF8xOtQo+barmDIz+ba5bgkcYkmC6/bjVK6x2Rz1BsKBUPDdTkaH zYown6ry1A6/jZq5WWOS9wnY8qS/tL8n1aAK4SUVMhCUKzLh6/6sUtJ47ODPtk3wqOXs1f n/Fqi7qK+I3hVxUG4NOUev9rPfI83ybblA4dUKA5YO/X08L6tUI4r592queZQwqkin/1Jd koU7NAIGdvUhz0hDnh3ft/znn9NF38JGD/nfRFAbcEmSNc3EYTx+kc/tYddTqJfukFelPq gsh2KHIzzlozWDaI3jUKrX2TPVSlv1T7Da9mLClEnj4Rgl0lRfEUuducVxE2kw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664867007; a=rsa-sha256; cv=none; b=LHzMRmy9miEVAz1Df70VXoXo0gCxJ7O3Qf/5UDIp9P+DHmDJxtaDtY3lPQp6YAAkaQMi/7 N/k6D47pBe1/+ygGx3gpoA/kXM5Fk5P8UTZZZKu2U7yPzzHYUX5wz2XV+vsCg1zbMLMYFF qWVN0BYrtZBahGpCUX6ewP9Iyhnm9cyhVmERSnQhWqITGZ1pf8cQ6mbs/JvBpuhOZde9Xv FyACRmyVM2M5SPMcHOrtKMPSLxEsqafcOlcOFIjNGgRhjTcvcNwiJ4X3+HD/h8a7svGC0M bPpmkk+leOax8Z7Pa8VIwxglxgbxM/lEWJuSxK3MjLGi055dm3rZrKG/KgTybA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="zZUQX7Y/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="zZUQX7Y/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 65C40864F X-Spam-Score: 0.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: ukUcoH3lMhsH Hi Marek and Ludo', > Good morning / evening. >=20 > Today my small Thinkpad finally finished building the new release of Plas= ma. In the system configuration, I declared `(service plasma-desktop-servic= e-type)`, as my desire is just to see the KDE desktop. My testing methodolo= gy is to edit my Guix configuration on a testing branch and sequentially pe= rform `guix pull`, `guix home reconfigure` and `guix system reconfigure`. >=20 Thanks for testing the build Marek! Well building KDE takes definitely long time. Even more building the develo= pment version. =20 > In order to perform this test I set `https://github.com/phodina/guix.git`= as the Git remote and pulled the `patch/plasma` branch. I made no customiz= ations to the repository. >=20 > The commit used is `d9ca04ca425915a7b991f3bcfa72b5b0e6f48e45`. >=20 > This time, I encountered several different issues during the rebuilds: > 1. (irrelevant to KDE) build of gnome-keyring fails on the `check` phase,= so I had to comment `(service gnome-desktop-service-type)` out of my syste= m configuration; Haven't seen this one but there were some other gnome things (and others li= ke gstreamer) that failed. Therefore I also disabled the `gnome-desktop-ser= vice-type`. > 2. `kaccounts-integration` appears to be defined in two files; Thanks in the new version (patchset - I've rebased the branch, you'll have = to "downgrade" guix on the next pull) it's already removed and the location= s for package definitions are revised. > 3. the overall state of the Plasma Desktop regressed from a broken, but v= isible panel ( https://github.com/phodina/guix/issues/6 ) to no panel - at = least the initial animation completes and the cursor moves; The issue is caused by Guix "bug" in package `extra-cmake-modules`. The problem is that the function `ecm_find_qmlmodule` looks for Qt6 modules= - well attempts by launching `Qt6::qmlplugindump`. I've tried to specify the TARGET and QT_MAJOR to Qt::5 and also removing th= e Qt6 branch in `extra-cmake-modules/modules/ECMFindQmlModule.cmake.in`. Here's the excerpt of the build of `kwin`: ``` -- Could NOT find hwdata (missing: hwdata_FOUND hwdata_PNPIDS_FILE) -- Found QtQuick-QMLModule: TRUE (found version "") -- qmlplugindump failed for QtQuick.Controls. -- Could NOT find QtQuick.Controls-QMLModule (missing: QtQuick.Controls-QML= Module_FOUND) -- Found QtQuick.Layouts-QMLModule: TRUE (found version "") -- Found QtQuick.Window-QMLModule: TRUE (found version "") -- Found QtMultimedia-QMLModule: TRUE (found version "") -- Found org.kde.kquickcontrolsaddons-QMLModule: TRUE (found version "") -- qmlplugindump failed for org.kde.plasma.core. -- Could NOT find org.kde.plasma.core-QMLModule (missing: org.kde.plasma.co= re-QMLModule_FOUND) ``` And when we check for qmlplugindump we get this: ``` /tmp/guix-build-kwin-5.25.5.drv-2/kwin-5.25.5$ grep -r qmlplugindump Findorg.kde.plasma.components-QMLModule.cmake: find_program(QMLPLUGINDUM= P_PROGRAM NAMES qmlplugindump HINTS ${qt_binaries_dir}) Findorg.kde.plasma.components-QMLModule.cmake: get_target_property(QMLPL= UGINDUMP_PROGRAM Qt6::qmlplugindump LOCATION) Findorg.kde.plasma.components-QMLModule.cmake: message(WARNING "Could no= t find qmlplugindump. It is necessary to look up qml module dependencies.") Findorg.kde.plasma.components-QMLModule.cmake: message(STATUS "qmlplugin= dump failed for org.kde.plasma.components.") Findorg.kde.plasma.core-QMLModule.cmake: find_program(QMLPLUGINDUMP_PROG= RAM NAMES qmlplugindump HINTS ${qt_binaries_dir}) Findorg.kde.plasma.core-QMLModule.cmake: get_target_property(QMLPLUGINDU= MP_PROGRAM Qt6::qmlplugindump LOCATION) Findorg.kde.plasma.core-QMLModule.cmake: message(WARNING "Could not find= qmlplugindump. It is necessary to look up qml module dependencies.") Findorg.kde.plasma.core-QMLModule.cmake: message(STATUS "qmlplugindump f= ailed for org.kde.plasma.core.") Findorg.kde.kquickcontrolsaddons-QMLModule.cmake: find_program(QMLPLUGIN= DUMP_PROGRAM NAMES qmlplugindump HINTS ${qt_binaries_dir}) Findorg.kde.kquickcontrolsaddons-QMLModule.cmake: get_target_property(QM= LPLUGINDUMP_PROGRAM Qt6::qmlplugindump LOCATION) Findorg.kde.kquickcontrolsaddons-QMLModule.cmake: message(WARNING "Could= not find qmlplugindump. It is necessary to look up qml module dependencies= .") Findorg.kde.kquickcontrolsaddons-QMLModule.cmake: message(STATUS "qmlplu= gindump failed for org.kde.kquickcontrolsaddons.") FindQtMultimedia-QMLModule.cmake: find_program(QMLPLUGINDUMP_PROGRAM NAM= ES qmlplugindump HINTS ${qt_binaries_dir}) FindQtMultimedia-QMLModule.cmake: get_target_property(QMLPLUGINDUMP_PROG= RAM Qt6::qmlplugindump LOCATION) FindQtMultimedia-QMLModule.cmake: message(WARNING "Could not find qmlplu= gindump. It is necessary to look up qml module dependencies.") FindQtMultimedia-QMLModule.cmake: message(STATUS "qmlplugindump failed f= or QtMultimedia.") FindQtQuick.Window-QMLModule.cmake: find_program(QMLPLUGINDUMP_PROGRAM N= AMES qmlplugindump HINTS ${qt_binaries_dir}) FindQtQuick.Window-QMLModule.cmake: get_target_property(QMLPLUGINDUMP_PR= OGRAM Qt6::qmlplugindump LOCATION) FindQtQuick.Window-QMLModule.cmake: message(WARNING "Could not find qmlp= lugindump. It is necessary to look up qml module dependencies.") FindQtQuick.Window-QMLModule.cmake: message(STATUS "qmlplugindump failed= for QtQuick.Window.") FindQtQuick.Layouts-QMLModule.cmake: find_program(QMLPLUGINDUMP_PROGRAM = NAMES qmlplugindump HINTS ${qt_binaries_dir}) FindQtQuick.Layouts-QMLModule.cmake: get_target_property(QMLPLUGINDUMP_P= ROGRAM Qt6::qmlplugindump LOCATION) FindQtQuick.Layouts-QMLModule.cmake: message(WARNING "Could not find qml= plugindump. It is necessary to look up qml module dependencies.") FindQtQuick.Layouts-QMLModule.cmake: message(STATUS "qmlplugindump faile= d for QtQuick.Layouts.") FindQtQuick.Controls-QMLModule.cmake: find_program(QMLPLUGINDUMP_PROGRAM= NAMES qmlplugindump HINTS ${qt_binaries_dir}) FindQtQuick.Controls-QMLModule.cmake: get_target_property(QMLPLUGINDUMP_= PROGRAM Qt6::qmlplugindump LOCATION) FindQtQuick.Controls-QMLModule.cmake: message(WARNING "Could not find qm= lplugindump. It is necessary to look up qml module dependencies.") FindQtQuick.Controls-QMLModule.cmake: message(STATUS "qmlplugindump fail= ed for QtQuick.Controls.") FindQtQuick-QMLModule.cmake: find_program(QMLPLUGINDUMP_PROGRAM NAMES qm= lplugindump HINTS ${qt_binaries_dir}) FindQtQuick-QMLModule.cmake: get_target_property(QMLPLUGINDUMP_PROGRAM Q= t6::qmlplugindump LOCATION) FindQtQuick-QMLModule.cmake: message(WARNING "Could not find qmlplugindu= mp. It is necessary to look up qml module dependencies.") FindQtQuick-QMLModule.cmake: message(STATUS "qmlplugindump failed for Qt= Quick.") ``` However, the `extra-cmake-modules` depends only on `qtbase-5` and just for = tests. The incriminated program is part of different package: ```=20 find /gnu/store -iname qmlplugindump /gnu/store/7dpp0vpli7f4j4idaj5iwcpra8hl3xfb-qtdeclarative-5.15.2/bin/qmlplu= gindump ``` So the solution is probably to add `qtdeclarative-5` to list of inputs. How= ever the same problem might happen with Qt6 and maybe more extra modules. Stay tuned for this one as I have to rebuild majority of the packages :-D There is also bug about this in earlier verions of `extra-cmake-modules` bu= t the code is deprecated if I apply the patch [1] and it does not solve the= problem that Guix stores all in the `/gnu/store/`. To add to my curiosity Nix does not appear to have this problem [2] but the= y use some `setup-hook.sh` [2] - needs more studying. =20 > 4. `(define-public plasma (package (version "5.25.4")))` in `kde-plasma.s= cm` sticks out from the rest of packages on version "5.25.5". Thanks. It's also updated as well as the rest of the packages to the newest= packages. Regarding the fwdup-service - Ludo'. That patch was sent by mistake as I wa= nted to see the firmware version in KDE environment. But I'd rather leave i= t for separate patch as it applies to Gnome and cli tools as well. I've also enabled more tests and rewritten Qt and other packages to use gex= ps.=20 So the amount of patches is now about close to 160. But on the other hand i= t also now packages apps like Kalendar. [1] https://gitweb.gentoo.org/repo/gentoo.git/diff/kde-frameworks/extra-cma= ke-modules/files/extra-cmake-modules-5.40.0-qmlplugindump-path.patch?id=3D1= 3dec085bcd84e7c7c67ae53cd5152c08bc9213e [2] https://github.com/NixOS/nixpkgs/blob/nixos-22.05/pkgs/development/libr= aries/kde-frameworks/extra-cmake-modules/default.nix ---- Petr