From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 09 05:31:45 2020 Received: (at submit) by debbugs.gnu.org; 9 Mar 2020 09:31:45 +0000 Received: from localhost ([127.0.0.1]:49808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBElF-00021X-KU for submit@debbugs.gnu.org; Mon, 09 Mar 2020 05:31:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:36467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBElD-00021R-Mn for submit@debbugs.gnu.org; Mon, 09 Mar 2020 05:31:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57969) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBElC-0006SJ-0g for bug-guix@gnu.org; Mon, 09 Mar 2020 05:31:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 1jBElA-0005vw-Ae for bug-guix@gnu.org; Mon, 09 Mar 2020 05:31:41 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:53868) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jBEl7-0005uw-KY for bug-guix@gnu.org; Mon, 09 Mar 2020 05:31:38 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 48bXzW5tskz1rnrS for ; Mon, 9 Mar 2020 10:31:35 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 48bXzW5n3dz1qwyR for ; Mon, 9 Mar 2020 10:31:35 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id jMzrCXgSxXtl for ; Mon, 9 Mar 2020 10:31:35 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-63-126.dynamic.mnet-online.de [188.174.63.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 9 Mar 2020 10:31:34 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.28]) by hermia.goebel-consult.de (Postfix) with ESMTP id 66C2D600E6 for ; Mon, 9 Mar 2020 10:35:45 +0100 (CET) From: Hartmut Goebel Subject: foreign distro: QT5 loads/searchs plugins from wrong location To: bug-guix Organization: crazy-compilers.com Message-ID: <3007053b-6378-a6c0-45b1-874bc1d4d6e1@crazy-compilers.com> Date: Mon, 9 Mar 2020 10:31:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="I8Pfj378Kpw52OvewBZU5wJeaKSg7P574" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:a60:0:28:0:1:25:1 X-Spam-Score: -0.7 (/) 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: -1.7 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --I8Pfj378Kpw52OvewBZU5wJeaKSg7P574 Content-Type: multipart/mixed; boundary="8Gz9Tr9Any396zSMfwk4OpoB5RHpG6VFj"; protected-headers="v1" From: Hartmut Goebel To: bug-guix Message-ID: <3007053b-6378-a6c0-45b1-874bc1d4d6e1@crazy-compilers.com> Subject: foreign distro: QT5 loads/searchs plugins from wrong location --8Gz9Tr9Any396zSMfwk4OpoB5RHpG6VFj Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: de-DE I just packages a simple GUI application using pythonqt5 and python-poppler-qt. When running it fails with: Could not load the Qt platform plugin "xcb" in "" even though it was found. When running with QT_DEBUG_PLUGINS=3D1 it reveals the cause: QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib64/qt5/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so" Found metadata in lib /usr/lib64/qt5/plugins/platforms/KWinQpaPlugin.so, metadata=3D [=E2=80=A6 many lines skipped =E2=80=A6] Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/gnu/store/608bvypsh90c58apvd2cgg3m9l2pwjqn-python-3.7.4/bin/platforms" =2E.. Cannot load library /usr/lib64/qt5/plugins/platforms/libqxcb.so: (libQt5XcbQpa.so.5: cannot open shared object file: No such file or directory) QLibraryPrivate::loadPlugin failed on "/usr/lib64/qt5/plugins/platforms/libqxcb.so" : "Cannot load library /usr/lib64/qt5/plugins/platforms/libqxcb.so: (libQt5XcbQpa.so.5: cannot open shared object file: No such file or directory)" Looks like the plugin is search in the wrong location and also the list of plgins. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --8Gz9Tr9Any396zSMfwk4OpoB5RHpG6VFj-- --I8Pfj378Kpw52OvewBZU5wJeaKSg7P574 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1K2LnBZ7dXxPCOh3e3UoEb93O2UFAl5mDPQACgkQe3UoEb93 O2VMYg//TXsU96jP0Y9LmhtHSJyF2Swfrth3dI8SUqyOW/OSorsw0wCxw2z9DoAr bQ+KmFIKtRNuzv9k+jRckgTuIh92zm6++BW6k4vMnjNp3kUMAgcTEBz8eL6jGI1A 1sdc60gdpEHOXE/IfgOSyk51OB//2ql9CJMk9utfXdIegvJvEgfoIXpJ11QGf+bC Dq/FxcRclgNM78OuP35+zlamDJ7b13XSitBul6yaySS7pe76Iz7qXmpeYfoJVRII I507J6wbh8NlNaqDc1jTDEELZrRbN55Etp3pel2yDNGPvTDGEwgSn38KdK1vszhG nl1QLzqZcU/F3pdKuMVGuw9F0x5HJw/W+8S9S5IhxTXJZ8Ud2UzklFO8emj8m0YY 61z4jYQcHUO2pPm0W2D97P5MKsJ3P6+Tcdm33SMV0Vmatm0IdXLW24n0wDb4iKow TnEMQZ6SWB/Npj3G5TLLrHFKjetlT8usU2mqGC9X3QthyX/Y2Hsc9XVeyY2bENa0 SSL2yqMcVYgX9lc77CH5HeDu5fgXkc3+oUhEd9aExzITPHGd9PMgJCR2ukNvs9GO 71hJgckogR4Dn/oXgXjJWyLMkUH6eb+wgiYP+1yiprLJzuZfOMoMYi0vXwUChytT icmHolzW95uC9qZZrWEyhd9/R7/1C2EKPGDE5mkSs6pwCJziYPo= =oeeg -----END PGP SIGNATURE----- --I8Pfj378Kpw52OvewBZU5wJeaKSg7P574-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 15:24:38 2020 Received: (at 39996) by debbugs.gnu.org; 10 Mar 2020 19:24:39 +0000 Received: from localhost ([127.0.0.1]:53337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBkUY-0001yV-Ld for submit@debbugs.gnu.org; Tue, 10 Mar 2020 15:24:38 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:34833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBkUW-0001yI-Vd for 39996@debbugs.gnu.org; Tue, 10 Mar 2020 15:24:37 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 4B2566FD; Tue, 10 Mar 2020 15:24:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 10 Mar 2020 15:24:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=3unAgFdYb9V9bbg2LX/ht2SFcP X8myB+/9q79uMpPIA=; b=Q3xUutM049gClhKMYqZ2WvVTwidPPQD+8UsMiBEiaC MCbdgDvlWTCTY3GnR7Pvf/spBYhb9y+OMVl8kUQDgzjt56nwe0uIlF81ld0QDm8V 7G/i+VIqBwE0Is8Sb9Jokg1r0/VZxBXPJlfzETun433G7iKgcW5/R/G6mJK+Iw9W gAKDKTDKFqbMI6AaK9tYZINV3aiLR8YKiCSsHWK8OspaJRKvRWmhDLMy9C0fhO2X PFWMx6Hh3CXRmDI1POaMF3btgR1wupkoCsD1a1zxFBCj7PiTOFdzLysn+5M2xBK5 SRQlvyHXtf6yzUHqbqMy6pnOafYoRupWGVFzrYgLLHJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=3unAgF dYb9V9bbg2LX/ht2SFcPX8myB+/9q79uMpPIA=; b=taXR9yIiyaqrbdocXTZ+0R dgtwZ6zG/mEokkg7uZRfuI/NnMUFAS4/EoAbOUhRMKVWeSTKNnfAk8x7XVlccmwj mBCK2jTqF5DrX9Ed1Hqk632chfbFxq/c/YaqtGH6Xcd27s/Q7+NmHNvq0gUsTN/A kpLqH/RtkUNGhgHdYPC0YH0u5it4YoYA5k3hrhZ2m7O/B9pFdjb7KNoah46Oj+W/ ggjsUw7mtwlt0TPeN4PaSc6z5VzpneVIEZQgs0e0+Q6ex02pqWPdNtchdRrkSFri QPdPtn84mlSu6cqMHuDWXXZHAhMPMYO7ZnCsJKuNB2mjRj2IdtLqvRNvMVk4cgnw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddvtddgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhi uhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppe ekgedrvddtvddrieekrdejheenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhep mhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id DC32230612AF; Tue, 10 Mar 2020 15:24:29 -0400 (EDT) From: Marius Bakke To: Hartmut Goebel , 39996@debbugs.gnu.org Subject: Re: bug#39996: foreign distro: QT5 loads/searchs plugins from wrong location In-Reply-To: <3007053b-6378-a6c0-45b1-874bc1d4d6e1@crazy-compilers.com> References: <3007053b-6378-a6c0-45b1-874bc1d4d6e1@crazy-compilers.com> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Tue, 10 Mar 2020 20:24:27 +0100 Message-ID: <87r1y0ypw4.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39996 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: -1.7 (-) --=-=-= Content-Type: text/plain Hartmut Goebel writes: > I just packages a simple GUI application using pythonqt5 and > python-poppler-qt. When running it fails with: > > Could not load the Qt platform plugin "xcb" in "" even though it was > found. Does it help if you wrap it with QT_PLUGIN_PATH, as we do with some other KDE applications? Alternatively, installing 'qtbase' with the other packages should set up the relevant search paths. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5n6WsACgkQoqBt8qM6 VPp1zAf/QzVn53bfwPY/c3oD0ghGhUCPK9H4lthlOwfTbXTWOmSFu1/MJNUN5iRY 5suAeyVAr7XcPMk0mln7mxoGzlBa/TANMqW3n54wtRdZDLoQAcvmMVneLUU3EOd1 SPUvuzuf19SOFBVlp6xuVA1ZXlGbv5cXQRBM2oQWtTfIyki8ZHNbgowsAzFxPPRM 7oVV6T2Fib829GhgKyh95qfViA4Miyo4NgHDZkTXYQcKts9V3wv+D56BljfO2f80 eC61lPaSWoTAHlBchSoYL5L5OplHlYBbR/jhTf01HJRzt5bSdUm1LOd5pgi8UbLQ wPy/J9aKdPL4zxfCJEF9vaxwkFg+IA== =1t/e -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 11 04:55:49 2020 Received: (at 39996) by debbugs.gnu.org; 11 Mar 2020 08:55:49 +0000 Received: from localhost ([127.0.0.1]:53628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBx9Y-0004a1-WE for submit@debbugs.gnu.org; Wed, 11 Mar 2020 04:55:49 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:35500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBx9X-0004Zt-42 for 39996@debbugs.gnu.org; Wed, 11 Mar 2020 04:55:47 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 48cm5F5vvSz1qrfr; Wed, 11 Mar 2020 09:55:45 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 48cm5F4LbFz1qyF0; Wed, 11 Mar 2020 09:55:45 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ifB5TPRrGGU3; Wed, 11 Mar 2020 09:55:44 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-57-185.dynamic.mnet-online.de [188.174.57.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 11 Mar 2020 09:55:44 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.28]) by hermia.goebel-consult.de (Postfix) with ESMTP id 74A776012A; Wed, 11 Mar 2020 10:00:25 +0100 (CET) Subject: Re: bug#39996: foreign distro: QT5 loads/searchs plugins from wrong location To: Marius Bakke , 39996@debbugs.gnu.org References: <3007053b-6378-a6c0-45b1-874bc1d4d6e1@crazy-compilers.com> <87r1y0ypw4.fsf@devup.no> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <43c5ae01-baa8-fb81-debe-7761815527f5@crazy-compilers.com> Date: Wed, 11 Mar 2020 09:55:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <87r1y0ypw4.fsf@devup.no> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yveYm5xBrJPD9SKHUYmbNpotJs4xMPWvZ" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39996 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: -1.7 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --yveYm5xBrJPD9SKHUYmbNpotJs4xMPWvZ Content-Type: multipart/mixed; boundary="6s4JxvBbSki6VydnywE46xMKIQwfp1Dqw"; protected-headers="v1" From: Hartmut Goebel To: Marius Bakke , 39996@debbugs.gnu.org Message-ID: <43c5ae01-baa8-fb81-debe-7761815527f5@crazy-compilers.com> Subject: Re: bug#39996: foreign distro: QT5 loads/searchs plugins from wrong location References: <3007053b-6378-a6c0-45b1-874bc1d4d6e1@crazy-compilers.com> <87r1y0ypw4.fsf@devup.no> In-Reply-To: <87r1y0ypw4.fsf@devup.no> --6s4JxvBbSki6VydnywE46xMKIQwfp1Dqw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US Hi Marius, > Does it help if you wrap it with QT_PLUGIN_PATH, as we do with some > other KDE applications? I was able to work-around this by setting QT_PLUGIN_PATH. (Installing qtbase has worked, too, btw) Nevertheless I which this would not be necessary. I'd expect the qtbase to find the plugins and platform-plugins coming with itself. (As far as I've seen from the Nixpkg, nix has the same issues, so no solution to copy from there.) --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | --6s4JxvBbSki6VydnywE46xMKIQwfp1Dqw-- --yveYm5xBrJPD9SKHUYmbNpotJs4xMPWvZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1K2LnBZ7dXxPCOh3e3UoEb93O2UFAl5op4kACgkQe3UoEb93 O2VjXQ//TdvBORskE5dsAQu9KMJYKaziYpUVY49JcC32mzrNEOexoNc+z6UsmqXG TNxGTuRtb2w+Q6Z7ayAXRugefFJFlCMhqZCFwJIy96pl4sRUhV6GHMuA80qDXKoJ IU/38UrL7coXX7yOm1SvD6pMkwzCqV4T1ck2iVPwTNmC+eDyF7HvjouSNrG94WPX uV7tXgZ2TFg87qc0OMlBfxoe4rViTVKG4gUgwG7c/7X1pRQNIHY+nI35ip4K3cy5 TeFTQw2J2AfJYzn35ZPlf0Tj+YjIgBSBg+OYKV3AZXn72pVaInAGBGqwVEXnDroU DviD0CZsQHYRN9WPiinyKiaGZxkqRhIsFCCunC5r+5ujuP6mpxH+sQpELSqPeNZl 2uCqzjqGMV1OKU27R+sQANQA90wJCnyKW52wWlYXdaeTiyBv+pnwQW4wYMdSdznN 4ejwXjQBFAFt3BxbGyutKlN01ZULiQGbtzyqx/P2Hd8APnmR+cy2FPt3uSVvQWLi cT1EF9mfoZxGPJju7Tj6QuXechTbf+U1Wnd+2Cq1/BB/jbuu2qtcbL5WdeY91Fa7 lkhfq+kdsnKnKkC2P6xz67in4RlDUHIrDN030F7ky9L7sYSokql3lgbHUVL6eKse gF/nNL0P/4uy7QM3UxYBoaQQ/2IrCrCEBDef9id7qw/bI19SNGg= =r9G5 -----END PGP SIGNATURE----- --yveYm5xBrJPD9SKHUYmbNpotJs4xMPWvZ--