From unknown Fri Jun 13 09:55:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#38829 <38829@debbugs.gnu.org> To: bug#38829 <38829@debbugs.gnu.org> Subject: Status: XmlListModel QML missing from qtdeclarative 5.12.x Reply-To: bug#38829 <38829@debbugs.gnu.org> Date: Fri, 13 Jun 2025 16:55:57 +0000 retitle 38829 XmlListModel QML missing from qtdeclarative 5.12.x reassign 38829 guix submitter 38829 Guillaume Le Vaillant severity 38829 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 31 07:56:23 2019 Received: (at submit) by debbugs.gnu.org; 31 Dec 2019 12:56:23 +0000 Received: from localhost ([127.0.0.1]:33850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imH4R-0004GI-KE for submit@debbugs.gnu.org; Tue, 31 Dec 2019 07:56:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:55865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imH4Q-0004GB-KF for submit@debbugs.gnu.org; Tue, 31 Dec 2019 07:56:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57740) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imH4O-0003kL-T3 for bug-guix@gnu.org; Tue, 31 Dec 2019 07:56:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imH4N-0006R8-GJ for bug-guix@gnu.org; Tue, 31 Dec 2019 07:56:20 -0500 Received: from mout02.posteo.de ([185.67.36.66]:60677) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1imH4M-00068c-UE for bug-guix@gnu.org; Tue, 31 Dec 2019 07:56:19 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 288AC2400FB for ; Tue, 31 Dec 2019 13:56:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1577796975; bh=XnyV3DFV3WaHmwoSeBVvBRvO6GhyCi0Nr+hlwNd63rM=; h=From:To:Subject:Date:From; b=JvmG0B3GCvQctTLgB2XAeQgZfXNS5DVJhF4b/+jgJL5JjH+KllRiolqv3UoKJ3ADn 7NjS3Gv47ASIl61/LPd9mZYtGvQ2/nr6aGiCRH5MgOYvbZlX7a40d+RlFQJg/diSjV TBMm6GlUg7XPbwOSXm9AuusCE5I/+JTBdFzHim4yw+m4ZzFBY8he6Olh0I/Yp8s05H cV3Lxdrd5jE/JLN545Dp9N3tIRmnujB3JSi3CnCTGDVYUVVsfNYPNQrl87Dw3prj0T FI+tc2ZLn7AoLDLjOVulay4o0yvR69YlEvsCa3PIgz+pjiqVojYgX57xj4QZ5TlAxO 0LToUZ0r7nsvg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47nDnV3M4rz9rxH for ; Tue, 31 Dec 2019 13:56:13 +0100 (CET) User-agent: mu4e 1.2.0; emacs 26.3 From: Guillaume Le Vaillant To: bug-guix@gnu.org Subject: XmlListModel QML missing from qtdeclarative 5.12.x Date: Tue, 31 Dec 2019 13:55:20 +0100 Message-ID: <87h81gods7.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.66 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain In version 5.12.6 of the 'qtdeclarative' package, the 'lib/qt5/qml/QtQuick/XmlListModel' directory is missing (qtdeclarative 5.11.3 had it). It causes run time issues; for example the 'monero-gui' package builds fine but it fails to run: --8<---------------cut here---------------start------------->8--- 2019-12-31 12:50:42.076 W app startd (log: /home/guillaume/.bitmonero/monero-wallet-gui.log) 2019-12-31 12:50:42.077 W Qt:5.12.6 GUI:- | screen: 1920x1080 - dpi: 96.1263 - ratio:0.997092 2019-12-31 12:50:42.179 W QQmlApplicationEngine failed to load component 2019-12-31 12:50:42.179 W qrc:/main.qml:1693 Type WizardLang unavailable 2019-12-31 12:50:42.179 W qrc:/wizard/WizardLang.qml:32 module "QtQuick.XmlListModel" is not installed 2019-12-31 12:50:42.179 E Error: no root objects --8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCXgtFYQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9TVgD/fAqORhDgPTa6fPNaQEEpEuc67v5KdhhaCz6W AF0PoKkA/iOuixqVcouVrBOkuu6x5IEgqcnvH65eI1frTMPAL0dM =mg6c -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 05 13:50:22 2020 Received: (at 38829) by debbugs.gnu.org; 5 Jan 2020 18:50:22 +0000 Received: from localhost ([127.0.0.1]:44617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ioAyj-0004z8-Oh for submit@debbugs.gnu.org; Sun, 05 Jan 2020 13:50:21 -0500 Received: from mout02.posteo.de ([185.67.36.66]:41855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ioAyh-0004yu-J5 for 38829@debbugs.gnu.org; Sun, 05 Jan 2020 13:50:20 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id DE10F2400FD for <38829@debbugs.gnu.org>; Sun, 5 Jan 2020 19:50:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1578250212; bh=i+PHWEjS/FS6HxwvxG4UxRnX8LySS2UwA58DP9VkHiM=; h=From:To:Subject:Date:From; b=kHsOorKqXxgWB+/7Ms4g4o9l6fYrEpHplUVM2yEoPj3ybrvmTfvGX2+fBad7D3a9L BvZa8OOWlscnhE1dOCdP6V2V3GU8L6AT8i6rXzaCp9LM3dJIAp2snXVsJEFni7T15l TfNNBxmyWa3cJN/1NYn1DK3F5/JCH7HpsXgvNCMg+84cD7PaPYNuSuDYrhvExH5wMU FA0UoZGlv92DUyUBSVS1rdYcvmKcTtB7CWYCOtk51WCXi9XKXgr2lyXrgGjn8DRJOp Et7DjrPYH6WmmQBrFVcInJUc9ogPcNd8qwBf/CGzmJJbr6D0t2oM8uvzBTwMnTa7bJ opAR16emavJCA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47rSPb5TYNz9rxG for <38829@debbugs.gnu.org>; Sun, 5 Jan 2020 19:50:11 +0100 (CET) References: <87h81gods7.fsf@yamatai> User-agent: mu4e 1.2.0; emacs 26.3 From: Guillaume Le Vaillant To: 38829@debbugs.gnu.org Subject: Re: bug#38829: XmlListModel QML missing from qtdeclarative 5.12.x In-reply-to: <87h81gods7.fsf@yamatai> Date: Sun, 05 Jan 2020 19:50:08 +0100 Message-ID: <87eewdg2lb.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38829 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Guillaume Le Vaillant skribis: > In version 5.12.6 of the 'qtdeclarative' package, the > 'lib/qt5/qml/QtQuick/XmlListModel' directory is missing (qtdeclarative > 5.11.3 had it). > > It causes run time issues; for example the 'monero-gui' > package builds fine but it fails to run: > > --8<---------------cut here---------------start------------->8--- > 2019-12-31 12:50:42.076 W app startd (log: /home/guillaume/.bitmonero/mon= ero-wallet-gui.log) > 2019-12-31 12:50:42.077 W Qt:5.12.6 GUI:- | screen: 1920x1080 - dpi: 96.1= 263 - ratio:0.997092 > 2019-12-31 12:50:42.179 W QQmlApplicationEngine failed to load component > 2019-12-31 12:50:42.179 W qrc:/main.qml:1693 Type WizardLang unavailable > 2019-12-31 12:50:42.179 W qrc:/wizard/WizardLang.qml:32 module "QtQuick.X= mlListModel" is not installed > 2019-12-31 12:50:42.179 E Error: no root objects > --8<---------------cut here---------------end--------------->8--- I was able to build the QML for 'XmlListModel' by making 'qtdeclarative' a dependency of 'qtxmlpatterns' instead of the opposite (and the QML is in the 'qtxmlpatterns' package). Rebuilding the required Qt packages and 'monero-gui' and running it worked fine. However I'm not too familiar with the Qt packages, so does someone think this approach could cause problems in some of them? Here's the patch I used: =2D-8<---------------cut here---------------start------------->8--- From=202f0befe2e183d65a731e616b7b55808d27d8af8e Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sun, 5 Jan 2020 19:27:17 +0100 Subject: [PATCH] gnu: qtxmlpatterns: Build QML plugin for XmlListModel. * gnu/packages/qt.scm (qtdeclarative)[native-inputs]: Remove qtxmlpatterns. (qtxmlpatterns)[native-inputs]: Add qtdeclarative. =2D-- gnu/packages/qt.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 795b5e9d2b..daa35c77cb 100644 =2D-- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -723,6 +723,7 @@ from within Qt 5."))) "1l44476ibb8rv4rf80vbjdc3712lmrl1xcxswa513ip66k47p5vn")))) (arguments (substitute-keyword-arguments (package-arguments qtsvg) + ((#:tests? _ #f) #f) ; TODO: Enable the tests ((#:phases phases) `(modify-phases ,phases (add-after 'unpack 'disable-network-tests @@ -730,7 +731,8 @@ from within Qt 5."))) (("qxmlquery") "# qxmlquery") (("xmlpatterns ") "# xmlpatterns")) #t)))))) =2D (native-inputs `(("perl" ,perl))) + (native-inputs `(("perl" ,perl) + ("qtdeclarative" ,qtdeclarative))) (inputs `(("qtbase" ,qtbase))) (synopsis "Qt XML patterns module") (description "The QtXmlPatterns module is a XQuery and XPath engine for @@ -758,8 +760,7 @@ xmlpatternsvalidator."))) ("pkg-config" ,pkg-config) ("python" ,python) ("python-wrapper" ,python-wrapper) =2D ("qtsvg" ,qtsvg) =2D ("qtxmlpatterns" ,qtxmlpatterns))) + ("qtsvg" ,qtsvg))) (inputs `(("mesa" ,mesa) ("qtbase" ,qtbase))) =2D-=20 2.24.1 =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCXhIv4A8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/eNAD/SHj/Yj8JW9++EnN6cez3xq9SHWtL8pu0DX27 efsqyZwA/j0JrLUNzpII21N0LrqGtYvMAUVxphg6hR37/3t4Bpsa =jcPd -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 10:14:01 2020 Received: (at 38829-done) by debbugs.gnu.org; 9 Jan 2020 15:14:01 +0000 Received: from localhost ([127.0.0.1]:52925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipZVY-0008F5-Qb for submit@debbugs.gnu.org; Thu, 09 Jan 2020 10:14:01 -0500 Received: from mout02.posteo.de ([185.67.36.66]:48541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipZVV-0008En-Bj for 38829-done@debbugs.gnu.org; Thu, 09 Jan 2020 10:14:00 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C7EF22400FC for <38829-done@debbugs.gnu.org>; Thu, 9 Jan 2020 16:13:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1578582830; bh=T4uEuLWYWTehqwJeC7C7iKM4OH1HoecY0lus3XbWHX0=; h=From:To:Subject:Date:From; b=Fbk94MXEnTb+gJe1YpMq9DHgcvM+eocx8rba3W2hGq8DRDtECxDmBgpui8dQi8S9/ ZIteXleebVW96OPaQRycAlNXpla+/BCNno4UuyswbkO4JZquwVC2HPToWaCubIXA4H YOHKJYHW4WgPI1xoXrr1MK5tbfqHMC+sVicXRiZs1hhejGcfIUMH9fNICiFNKZGHSC geQdkCIgWjiPpU0Rc8ythAnAqqFN6DtAtITTZMQLYEBderJFK4I/hnFEcKxl3bBiOc YBz2iQJ2MbNKSA++JJ4pqz4slG3vnGN590m01vJ/nGF0mwAmmHzww9LKwXZvZbsgsA Q6ul94lf0OFLQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 47tqQ56CFGz9rxL for <38829-done@debbugs.gnu.org>; Thu, 9 Jan 2020 16:13:49 +0100 (CET) References: <87h81gods7.fsf@yamatai> <87eewdg2lb.fsf@yamatai> User-agent: mu4e 1.2.0; emacs 26.3 From: Guillaume Le Vaillant To: 38829-done@debbugs.gnu.org Subject: Re: bug#38829: XmlListModel QML missing from qtdeclarative 5.12.x In-reply-to: <87eewdg2lb.fsf@yamatai> Date: Thu, 09 Jan 2020 16:13:48 +0100 Message-ID: <87d0bszmqb.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38829-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Guillaume Le Vaillant skribis: > Guillaume Le Vaillant skribis: > >> In version 5.12.6 of the 'qtdeclarative' package, the >> 'lib/qt5/qml/QtQuick/XmlListModel' directory is missing (qtdeclarative >> 5.11.3 had it). >> >> It causes run time issues; for example the 'monero-gui' >> package builds fine but it fails to run: >> >> --8<---------------cut here---------------start------------->8--- >> 2019-12-31 12:50:42.076 W app startd (log: /home/guillaume/.bitmonero/monero-wallet-gui.log) >> 2019-12-31 12:50:42.077 W Qt:5.12.6 GUI:- | screen: 1920x1080 - dpi: 96.1263 - ratio:0.997092 >> 2019-12-31 12:50:42.179 W QQmlApplicationEngine failed to load component >> 2019-12-31 12:50:42.179 W qrc:/main.qml:1693 Type WizardLang unavailable >> 2019-12-31 12:50:42.179 W qrc:/wizard/WizardLang.qml:32 module "QtQuick.XmlListModel" is not installed >> 2019-12-31 12:50:42.179 E Error: no root objects >> --8<---------------cut here---------------end--------------->8--- > > I was able to build the QML for 'XmlListModel' by making 'qtdeclarative' > a dependency of 'qtxmlpatterns' instead of the opposite (and the QML is in > the 'qtxmlpatterns' package). > > Rebuilding the required Qt packages and 'monero-gui' and running it > worked fine. However I'm not too familiar with the Qt packages, so does > someone think this approach could cause problems in some of them? > > > Here's the patch I used: > > --8<---------------cut here---------------start------------->8--- > From 2f0befe2e183d65a731e616b7b55808d27d8af8e Mon Sep 17 00:00:00 2001 > From: Guillaume Le Vaillant > Date: Sun, 5 Jan 2020 19:27:17 +0100 > Subject: [PATCH] gnu: qtxmlpatterns: Build QML plugin for XmlListModel. > > * gnu/packages/qt.scm (qtdeclarative)[native-inputs]: Remove qtxmlpatterns. > (qtxmlpatterns)[native-inputs]: Add qtdeclarative. > --- > gnu/packages/qt.scm | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm > index 795b5e9d2b..daa35c77cb 100644 > --- a/gnu/packages/qt.scm > +++ b/gnu/packages/qt.scm > @@ -723,6 +723,7 @@ from within Qt 5."))) > "1l44476ibb8rv4rf80vbjdc3712lmrl1xcxswa513ip66k47p5vn")))) > (arguments > (substitute-keyword-arguments (package-arguments qtsvg) > + ((#:tests? _ #f) #f) ; TODO: Enable the tests > ((#:phases phases) > `(modify-phases ,phases > (add-after 'unpack 'disable-network-tests > @@ -730,7 +731,8 @@ from within Qt 5."))) > (("qxmlquery") "# qxmlquery") > (("xmlpatterns ") "# xmlpatterns")) > #t)))))) > - (native-inputs `(("perl" ,perl))) > + (native-inputs `(("perl" ,perl) > + ("qtdeclarative" ,qtdeclarative))) > (inputs `(("qtbase" ,qtbase))) > (synopsis "Qt XML patterns module") > (description "The QtXmlPatterns module is a XQuery and XPath engine for > @@ -758,8 +760,7 @@ xmlpatternsvalidator."))) > ("pkg-config" ,pkg-config) > ("python" ,python) > ("python-wrapper" ,python-wrapper) > - ("qtsvg" ,qtsvg) > - ("qtxmlpatterns" ,qtxmlpatterns))) > + ("qtsvg" ,qtsvg))) > (inputs > `(("mesa" ,mesa) > ("qtbase" ,qtbase))) I built some other packages depending on 'qtdeclarative' and/or 'qtxmlpatterns' and I haven't seen any failure, so I pushed the patch as 3e10b2418dc0952c16053ccced4baba405facb6b. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCXhdDLA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j9YsgEAlZQ81/uZmtoR02eZ+mJX+4/3hNtqXQTqQy+9 kqijgC0A/1tXsSIJ1BcFhHZSyTc07Lp33FsCwL3JeQIduMvGMhf0 =ipTA -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 09:55:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 07 Feb 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator